I’ve also had to add some directives to prevent the mail server being flooded with spam. Directives which check that the server comes from a FQDN as well as checking that the IP Address isn’t on any blacklists. i.e.
# Wait until the RCPT TO command before evaluating restrictions
smtpd_delay_reject = yes
# Basics Restrictions
smtpd_helo_required = yes
strict_rfc821_envelopes = yes
# Requirements for the connecting server
# Requirements for the HELO statement
# Requirements for the sender address
# Requirement for the recipient address
There’s still a lot of work to go with setting up this email server, I haven’t even got to setting up Dovecot and SASL. Then I want to set up Amavis and combine it with ClamAV and SpamAssassin(with Baysian filtering and feedback). I also need to setup DKIM, both for signing mail coming from the server and for checking incoming DKIM messages and ofcourse as always there’s a need for a decent web front end, to enable you to check your mail. I’ve been hearing good things about Google Apps, but I don’t know anyone that’s set it up on their own servers. I wonder whether that’s even possible or whether you have to use google’s mail servers?
So many technologies, so little time… and this is only setting up the email 🙂