Re: lug-bg: qmail+qmail-scanner problem
- Subject: Re: lug-bg: qmail+qmail-scanner problem
- From: Viktor Vasilev <viktor@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 17 Sep 2004 17:14:33 +0200
- Mail-followup-to: lug-bg@xxxxxxxxxxxxxxxxxx
On Fri, Sep 17, 2004 at 05:32:53PM +0300, Danail Petrow wrote:
> Nick Kirchev wrote:
>
> >отвори си qmail-scanner-queue.pl
> >
> >и там може да видиш тези неща, и да си ги
> >донастроиш , без да се налага да го
> >генерираш всеки път.
> >
> >
> ># st: Spam messages with a score higher than
> ># (required_hits + sa_delete) should be deleted (or rejected).
> ># Only relevant if SpamAssassin is used. Score of 0
> ># means deliver all messages. Defaults to 0.
> ># If sa-quarantine is set, sa-delete must be greater.
> >my $sa_delete='1';
> >
> >
> >
> ># st: If you enable sa-reject and sa-delete is properly set,
> ># messages with a score higher than (required_hits + sa_delete)
> ># will be rejected before the smtp session is closed.
> ># Otherwise they are just dropped silently. (1/0)
> >my $sa_reject='1';
> >
> >
> >
> >
> и двете опций са така... НО НЕ трие
> съобщението ...
> пристига си нормално , с X-spam-Flag: Yes
> X-sPam-level: *******
> X-Spam-Status: Yes score=9.3 , required 3.0 ........
>
> drugi idei ?
Какво пише за това съобщение във /var/spool/qmailscan/qmail-queue.log?
При мен като изтрие някое, изглежда така:
Fri, 17 Sep 2004 17:03:19 CEST:40352: SA: yup, this smells like SPAM - deleting message...
Fri, 17 Sep 2004 17:03:19 CEST:40352: SA: required_hits 5.0 / sa_quarantine +0 / sa_delete +2
Fri, 17 Sep 2004 17:03:19 CEST:40352: SA: finished scan in 5.174013 secs - hits=16.7
При теб като проработи би трябвало да изглежда така:
SA: yup, this smells like SPAM - hits=9.3 - rejecting message...
Сметките във qmail-scanner-queue.pl са доста прости...
if ( $sa_delete && (($sa_delete+$required_hits)<$sa_score)) {
if ( $sa_reject) {
&debug("SA: yup, this smells like SPAM - hits=$sa_score - rejecting message...");
...
}
...
}
Поздрави,
Виктор
--
Linux is for those who hate Windows.
FreeBSD is for those who love UNIX.
============================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
============================================================================
|