Home Forums OS X Server and Client Discussion Mail Getting people off my SPAM list

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #367787
    nez_bit
    Participant

    I am running Spam assassin under 10.4.8 server and all is running well. Unfortunately, one of our suppliers keeps sending mails with atachments and no oher text. As such, he’s been picked up by SA and blocked. I can go into the SPAM mail box and fish his mails out, but i wanted to get him or his domain put onto some sort of o.k. list.
    I’ve tried to learn all of his emails into the notjunkmail system, but he still gets blocked.

    Any ideas how I can permanently make him an o.k. domain or mail sender?

    #367876
    nez_bit
    Participant

    Any chance that someone can explain this a little further for me?

    #367879
    EA
    Participant

    In /etc/amavisd.conf, Section V covers white/blacklisting of sending email addresses. It can be done with a list of email addresses in the file as an ACL (an example being given in the commented line that begins: #@whitelist_sender_acl =), a regular expression or series of regular expressions, or a reference to an external file (see the example line beginning #read_hash(\%whitelist_sender) which is then converted to a hash for address testing.

    Starting out, just creating an ACL list in the body of the amavisd.conf file should be enough. All you have to do is change:

    [code]# @whitelist_sender_acl = qw( .example.com );
    [/code]
    to (use the sender’s real domain name rather than sendersdomain.com)

    [code] @whitelist_sender_acl = qw(sendersdomain.com);
    [/code]
    And restart at least amavisd, although it is probably easier to do a:

    [code]serveradmin stop mail && serveradmin start mail
    [/code]
    This should exempt any email from the sendersdomain.com domain from the SPAM checks.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.

Comments are closed