Hi Stephene, You could capture the envelope from/to and inject it into the header like this:
#------------------------- # $@ contains MAIL FROM as well as RCPT TO # Extract MAIL FROM and dump it from the array with shift. SENDER = "<$1>" SHIFT = 1 # Expand the array to extract RCPT TO addresses. :0 RCPT=| echo "$@" # Assign addresses and format with brackets, i.e. <[EMAIL PROTECTED]>. RECIPIENT= `echo $RCPT | /bin/sed 's/^/</; s/ /> </g; s/$/>/'` :0 fhw | (formail -A "X-Custom-MailFrom: $SENDER") \ | (formail -A "X-Custom-RcptTo: $RECIPIENT") #------------------------- Then you could develop custom SA rules. --Larry -----Original Message----- From: [EMAIL PROTECTED] Hello, This FAQ entry : http://spamassassin.taint.org/faq/index.cgi?req=show&file=faq04.011.htp says that all_spam_to will try to find the recipient in any of the following headers: Resent-To # std, rfc822 Resent-Cc # std, rfc822 To Apparently-To # sendmail, from envelope Delivered-To # Postfix, I think Envelope-Recipients # qmail: new-inject(1) Apparently-Resent-To # procmailrc manpage X-Envelope-To # procmailrc manpage Cc However my postfix installation (v2.0.12) with the "O" flag in the content_filter, makes the original recipient appear in the X-Original-To: field (mor einfo can be found by "man pipe" if postfix is installed). Is there any way to add support for this field in my own SpamAssassin installation ? What about making this addition to the official SpamAssassin ? Regards, Stephane ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0 _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk