Spamfilter White/Blacklist global settings

Discussion in 'Installation/Configuration' started by electronico_nc, Jul 7, 2016.

  1. Hi all,
    Well due to bad configured incoming mail servers, we need to add Spamfilter Whitelist to avoid SPAM detection for some senders.
    Bad thing is that 'User' can only be a complete domain (@domain1.tld) or a single email address ([email protected]).
    How to setup a Spamfilter Whitelist that will work for the complete server (every hosted domains) ?
    Thanks in advance for your time.
    Nicolas

    EDIT : well I've tried to append to /etc/spamassassin/local.cf
    Code:
    # whitelist because of bad configured mail server, but wanted by end-user
    whitelist_from_rcvd [email protected]      host.tld
    whitelist_from_rcvd [email protected]      [HOST_IP_ADDRESS]
    I'll let you know if that's OK
     
    Last edited: Jul 8, 2016
  2. Jesse Norell

    Jesse Norell Well-Known Member Staff Member Howtoforge Staff

    Agreed that there appears to be no option to do so in the gui, so local.cf is the only server-wide option - it's not clear from your example, but make sure the last column in whitelist_from_rcvd matches the reverse dns name and/or ip address of the remote host sending you mail, not your own hostname. (and your trusted_networks/internal_networks are correct)
     

Share This Page