SA not getting Envelope-From - cannot use SPF

Jerry Benton jerry.benton at mailborder.com
Mon Jun 29 13:05:14 UTC 2015


I assume you are running spamassassin —lint. Run MailScanner —lint. If you want to run spamassassin —lint you need to include the option that points it to spam.assassin.prefs.conf. 

-
Jerry Benton
www.mailborder.com



> On Jun 29, 2015, at 5:28 AM, Simon <greminn at gmail.com> wrote:
> 
> OK i did a bit more digging here, and changed some settings:
> 
> in MailScanner.conf:
> 
> %org-name% = NewMediaNetworks
> Add Envelope From Header = yes
> Envelope From Header = X-%org-name%-MailScanner-From:
> 
> In spam.assassin.prefs.conf:
> 
> envelope_sender_header X-NewMediaNetworks-MailScanner-From
> 
> But for some reason im still not seeing the header in SA:
> 
> dbg: FreeMail: header Reply-To not found from mail
> dbg: spf: cannot get Envelope-From, cannot use SPF
> dbg: spf: def_spf_whitelist_from: could not find useable envelope sender
> dbg: message: envelope_sender_header 'X-NewMediaNetworks-MailScanner-From' not found in message
> 
> Cheers
> 
> 
> On Mon, Jun 29, 2015 at 12:38 PM, Simon <greminn at gmail.com <mailto:greminn at gmail.com>> wrote:
> Hi There (again!), Sorry for barrage of questions :)
> 
> For some reason SA is not doing any SPF checks:
> 
> Jun 29 12:32:55.131 [29496] dbg: diag: [...] module installed: Mail::SPF, version v2.008
> Jun 29 12:32:55.147 [29496] dbg: plugin: loading Mail::SpamAssassin::Plugin::SPF from @INC
> Jun 29 12:32:57.122 [29496] dbg: spf: cannot get Envelope-From, cannot use SPF
> Jun 29 12:32:57.122 [29496] dbg: spf: def_spf_whitelist_from: could not find useable envelope sender
> Jun 29 12:32:57.123 [29496] dbg: spf: spf_whitelist_from: could not find useable envelope sender
> 
> Ive done quite a bit of checking conf but cant seem to figure out whats going on. Is this something todo with postfix not setting Envelope-From correctly?
> 
> "envelope_sender_header X-MailScanner-From" is in the spam.assassin.prefs.conf and "Envelope From Header = X-MailScanner-From:" is set in MailScanner.conf 
> 
> MailScanner Version:4.85.2
> SpamAssassin Version:3.3.1 
> 
> Many thanks
> 
> Simon
> 
> 
> 
> -- 
> MailScanner mailing list
> mailscanner at lists.mailscanner.info
> http://lists.mailscanner.info/listinfo/mailscanner
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mailscanner.info/pipermail/mailscanner/attachments/20150629/3eefda26/attachment.html>


More information about the MailScanner mailing list