Hi,
our server uses vdelivermail to get the vhosts metadata from the
database (i guess this is default in qmail-toaster) I don't think this
can / should be replaced by maildrop. Is there a solution to the 'spam
in a subfolder' problem that fits with the vpopmail setup?
Regards,
Marius
P.V.Anthony schreef:
Marius Karthaus wrote:
How do I get qmail-toaster to *magicaly* deliver mail that is marked
as spam by spamassasin to a sub-imap-folder (eg. 'spam') for people
that use imap?
I use maildrop for that. Maildrop is included in Qmailtoaster.
I use dspam but I think the concept is the same.
This is my .mailfilter file.
------------------ start -----------------------
SHELL="/bin/bash"
import EXT
import HOST
#xfilter "/usr/local/bin/dspam --deliver=innocent,spam --user
[EMAIL PROTECTED] --stdout"
# If it's spam, we'll move it to the spam folder.
if (/^X-DSPAM-Result: Spam.*$/)
{
to "./Maildir/.SPAM/"
}
to "./Maildir/"
---------------- end ---------------------------
This is my .qmail-default and .qmail file.
------------------ start -------------------
| /usr/bin/maildrop .mailfilter
------------------ end --------------------
That should do it.
Oh yes please create the spam folder. If you look into the maildrop
docs, I think there is a better script that will check to see if there
is a spam folder, if not it will create one.
P.V.Anthony
---------------------------------------------------------------------
QmailToaster hosted by: VR Hosted <http://www.vr.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
QmailToaster hosted by: VR Hosted <http://www.vr.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]