Re: adding spam score info into the header ?

Salvatore Toribio <[email protected]>
Newsgroups gmane.mail.qmail.scanner
Message-ID <a06240800c24634cd1d54@[10.0.1.2]>
At 8:56 +0200 14-04-2007, Noc Phibee wrote:
>Hi
>
>actually, i use Qmail-Scanner 2.01 with st patch.
>
>This is my compil config:
>
>  ./configure --qs-user qscand --admin postmaster --domain
>mx-1.mydomain.org --admin-description "System Anti-Virus Administrator"
>--notify sender,admin,recips --local-domains mx-1.mydomain.org
>--silent-viruses auto --virus-to-delete 0 --skip-text-msgs 1 --lang
>fr_FR --debug 0 --minidebug 1 --add-dscr-hdrs 1 --dscr-hdrs-text
>"X-AntiVirusAntiSpam-Scanner" --normalize yes --archive 0
>--settings-per-domain 1 --max-scan-size 100000000 --unzip 1
>--max-zip-size 1000000000 --max-unpacked-files 10000 --redundant 1
>--log-details yes --log-crypto 0 --fix-mime 1 --ignore-eol-check 1
>--sa-delta 0 --sa-alt 1 --sa-debug 0 --sa-report 1 --sa-quarantine 0
>--sa-delete 6 --sa-reject 0 --scanners "fast_spamassassin" --install 1
>
>With fast_spamassassin, it's fast but now my user want know why it's
>taggued spams.
>Can i add a score by rule into the header of the emails ? but only for
>one domaine, not for all
>

Yes, you can do it with settings_per_domain just with this settings:

--sa-alt 1 --sa-debug 1 --sa-report 0

And then in the settings_per_domain.txt file:

domain.com:''''''''1

Rebluild the database: qmail-scanner-queue-smtp2.pl -p

So this domain will pick the defaults settings (at the instant you 
rebuild the database) and will enable the sa_hdr_report feature. In 
order to have the report you need to enable sa_alt and sa_debug...

See for details:
http://toribio.apollinare.org/qmail-scanner/settings_per_domain.html
http://toribio.apollinare.org/qmail-scanner/README-st-patch.html#n.4.f.2

Regards

ST

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.