Okay, but instead of whitelisting incoming emails from the external relay to my internal mail server.
In my configuration : EXTERNAL_RELAY <-> FW <-> EFA <-> MAIL SERVER
Is it possible to trust the external relay easily without executing the SpamAssassin rules?
The fact of whitelisting does not please me too much because if the day or our client no longer has the current anti-spam solution, all unwanted emails will go through the EFA.
I made several modifications on two files (
/etc/mail/spamassassin/mailscanner.cf and
/etc/mail/spamassassin/local.cf) to try to approve the external relay but i can't, something must be missing.
in /etc/mail/spamassassin/mailscanner.cf
in /etc/mail/spamassassin/local.cf
Code: Select all
trusted_networks 123.45.6.7
# if you have taken the time to correctly specify your "trusted_networks",
# this is another good way to save CPU
#
shortcircuit ALL_TRUSTED on
I also restarted the Mailsanner and spamassassin services without success.
The shortcircuit plugin is enabled.
Can you help me ? Thanks.
Richard