Подскажите как spamassassin прикрутить к qmail'у, сам по себе он работает т.е. к заголовку письма в тесте добавляет свою проверку к примеру:spamassassin -t < sample.txt > /home/user/sample.txt
X-Spam-Flag: YES
X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.host.ru
X-Spam-Level: *********
X-Spam-Status: Yes, score=10.0 required=5.0 tests=DNS_FROM_RFC_POST,
HEAD_ILLEGAL_CHARS,HTML_50_60,HTML_FONT_BIG,HTML_MESSAGE,
HTML_TAG_EXIST_TBODY,HTML_TITLE_EMPTY,MIME_HTML_ONLY,RAZOR2_CHECK,
RCVD_IN_BL_SPAMCOP_NET,SUBJ_ILLEGAL_CHARS autolearn=no version=3.0.4
MIME-Version: 1.0А вот как заставить qmail проверять письма (хотя бы просто проверять)
Система FreeBSD 6.0, qmail+vpopmail+p5-Mail-SpamAssassin, всё собрано из портов.
>Подскажите как spamassassin прикрутить к qmail'у, сам по себе он работает
>т.е. к заголовку письма в тесте добавляет свою проверку к примеру:
>
>
>spamassassin -t < sample.txt > /home/user/sample.txt
>
>X-Spam-Flag: YES
>X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.host.ru
>X-Spam-Level: *********
>X-Spam-Status: Yes, score=10.0 required=5.0 tests=DNS_FROM_RFC_POST,
> HEAD_ILLEGAL_CHARS,HTML_50_60,HTML_FONT_BIG,HTML_MESSAGE,
> HTML_TAG_EXIST_TBODY,HTML_TITLE_EMPTY,MIME_HTML_ONLY,RAZOR2_CHECK,
> RCVD_IN_BL_SPAMCOP_NET,SUBJ_ILLEGAL_CHARS autolearn=no version=3.0.4
>MIME-Version: 1.0
>
>А вот как заставить qmail проверять письма (хотя бы просто проверять)
>
>Система FreeBSD 6.0, qmail+vpopmail+p5-Mail-SpamAssassin, всё собрано из портов.I suggest the folowing variant:
1. Install p5-Mail-Spamassassin from ports collection(I think - this is already in fact);
2. Start spamd ( from ./rc.d/sa-spamd);
3. Install qmail-scanner from port collecton;
4. Edit qmail-scanner-queue.pl afrer installation;
5. In /usr/local/etc/mail/spamassasin edit conf files.For normal operation qmail needs applaing qmailqueue path during installation.
and in tcp files need some like following
QMAILQUEUE="path_to_qmail_scannet/qmail-scanner-queue.pl"Through qmail-scanner-queue.pl you can start AntiVirus scan(uvscan, clamav), too.
It is possible some troubles with permssions and suid.Another decision is to make installation vpopmail with Spamassassin support. Now I am not use this, but I think, that this has nice sides, too.
>>Подскажите как spamassassin прикрутить к qmail'у, сам по себе он работает
>>т.е. к заголовку письма в тесте добавляет свою проверку к примеру:
>>
>>
>>spamassassin -t < sample.txt > /home/user/sample.txt
>>
>>X-Spam-Flag: YES
>>X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.host.ru
>>X-Spam-Level: *********
>>X-Spam-Status: Yes, score=10.0 required=5.0 tests=DNS_FROM_RFC_POST,
>> HEAD_ILLEGAL_CHARS,HTML_50_60,HTML_FONT_BIG,HTML_MESSAGE,
>> HTML_TAG_EXIST_TBODY,HTML_TITLE_EMPTY,MIME_HTML_ONLY,RAZOR2_CHECK,
>> RCVD_IN_BL_SPAMCOP_NET,SUBJ_ILLEGAL_CHARS autolearn=no version=3.0.4
>>MIME-Version: 1.0
>>
>>А вот как заставить qmail проверять письма (хотя бы просто проверять)
>>
>>Система FreeBSD 6.0, qmail+vpopmail+p5-Mail-SpamAssassin, всё собрано из портов.
>
>I suggest the folowing variant:
>1. Install p5-Mail-Spamassassin from ports collection(I think - this is already in
>fact);
>2. Start spamd ( from ./rc.d/sa-spamd);
>3. Install qmail-scanner from port collecton;
>4. Edit qmail-scanner-queue.pl afrer installation;
>5. In /usr/local/etc/mail/spamassasin edit conf files.
>
>For normal operation qmail needs applaing qmailqueue path during installation.
>and in tcp files need some like following
>QMAILQUEUE="path_to_qmail_scannet/qmail-scanner-queue.pl"
>
>Through qmail-scanner-queue.pl you can start AntiVirus scan(uvscan, clamav), too.
>It is possible some troubles with permssions and suid.
>
>Another decision is to make installation vpopmail with Spamassassin support. Now I
>am not use this, but I think, that this has nice
>sides, too.
Thank you very much!