Required SpamAssassin Score
Jason Stechschulte
jasons at wcoil.com
Tue May 23 19:41:44 IST 2006
I am trying to allow my users to set their own Required SpamAssassin
Score via a mysql database, but I am having some issues.
I have the following in MailScanner.conf:
Required SpamAssassin Score = &SQLReqSpamScore
In SQLReqSpamScore.pm, it seems I am passed the $message variable only.
If there is only one recipient in $message->{to} this works fine.
However when there are multiple recipients in $message->{to} I don't
seem to always get the setting for the correct user.
Is there a way to know inside of SQLReqSpamScore.pm which user we are
currently delivering the message for? I have looked over the variables
that are set within $message and can't seem to find what I am looking
for.
If this isn't possible, is there another way to accomplish this that
might work better?
--
Jason Stechschulte
Network Administrator
West Central Ohio Internet Link
Lima, OH USA
--
Though I'll admit readability suffers slightly...
-- Larry Wall in <2969 at jato.Jpl.Nasa.Gov>
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
More information about the MailScanner
mailing list