2019-09-20 - hschneider, Admin
Cookie Disclaimer: This forum uses only essential, anonymous session cookies (xmailforum*), nothing to be scared of.
![]() |
| XMail Forum · Newbies read here ! All about SMTP,MX-Records,DNS etc. |
Help
Search
Members
Calendar
|
| Welcome Guest ( Log In | Register ) | Resend Validation Email |
| Sob |
Posted: Jan 1 2009, 05:09 PM
|
||||||||||||||||
|
Member ![]() ![]() ![]() Group: Members Posts: 53 Member No.: 2881 Joined: 19-April 08 |
The following is "works fine for me" solution. It delivers all messages, the spam is only tagged. In theory it could be modified to start from filters.post-data.tab, instead of filters.in.tab and then it should be possible to reject spam messages before accepting them. But I don't really like this approach, because in case of false positive, the message would be lost. Simple howto: 1) Install and configure DSPAM You need to compile it with --enable-virtual-users and --enable-daemon (possibly optional). In dspam.conf set:
If you're running non-root XMail, don't forget to add:
Run DSPAM as daemon:
Test that it works:
It should output processed content of somemessage.txt 2) Install it into XMail Create $MAIL_ROOT/filters/dspam with following content:
Add this line to filters.in.tab:
It activates DSPAM processing for all users. See XMail manual if you need it only for selected ones. 3) It should work! dspam-filter.c:
Compile with:
|
||||||||||||||||