Hi,
I am having a problem getting migrating my Postfix setup from procmail
to maildrop. I am pretty sure that what I am asking shows up in a FAQ
somewhere, but for the life of me I can't find it!!!
My setup is as follows:
The server receives email for 3 domains and uses a Mysql database to
store passwords, directories, etc. Procmail currently handles delivery,
but I would like to migrate to maildrop.
My setup (database, etc) follows that laid out in this document:
http://workaround.org/articles/ispmail-sarge/
in main.cf:
virtual_transport = maildrop
(all mail goes through this)
in master.cf:
maildrop unix - n n - 30 pipe
flags=Ru user=vmail argv=/usr/bin/maildrop -d ${recipient}
All mail directories are owned by vmail:vmail, and stored at
/home/vmail/us...@host.com/
(#:/etc/postfix)- maildrop -v
maildrop 1.7.0 Copyright 1998-2003 Double Precision, Inc.
GDBM extensions enabled.
Maildir quota extension enabled.
Virtual user database extension enabled.
This program is distributed under the terms of the GNU General Public
License. See COPYING for additional information.
(#:/etc/postfix)- ll /usr/bin/maildrop
-rwsr-xr-x 1 root daemon 162K Sep 13 12:23 /usr/bin/maildrop*
What I end up with is:
Nov 8 18:06:20 finity maildrop[7448]: You are not a trusted user.
Nov 8 18:06:20 finity postfix/pipe[7447]: 8143B4047B:
to=<jeff...@finity.org>, relay=maildrop, delay=0, status=deferred
(temporary failure. Command output: /usr/bin/maildrop: You are not a
trusted user. )
If I su to vmail, it seems like maildrop is OK -- so I assume that vmail
was listed as a trusted user in the debian compile of maildrop.
Obviously there is an issue with the trusted users. Maildrop should run
as "vmail", right? And figure out where to deliver the mail via
courier-authmysql? I am confused by this aspect and have not been able
to find a document that describes how to do this clearly enough that I
can apply it to my setup.
Jeff