You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by jm...@jmason.org on 2004/10/19 22:38:14 UTC
patch to spamd 3.0.0 (fwd)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
passing on by request -- a patch to add more info to the syslog,
I think.
- --j.
- ------- Forwarded Message
> Date: Mon, 18 Oct 2004 18:42:14 +0700
> From: =?KOI8-R?Q?"�������_����������?= ?KOI8-R?Q?�"?= <dm...@nsk.eldorado.ru>
> To: "'jm@apache.org'" <jm...@apache.org>
> Subject: patch to spamd 3.0.0
>
> Hello !
>
> I'm confused to post something to http://bugzilla.spamassassin.org/
> and don't want to subscribe mailinglists.
>
> so could you please post this patch anythere you want ?
> it's goal - send more info to log:
>
> 1072a1073,1074
> my $xfrom;
> my $xto;
> 1074a1077,1084
> if (/^From:\s+(.*?)\s*$/i) {
> $xfrom = $_;
> chomp $xfrom;
> };
> if (/^To:\s+(.*?)\s*$/i) {
> $xto = $_;
> chomp $xto;
> };
> 1100a1111,1112
> $xfrom ||= "(n/a)";
> $xto ||= "(n/a)";
> 1104c1116
> < . " message $msgid"
> ---
> . " message $xfrom $xto id $msgid"
> 1133a1146,1147
>
> $was_it_spam = $was_it_spam . " " . $xfrom . " " . $xto . " id " .
> $msgid;
>
> === | /"\ ASCII RIBBON CAMPAIGN
> WBR, Dmitry A.Provodnikov | \ / AGAINST HTML (RTF)
> FIDO: 2:5000/97.31 | X MAIL AND NEWS
> Team [TBH-TNG] | / \
>
> ------- End of Forwarded Message
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Exmh CVS
iD8DBQFBdXs2MJF5cimLx9ARAujWAJ0VfHloUm/XtIXH5G5IY/clu1DKwwCgsIhq
+sQQFO2+SGktdW8Eq6wpfiU=
=WRIu
-----END PGP SIGNATURE-----