From: Mark M. <Mar...@ij...> - 2006-03-30 09:04:10
|
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 |