Ramprasad <ram <at> netcore.co.in> writes:
 
> 
> spamassassin -D < file 2>&1 | grep -i spf 
> 
> check the output
> 
> which MTA do you use ? Your MTA must insert an X-Envelope-From: header
> ( or similar )
> 
> Thanks
> Ram
> 
> 

Hi.

I'm using sendmail so I see that I have to modify sendmail.cf by adding
"H?l?X-Envelope-From: $f".  By the way, how can I add
that bit via sendmail.mc instead of modifying sendmail.cf directly?

Anyway, this is what I get with the sample non-sample:

[EMAIL PROTECTED] Mail-SpamAssassin-3.1.7]# spamassassin -D < 
sample-nonspam.txt 2>&1 |
grep -i spf
[25342] dbg: config: read file /usr/share/spamassassin/25_spf.cf
[25342] dbg: config: read file /usr/share/spamassassin/60_whitelist_spf.cf

Even with a piece of mail that I had saved from a domain that has a confirmed
SPF record (and a X-Envelope-From: header), I get
the same output as above.

Thanks.

--Henry

P.S.  Sorry if this is a dupe.  Wasn't sure if this got sent as Pine complained
about my mailbox when I tried to send it earlier.

Reply via email to