Postfix

Mail Server using LDAP backend w/ Postfix and Dovecot

We will set up Postfix and Dovecot using an OpenLDAP backend with a custom LDAP schema. Our schema uses a dedicated organization unit called mail which acts as a container for all of our hosted domains and users. The virtual mail users will use their primary e-mail address to login to the server and each […]

Cleanup mail headers using Postfix

Many mail systems add custom headers to outgoing mails to indicate scans, general processing or spam decisions. While this bloats up messages in general, it may also conflict with headers the local MTA wants to use. We will therefore clean up some usual suspects before our MTA will filter the incomming mails. External headers A […]

Postfix restriction classes

We will set up a restriction class which will limit our policy service to a subset of users. Not only will this avoid unnecessary queries on aliased mailboxes, it will also allow us to override the result using DUNNO in case the IMAP backend is unable to serve the query. # We will only query […]