List Info

Thread: Marked as 'Passed SPAM' when spamcheck is disabled




Marked as 'Passed SPAM' when spamcheck is disabled
user name
2006-03-30 07:40:40
On Tue, March 28, 2006 21:52, Mark Martinec wrote:
> Tom,
>
>
>> amavisd-new-2.4.0-rc5 marks mails which does not
receive a spamcheck
>> (spamassassin is disabled for that domain) as
"Passed SPAM", which
>> should be "Passed CLEAN"
>
> If spam check is available despite some recipient
having a bypass set
> (e.g. because spam check result was cached or message
was addressed to
> multiple recipients and some of them did not have
bypass turned on), then
> the main contents category would be SPAM.

or UNCHECKED?

Because a user disabled his spamcheck, doesn't mean all his
mail is SPAM
(or shown as so in the logs)

If it's scanned for virus, it should be marked as CLEAN if
spamcheck is off

Regards
-- 
Tom Sommer
http://tomsommer.dk



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking
scripting language
that extends applications into web and mobile media. Attend
the live webcast
and join the prime developer group breaking into this new
coding territory!
http:
//sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$
1720&dat1642
_______________________________________________
AMaViS-user mailing list
AMaViS-userlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user

AMaViS-FAQ:http://www.amav
is.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/ho
wto/
Marked as 'Passed SPAM' when spamcheck is disabled
user name
2006-03-30 09:03:59
Tom,

> >> amavisd-new-2.4.0-rc5 marks mails which does
not receive a spamcheck
> >> (spamassassin is disabled for that domain) as
"Passed SPAM", which
> >> should be "Passed CLEAN"
> > If spam check is available despite some recipient
having a bypass set
> > (e.g. because spam check result was cached or
message was addressed to
> > multiple recipients and some of them did not have
bypass turned on), then
> > the main contents category would be SPAM.

> or UNCHECKED?

No, UNCHECKED is a bit of a hack and is only used if mail
decoding
fatally failed, like when detecting a mail bomb. It is only
associated
with virus checking, it doesn't say anything about spam
checks.

> Because a user disabled his spamcheck, doesn't mean
all his mail is SPAM
> (or shown as so in the logs)

No, disabled spam check is the same as if spam check
returned a low score,
i.e. a message is clean.

> If it's scanned for virus, it should be marked as
CLEAN if spamcheck is off

It generally is: in mail headers and in per-recipient
top-level log entries if 
enabled. But in the usual per-message log entries, the
specifics of 
per-recipient bypass setting can not be well represented, a
message may have 
multiple recipients with different bypass settings, so
instead of trying to 
squash such multiple information into a single line, I
decided to just report 
a general per-message knowledge about mail contents type. It
only affects
logging. If this is a concern, one can use the same log
template that is
normally associated with $log_templ, and assign it to
$log_recip_templ:
(in amavisd.conf):

  $log_recip_templ = $log_templ;
  $log_templ = undef;

This should work correctly in 2.4.0-rc6, and produce one log
line (at log 
level 0) for EACH recipient, reflecting its bypass* settings
properly.

  Mark 


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking
scripting language
that extends applications into web and mobile media. Attend
the live webcast
and join the prime developer group breaking into this new
coding territory!
http://sel.as-us.falkag.net/
sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
AMaViS-user mailing list
AMaViS-userlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user

AMaViS-FAQ:http://www.amav
is.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/ho
wto/
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )