1 message in net.sourceforge.lists.courier-maildrop[maildropl] Courier doesn't fire up t...
FromSent OnAttachments
Paweł TęczaSep 11, 2002 8:12 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[maildropl] Courier doesn't fire up the maildropActions...
From:Paweł Tęcza (pawe@poczta.fm)
Date:Sep 11, 2002 8:12:43 am
List:net.sourceforge.lists.courier-maildrop

Hi All! :)

I have a mail system with Courier v0.39.1 and included maildrop v1.4. It seems that my Courier doesn't fire up the maildrop when it receives incoming messages.

These are the default lines from my /opt/courier/etc/courierd file:

DEFAULTDELIVERY="| /opt/courier/bin/maildrop" MAILDROPDEFAULT=./Maildir

How can I check that Courier filters e-mails using the maildrop? I don't see any logs in /var/log/mail/info file. This is my lamer way:

# cd /opt/courier/bin/ # mv maildrop maildrop.orig # touch maildrop # vim maildrop # cat maildrop #!/usr/bin/perl -w

`date >> /tmp/maildrop.log`;

my $args = ""; foreach $arg (@ARGV) { $args .= $arg." "; }; #print "$args\n";

`./maildrop.orig $args`; # # chown courier.mail maildrop # chmod 0755 maildrop

, but when I send a test message to a test user I can't see any log file in the /tmp directory.

Here it's $HOME/.mailfilter file of test user:

MAILDIRQUOTA="20000000S" FROM='us@domain.com' import SENDER if ($SENDER eq "") { SENDER=$FROM }

##Op:islargerthan ##Header: ##Value:5 ##Folder:.Trash ##From: ##Continue ##Name:test

if (($SIZE > 5)) { cc "./Maildir/.Trash/." }

to "./Maildir/."

I can also add that Courier puts all messages to us@domain.com in his ./Maildir folder.

Thanks in advance for any help

My best regards!

Pawel Tecza