atom feed2 messages in net.sourceforge.lists.courier-maildropRe: [maildropl] maildrop filter problem
FromSent OnAttachments
albertMay 31, 2006 10:54 am 
moussJun 4, 2006 7:00 am 
Subject:Re: [maildropl] maildrop filter problem
From:mouss (mou@netoyen.net)
Date:Jun 4, 2006 7:00:33 am
List:net.sourceforge.lists.courier-maildrop

albert wrote:

Hi

I have installed postfix/mysql and maildrop and I have used spamassassin of the mailfilters.

1) options

When I changed in the virtual transport to maildrop and send mail to te@mydomain.com without spam the messages is a delivered to user test. --- cut --- May 31 12:41:36 cerber postfix/qmgr[19475]: F11D85CDB: removed [2May 31 12:41:47 cerber postfix/pipe[19493]: A54DD5EF7: to=<te@cablenet.one.pl>, relay=maildrop, delay=12, status=sent (cablenet.one.pl) -- cut --- 2) options

when I send e-mail with gtube spam in my log I have this error:

May 31 12:51:16 cerber postfix/pipe[19614]: CAD705CDB: to=<te@cablenet.one.pl>, relay=maildrop, delay=13, status=deferred (temporary failure. Command output: /usr/local/bin/maildrop: Unable to open mailbox

in directory /usr/local/virtual/.mailfilters/ is a mailfilter te@cablenet.one.pl and it's have this rule:

if ( $SIZE < 26144 ) { exception { xfilter "/usr/local/bin/spamassassin" } }

if (/.*X-Spam-Flag\: Yes/:h) { exception { to "Maildir/.Spam"

to "Maildir/.Spam/"

PS. make sure to create the .Spam maildir ahead of time or here, just befoe the to statement above

} }

else { exception { to "Maildir"

to "Maildir/"

} }

Under unix (at least), Maildir may not be a directory and a (regular) file.

3)option when I moved mailfilters te@cablenet.one.pl to /usr/local/etc/ and rename file to maildroprc , and send mail with gtube spam , messages is was delivered to user account but isn't move to a Spam folder

Why it does not work, where is placed problem?

fix the previous problem first. then run maildrop manually maildrop -V 4 -d fo@example.com < message.eml and see what it says. increase the verbosity level (-V arg) as needed.