(Sorry Patrick - I think you'll get this twice) > How are you passing mail to SpamAssassin? > I'm using Exim 3.36 as a relay in our DMZ, so I configured Exim with the following transport and router;
TRANSPORT: spamcheck: driver = pipe command = spamc | exim -oMr spam-scanned -f '<$sender_address>' \$LOCAL_PART path = /usr/bin:/usr/sbin use_shell = true bsmtp = all home_directory = "/tmp" current_directory = "/tmp" user = xxxxxxxx group = xxxxxxxx return_path_add = false log_output = true return_fail_output = true prefix = suffix = ROUTER: spamcheck: driver = lookuphost transport = spamcheck condition = "${if and {{!def:h_X-Spam-Flag:} {!eq{$received_protocol}{spam-scanned}} / {!eq{$received_protocol}{local}} {!eq{$sender_host_address}{xxx.xxx.xxx.xxx}} } {1}{0}}" I don't suppose this is the most elegant solution, but I thought it worked. -- regards, Patrick ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk