Update -- master.conf+main.conf now spammail will not deliver to right mailfolder

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Update -- master.conf+main.conf now spammail will not deliver to right mailfolder

Maurizio Caloro-2

Hello

after modified the hole mail.cf and master.cf postfix 3.4.14 the flush from Mail runs better,¬† that how fell and see mail.log 😊

one thing, bevor all Spam Email wass delivered to Spam @ domain.ch mailbox, but now, this rule don‚Äôt have the right effect ‚ėĻ

 

Thanks for possible update

 

Spamassassin - local.cf

#   Add *****SPAM***** to the Subject header of spam e-mails

rewrite_header Subject *****SPAM*****

 

all_spam_to [hidden email]

 

--

 

cat /etc/postfix/main.cf | grep header_checks

smtp_header_checks = regexp:/etc/postfix/header_checks

 

--

 

root@nmail:/etc/postfix# cat header_checks

/^X-Spam-Status: Yes/ REDIRECT [hidden email]

/^Received:/    IGNORE

/^subject: *$/   REJECT  Please add subject to your mail.

/^X-Originating-IP:/    IGNORE

/^X-Mailer:/    IGNORE

/^Received: from .*127.0.0.1*/ IGNORE

 

--

 

master.cf

smtp      inet  n       -       -       -       1       postscreen

        -o content_filter=/usr/local/bin/spamassassin

policyd-spf  unix  -       n       n       -       -       spawn

    user=policyd-spf argv=/usr/bin/policyd-spf

smtpd     pass  -       -       -       -       -       smtpd

dnsblog   unix  -       -       -       -       0       dnsblog

tlsproxy  unix  -       -       -       -       0       tlsproxy

submission inet n       -       n       -       -       smtpd