SPAM:whitelisting for spamassasing local hosted domains

Discussion in 'Feature Requests' started by lyndros, Jun 29, 2007.

  1. lyndros

    lyndros New Member

    i've notice that spamassasin rules lot's of times detects local hosted domains mails as spam and the customers start to cry...

    is it possible to add this new feature? only one line needed in local.cf:

    in /home/admispconfig/ispconfig/tools/spamassassin/etc/mail/spamassassin/local.cf

    just adding the line:

    whitelist_from *@domain1.com *@domain2.net ...

    hope that helps

    thk u all, keep up the good work guys :)
     
  2. AlArenal

    AlArenal New Member

    To SA every mail is just a mail. It does not know about what domain / mailbox is local.

    Add the following line to your /etc/postfix/main.cf and restart Postfix.
    Code:
    smtpd_sasl_authenticated_header = yes
    After that Postfix will add a header to every mail an authenticated user sent through SMTP. Current versions of SA will automatically check for this header and apply the ALL_TRUSTED rule (adding a negative score to the mail). You may wish to additionally alter the score in your SA's local.cf like

    Code:
    score ALL_TRUSTED -10.0
     
  3. lyndros

    lyndros New Member

    this didnĀ“t work for me local mail still marked as spam... only whitelisting....
     

Share This Page