No, maildrop doesn't call Amavis. Amvis is called by postfix in
master.cf:
smtp-amavis unix - - n - 2 smtp
-o smtp_data_done_timeout=1200
127.0.0.1:10025 inet n - n - - smtpd
-o content_filter=
I don't have a file runamavis
Peter Jevos [EMAIL PROTECTED]
Oriflame Software , s.r.o - Oriflame IT services
Na Pankraci 30, Praha 4, Czech rep.
Tel. +420 225 994 456, Fax +420225994412
-----Original Message-----
From: Jay Lee [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 06, 2006 5:01 PM
To: Jevos, Peter
Cc: [email protected]
Subject: Re: [SM-USERS] Advice for my Spam filter solution
On Thu, April 6, 2006 10:08 am, Jevos, Peter wrote:
> I have SM with courier-imap ( with quota ), postfix and amavis So I
> set up that every mail considered as spam is tagged with ***SPAM***
> and moved to folder Spam (plugin filters) But some users connects to
> server through IMAP, some fetch an emails to local machine through
> POP3 from my server. What happends with those users ( POP3 ) if Spam
> folder is full ( over quota ) ? Postfix refuse next emails. Those
> users never login into SM and purge the Spam folder. I tried to use
> proon plugin but it requires at least one login. So I need to get rid
> of emails from Spam folders periodicaly Or probably there is another
> elegant and different solution
I am assuming that it is maildrop that is calling Amavis, or possibly
procmail? You should configure the global call to Amavis to only
execute under certain conditions, e.g. if the file $HOME/runamavis
exists. You can also do this for the server side filtering. e.g. if
header ***SPAM*** and file exists $HOME/filterspam then deliver the
message to the Spam folder instead of INBOX. You should then setup a
simple plugin in Squirrelmail that allows users to enable Amavis and
enable spam folder filtering. This would require some source level
hacking but with serversidefilter as a guide it shouldn't be impossible.
Another possibility would be to make runamavis and filterspam columns in
your MySQL mail user database (assuming your using MySQL as a backend of
course). That would be easier to do...
The end result is that users who use Squirrelmail and/or IMAP can turn
on Amavis and spam folder delivery while POP3 users don't need to be
bothered with checking their Spam folder.
Jay
--
Jay Lee
Network / Systems Administrator
Information Technology Dept.
Philadelphia Biblical University
--
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
--
squirrelmail-users mailing list
Posting Guidelines:
http://www.squirrelmail.org/wiki/MailingListPostingGuidelines
List Address: [email protected]
List Archives:
http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id)95
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users