I moved the grab_envelope_hdrs call right before deconstruct_msg and that
allows me to use the $recips variable in the Spamassassin check.  I haven't
had time to go through the code to see if there's a better way to do this,
so haven't created a patch yet.  It seems to be working for me, but no
promises...

Karyl

----- Original Message -----
From: "Jeff Palmer" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, June 15, 2002 4:19 PM
Subject: [Qmail-scanner-general]Spamc_options suggestion


> Hello,
>
> By default,   spamc_options is set to -c -f.
> I would like to change this to -c -f -u [EMAIL PROTECTED] so that I
> may allow people to change individual preferences using mysql.
> I notice that the script already fills in $recips with the email address.
>
> I've tried changing the line:
> my $spamc_options=' -c -f';
> to every logical syntax I can think of, to enable the functionality I
want.
> However,  it seems that $recips is empty, when the spamassassin routine is
> called. (I've added several debug lines in there,  and other variables are
> present,  however $recips is "" at that point.)
>
> Has anyone got any ideas they can toss my way,   or has anyone already
> enabled such functionality?
>
> Thanks in advance,
>
> Jeff Palmer
> [EMAIL PROTECTED]
>
>
> _______________________________________________________________
>
> Don't miss the 2002 Sprint PCS Application Developer's Conference
> August 25-28 in Las Vegas -
http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink
>
> _______________________________________________
> Qmail-scanner-general mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general
>


_______________________________________________________________

Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
_______________________________________________
Qmail-scanner-general mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general

Reply via email to