apt-get install libsasl2-modules postfix bsd-mailx
Internet site and FQDN
relayhost = [smtp.gmail.com]:587
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options = noanonymous
smtp_tls_CAfile = /etc/postfix/cacert.pem
smtp_use_tls = yes
systemctl restart postfix
Forward all email from a linux host to an SMTP server.
transport_maps = hash:/etc/postfix/transport
Email services at kulish.com have been terminated.
Please use your ISP’s provided email or another provider such as gmail or yahoo.
Our email server directories will be cleaned out February 28th.
What this means…
All ham and spam folders will be completely wiped cleaned.
If you have email in either folder on your account, move it to your inbox or create a new folder to store it.
First, for the un-initiated, click here to learn about email greylisting.
When email admins talk about greylisting, one of the benefits they normally point to is load on the actual email server but fail to mention supporting systems. I did notice a decrease in mail processing load there as well as my database server.
Keep in mind this is NOT a busy email server. It’s only hosting a couple TLDs.
I noticed an immediate improvement after restarting mail services (I did not reboot the server).
Email processing by amavisd was greatly reduced since the SMTP server rejected all new connections initially.
The “orange” is spam detected by amavis:
Below is the MariaDB database server.
Notice the drop in “pink” (ignore the spikes, those are backups) since the email server is rejecting before it has to query the database:
All things considered, SPAM and processing load has been greatly reduced.