Mailing List Archive

Spamassassin dont send Mail to Spam domain
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 spam@domain.ch <mailto:spam@domain.ch>



--



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 spam@domain.ch <mailto:spam@domain.ch>

/^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