Here is my last attempt at getting this overly complicated Postfix/Spamassassin install working.

 

I am configuring 1 PC with one physical Ethernet adapter and 2 IP addresses as an email proxy server.  The server accepts mail on the interface 1, runs it through SA, then forwards it to interface 2.  Interface 2 accepts the mail, runs it through SA, then forwards the message to our mail server.  The reason for running the message through SA twice is the first instance deletes the message with extremely high scores and the second instance just flags the message.  Using the debugging commands I can the message get filtered through each instance of spamd.  The message headers show the email going through each instance of postfix. The problem is, only the first instance of SA will alter the message.  In the second instance of SA I can not rewrite_header Subject ***SPAM*** , I can not add_header all Score _SCORE_, I can not add_header spam, I can not do anything.  Using the same local.cf file and having the second instance of Postfix and SA on different physical machine works fine.  Any ideas or suggestions?  Perhaps this is a bug/feature of SA to discourage this type of set up?

 

Tom Hancock

 

Reply via email to