Spamfilter


All incoming mail to the student web mails (s......@student.dtu.dk) are filtered by two mail scanners: qmail-scanner and SpamAssasin.

Please check out Databar Support's mail system page.

The short story:

Using qmail and condredirect

If you prefer to use qmail (if you for instance already have complex mail delivery setup and do not want to port it to maildrop), this is how to do it:

maildirmake ~/Maildir/.spam
ln -s ../Maildir/.spam ~/mail/spam
|condredirect USER-spam perl -e 'while (<>) {if($_ =~ m,^X-Spam-Status: Yes,) 
{exit(0)}; if($_ =~ m,^$,) {exit(99)}} exit(99)'

Please note that these two lines are actually just one. This applies to the other condredict lines as well.

If you need help on qmail-files, please see our short intro Internet#Can_I_have_my_e-mail_forwarded_to_another_address_automatically or Databar Support's description of .qmail.

&my.home@mail.address.dk
./Maildir/

to:

|condredirect s000000-spam perl -e 'while (<>) {if($_ =~ m,^X-Spam-Status: 
Yes,) {exit(0)}; if($_ =~ m,^$,) {exit(99)}} exit(99)'
&my.home@mail.address.dk
./Maildir/

If you do not have a .qmail file, create a new and type the following:

|condredirect s000000-spam perl -e 'while (<>) {if($_ =~ m,^X-Spam-Status: 
Yes,) {exit(0)}; if($_ =~ m,^$,) {exit(99)}} exit(99)'
./Maildir/
./Maildir/.spam/
chmod 600 .qmail*

In order to see what's been caught in the spam filter, open up Pine and check out the mail folder spam. Alternatively you can use Thunderbird or the webmail at CampusNet. If you use the webmail, you have to activate the spam-folder in the webmail interface.