|
From: Jamie C. <jca...@we...> - 2006-08-11 16:01:14
|
On 10/Aug/2006 23:58 The Nice Spider wrote .. > > On 10/Aug/2006 23:28 The Nice Spider wrote .. > >> > On 10/Aug/2006 17:35 The Nice Spider wrote .. > >> >> On the Webmin tutorial by Jamie C, page 613 (or > 629 > >> of > >> >> 808): > >> >> > >> > --------------------------------------------------------------- > >> >> 1. Create a new action that feeds mail to the > >> program > >> >> /usr/bin/spamassassin > >> >> (or > >> >> wherever it is located on your system). Make > sure > >> the > >> >> Wait for action > >> >> program to finish, > >> >> and check result and Action program is a filter > >> boxes > >> >> are checked. No > >> >> conditions > >> >> should be entered, unless you want to turn off > spam > >> >> checking for certain > >> >> messages. > >> >> > >> >> 2. Add a second action with the single condition > >> >> Matches regular expression > >> >> ^X-Spam- > >> >> Status: Yes. This special header is set by > >> >> SpamAssassin on messages that > >> >> exceed its > >> >> spam threshold. The delivery mode can be to > append > >> to > >> >> the file /dev/null to > >> >> throw away > >> >> all spam, or to something like $HOME/spam to > place > >> it > >> >> in a different mail > >> >> file for users > >> >> to skim through and delete. > >> >> > >> > --------------------------------------------------------------- > >> >> > >> >> the #2 paragraph missing what action should be > >> taken? > >> >> What "Delivery mode" > >> >> should I choose to complete step #2? Should I > >> create a > >> >> second action as > >> >> described on step #2 or just add the condition > to > >> >> previous action on step > >> >> #1? > >> > > >> > The delivery mode should set to 'Append to file', > >> and you > >> > can > >> > enter either /dev/null or $HOME/mail/spam into > the > >> > adjacent text > >> > box.. > >> > > >> > - Jamie > >> > > >> i just open spamassasin and there is a "Procmail > Spam > >> Delivery" ( The form can be used to change the > >> Procmail > >> configuration that determines what happens to > messages > >> > >> classified as spam.) , I think this step same as > above > >> steps. > > > > Yes .. that page can do all the work for you. > > > >> If so then what must I choose and entry in this > page? > > > > That depends on where you want spam to go! > > > > - Jamie > > > ok. i think i must revised to update your Webmin > Tutorial :) > > now, I set to /$HOME/mail/.imap/spam since I use > Devocot > which is default IMAP/POP for FC5. But the > /$HOME/mail/.imap/spam not created when I access using > Email > Client (which usually automatic created when I am > using > commercial Email Server such as MDaemon and Exchange). Shouldn't that be $HOME/mail/.imap/spam/ > My last questions: > - Do I need to create the ../spam directory manually? > or > this directory will automatic created as soon a spam > coming > to the user mailbox? If you put a / at the end (indicating a maildir folder), it will be created automatically. > - When using Devocot, is not right using > /$HOME/mail/spam > because Devocot uses /$HOME/mail/.imap. So, must be > using > /$HOME/mail/.imap/spam, right? Yes .. if that is how your Dovecot server is set up. > - We can use EICAR test file to test viruses, is there > a way > to test that above anti-spam work correctly? I already > try > to copy-paste some Spam Email from my "MS Exchange > IMAP-Spam > folder" to "Postfix Email Server-IMAP-Inbox" using > Outlook > Express but the spam mail still in the > /$HOME/mail/.imap/INBOX. SpamAssassin does not generally check for viruses, so your EICAR email will get delivered with no blocking. You'd need to install a separate virus blocker (like clamav) to block viruses. - Jamie |