1 message in net.sourceforge.lists.courier-maildrop[maildropl] maildrop delivering to tr...
FromSent OnAttachments
Owen StensethDec 20, 2004 11:01 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] maildrop delivering to trusted user's Maildir instead of maildir specified in userdbActions...
From:Owen Stenseth (ow@bonemachine.org)
Date:Dec 20, 2004 11:01:39 am
List:net.sourceforge.lists.courier-maildrop

I am having this weird problem and was wondering if anyone else has run into it.

I have a postfix + courier-imap + maildrop configuration that I am setting up on
debian testing.

I have installed the 1.7.0 version of maildrop (not the courier one) and have a
valid userdb that is being used by courier-imap with no problem.

The problem I am encountering is that when run as a trused user maildrop does
not seem to read the userdb that I have configured (note that maildrop is setuid
root). If I try and run maildrop manually (as the vmail user) to test the
configuration I get this:

/usr/bin/maildrop -V 5 -d ow@testdomain.com < '/tmp/message' maildrop: Changing to /home/vmail Message start at 0 bytes, envelope sender=root maildrop: Attempting .mailfilter maildrop: Delivering to ./Maildir maildrop: Flock()ing ./Maildir. maildrop: Appending to ./Maildir. maildrop: Delivery complete.

If I run the same thing as root I get:

/usr/bin/maildrop -V 5 -d ow@testdomain.com < '/tmp/message' maildrop: Changing to /home/vmail/testdomain.com/owen Message start at 0 bytes, envelope sender=ow@testdomain.com maildrop: Attempting .mailfilter maildrop: Delivery complete.

Note that in this case it has read the userdb (the userdb.dat file is readable
by group and other) and the mail is delivered properly.

Can anyone here point me in the right direction concerning what may be going on?

Thanks, Owen