spamassassin-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Freegard <...@fsl.com>
Subject Re: spamassassin detailed logging
Date Fri, 19 Jun 2015 16:03:19 GMT
On 19/06/15 16:57, Steve Freegard wrote:

> spamd will already log the envfrom= line provided it has this
> information passed through from whatever calls it.  I send it over via a
> X-Envelope-From: (see 'envelope_sender_header' in man
> Mail::SpamAssassin::Conf).
>

Actually - I'm talking rubbish; I just realised I added it elsewhere 
with this:

     # Add envelope sender
     my $envfrom = $pms->get('EnvelopeFrom');
     if(defined($envfrom) && $envfrom) {
         $pms->set_spamd_result_item( sub { return "envfrom=$envfrom"; } );
     }

Kind regards,
Steve.



Mime
View raw message