This took me a few days to get up and running, however there were really a few errors that took time to track down, so I figured I'd post my resolutions here...maybe it saves someone else the time! My overall opinion is that your instructions were easy to follow, yet it would have been easier if you left file contents in order as generally 90% were already there and 10% needed to be added. Also it would be helpful if "domain" and "user" had more specific examples and if you differentiated between domain (e.g.
example.com) and fully qualified hostname (e.g.
postfix/lmtp: …status=deferred (connect to /var/imap/socket/lmtp[/var/imap/socket/lmtp]: Permission denied
/var/imap permissions are
cyrus:mail 750 (not cyrus:cyrus)
Couldn’t connect to mailbox after being created.
setaclmailbox user.jdoe jdoe all
postfix/trivial-rewrite: warning: do not list domain example.com in BOTH mydestination and virtual_mailbox_domains
mydestination = (leave blank)
Postfix/smtpd: warning: unknown smtpd restriction: “reject_unkown_sender_domain”
remove, appears to be a
- Define all e-mail addresses, user ids, etc in lowercase
- NTLM required in SASL2 for Outlook support
- Defining SASL users seemed to require the full hostname
firstname.lastname@example.org did not work.
- Defining Postfix virtual users:
- Testing IMAP:
/usr/local/bin/imtest -m login -a jdoe
Next up, securing the whole thing with OpenSSL and adding the spam filter.