SA not getting Envelope-From - cannot use SPF

Simon greminn at gmail.com
Mon Jun 29 09:28:59 UTC 2015


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> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mailscanner.info/pipermail/mailscanner/attachments/20150629/66ae700a/attachment.html>


More information about the MailScanner mailing list