Setting up your Email Client for Outbound Filtering
Once you're ready, you can set this up using these steps:
- Create a Password file. You might run this:
touch /etc/postfix/sasl_passwd - Edit this file, and enter the following information, but replace user with your SpamFilter login user email, or your quarantine user email, and replace password with your login passsword:
[smtp.mxthunder.net]:587 user:password - Hash this file for Postfix:
postmap /etc/postfix/sasl_passwd - Edit your Postfix main.cf file. This may be located at /etc/postfix/main.cf, and add the following lines:
relayhost = [smtp.mxthunder.net]:587
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options = noanonymous
smtp_use_tls = yes - Reload Postfix:
postfix reload
If you see warnings such as "warning: SASL authentication failure: No worthy mechs found," or "SASL authentication failed; cannot authenticate to server ... no mechanism available," then you may need to install additional packages.
For CentOS, you may need to install `cyprus-sasl` and `cyprus-sasl-plain` (you may also need `cyrus-sasl-lib`, but our test on CentOS 7 didn't seem to require that package). On other systems, you may need `libsasl2-modules`.
SPF Record
Adding our SPF "include" record to your domain's DNS may help with delivery.