Jordi wrote: > Hi,
> My amavisd-new+spamasssassin runs well. At present, when SPAM mail is > detected by SA, it is sended to my $MYHOME/$QUARANTINEDIR > (/var/amavis/quarantine in my system). Currenly I use Postix with > virtuals domains/users (with MySQL backend) and Dovecot as POP/IMAP server. > The mailboxes dir (using maildir format) looks like: > [EMAIL PROTECTED] /]# ls -l /var/vmail/ > total 56 > drwx------ 5 vmail vmail 4096 29 jul 14:14 [EMAIL PROTECTED] > drwx------ 9 vmail vmail 4096 29 jul 17:43 [EMAIL PROTECTED] > drwx------ 9 vmail vmail 4096 29 jul 15:06 [EMAIL PROTECTED] > drwx------ 5 vmail vmail 4096 28 jul 15:56 [EMAIL PROTECTED] > drwx------ 9 vmail vmail 4096 29 jul 16:46 [EMAIL PROTECTED] > drwx------ 6 vmail vmail 4096 25 jul 10:25 [EMAIL PROTECTED] > drwx------ 11 vmail vmail 4096 29 jul 16:59 [EMAIL PROTECTED] > drwx------ 5 vmail vmail 4096 24 jul 12:43 [EMAIL PROTECTED] > drwx------ 5 vmail vmail 4096 29 jul 10:03 [EMAIL PROTECTED] > drwx------ 5 vmail vmail 4096 28 jul 17:08 [EMAIL PROTECTED] > drwx------ 5 vmail vmail 4096 24 jul 16:03 [EMAIL PROTECTED] > drwx------ 4 vmail vmail 4096 25 jul 10:06 opengea.org > drwx------ 5 vmail vmail 4096 29 jul 16:29 [EMAIL PROTECTED] > drwx------ 6 vmail vmail 4096 25 jul 10:19 [EMAIL PROTECTED] > And, in inside every mailbox, the structure is: > [EMAIL PROTECTED] /]# ls -l /var/vmail/[EMAIL PROTECTED]/ Use ls -al to see hidden directories. > total 84 > drwx------ 2 vmail vmail 4096 29 jul 17:43 cur > -rw------- 1 vmail vmail 512 29 jul 17:43 dovecot.index > -rw------- 1 vmail vmail 45056 29 jul 17:43 dovecot.index.cache > -rw------- 1 vmail vmail 8932 29 jul 17:43 dovecot.index.log > -rw------- 1 vmail vmail 23 28 jul 20:28 dovecot-keywords > -rw------- 1 vmail vmail 532 29 jul 17:43 dovecot-uidlist > drwx------ 2 vmail vmail 4096 29 jul 17:43 new > -rw------- 1 vmail vmail 29 29 jul 00:53 subscriptions > drwx------ 2 vmail vmail 4096 29 jul 17:17 tmp > My last goal is when a SPAM mail is detected, it goes to /SPAM dir in > the user's mailbox (in false positive prevision). I don't know if I > should modify Dovecot, Amavisd-new or SA behaviour/config files. Maybe I > should modify all of these to get my goal... > Thanks in advance. I have never used dovecot so I'm not sure how well maildrop works along with it, but read this for one possible idea: http://www200.pair.com/mecham/spam/maildroprc.txt Possibly you could modify it for your Maildir structure, changing $HOST/$USER to $RECIPIENT and courierimapsubscribed to subscriptions, etc. The hard part is testing this sort of thing on a production server. It's almost certain there will be an unforeseen issue or two until you get it dialed in (if it works at all in your environment). Gary V ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ AMaViS-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/
