Courier is the one that gets built with mysql support. It will get all the account information out of mysql and run maildrop appropriately.
That's both good news and bad news for me then. Currently I have /etc/courier/courierd configured with the following option:
DEFAULTDELIVERY="| /usr/lib/courier/bin/maildrop"
and maildrop does exist in that location (courier was restarted after making the above change). I'm assuming then that maildrop will know what my user's home directory is from the home field in the database table. Should I also assume that it will read the .mailfilter file from that user's specified home directory then? Currently I have the following in the file but I don't get the logfile I'm expecting:
VERBOSE=9 logfile /tmp/maildrop.log
if ( $SIZE < 26144 )
{
exception {
xfilter "/usr/bin/spamassassin"
}
}if (/^X-Spam-Flag: *YES/)
{
exception {
to .spam
}
}One other thing, I haven't noticed maildrop in the log file at all, in fact here is what I get on my test machine:
Apr 4 13:08:14 dan courieresmtpd: started,ip=[::ffff:127.0.0.1]
Apr 4 13:08:14 dan courierd: newmsg,id=0002BD6D.3E8DCA0E.00006500
Apr 4 13:08:14 dan courierd: started,id=0002BD6D.3E8DCA0E.00006500,from=<[EMAIL PROTECTED]>,module=local,host=dan!!500!500!/home/dan/email!/home/dan/email/Maildir!,addr=<dan>
Apr 4 13:08:14 dan courierd: Waiting. shutdown time=none, wakeup time=none, queuedelivering=1, inprogress=1
Apr 4 13:08:14 dan imapd: LOGOUT, user=dan, ip=[::ffff:127.0.0.1], headers=0, body=0
Apr 4 13:08:14 dan courierlocal: id=0002BD6D.3E8DCA0E.00006500,from=<[EMAIL PROTECTED]>,addr=<[EMAIL PROTECTED]>,size=748,success: Message delivered.
Apr 4 13:08:14 dan courierd: completed,id=0002BD6D.3E8DCA0E.00006500
Apr 4 13:08:14 dan courierd: Waiting. shutdown time=Fri Apr 4 13:44:35 2003,
wakeup time=Fri Apr 4 13:44:35 2003, queuedelivering=0, inprogress=0
-- Dan Parent - Software Developer OEone Corporation
-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
