Hi
we have a system running now with: postfix + mysql + courier-imap on a
redhat 7.3. It uses mysql as user database with postfixes internal delivery
to the Maildirs. works fine!
now we need quota support so we have to use maildrop dor delivery as far as
I understand. Compiled, installed:
maildrop -v shows:
maildrop 1.4.0 Copyright 1998-2002 Double Precision, Inc.
GDBM extensions enabled.
Enabled Berkeley DB instead of GDBM extensions.
Maildir quota extension enabled.
Virtual user database extension enabled.
Virtual user database via LDAP extension enabled.
Virtual user database via MySQL extension enabled.
in main.cf of postfix i had:
transport_maps=mysql:/etc/postfix/transport.cf
virtual_mailbox_maps=mysql:/etc/postfix/mysql_virt.cf
virtual_uid_maps=mysql:/etc/postfix/uids.cf
virtual_gid_maps=mysql:/etc/postfix/gids.cf
virtual_mailbox_base=/
virtual_maps =mysql:/etc/postfix/virtual.cf
for maildrop i comented out all the lines and added:
mailbox_command = /usr/bin/maildrop
in master.cf i have :
maildrop unix - n n - - pipe
flags=R user=postfix argv=/usr/bin/maildrop -V9 -d ${user}
ok the mail gets piped to maildrop but maildrop does not read the
/etc/maildropmysql.config as it should , instead it tries to deliver based
on /etc/passwd. if there is the user it delivers to that users
/home/user/Maildir FILE !!!! if the user isnt there it says:
Oct 9 16:38:16 ns postfix/local[24322]: C36503C0118:
to=<user1@...>, relay=local, delay=1, status=bounced (unknown user:
"user1")
and:
Oct 9 16:38:16 ns maildrop[24324]: Invalid home directory permissions -
world writable.
bunt only when there is no system user as user1.
but it should read maildropmysql.config and deliver to user1@...
Maildir folders as dose the postfix´s delivery agent.
it should try to deliver virtual not local .... i guess but i am not sure
.... why does it not read the maildropmysql.config ?
mysql logs are empty ... no query gets there ...
I feel that I am close, but i am out of documentation, i tried a lot of
stuff, but nothing works .... Iread the mailling list tried what it says
there but nothing works ...
Any help or hints would be greatly apreciated !!
Thank you
Andrei
|