8 messages in net.sourceforge.lists.courier-maildrop[maildropl] Maildrop + postfix + mysq...
FromSent OnAttachments
Andrei GologanOct 9, 2002 8:01 am 
Andrei GologanOct 10, 2002 12:33 am 
Andrei GologanOct 10, 2002 2:19 am 
Jens LauterbachOct 10, 2002 2:29 am 
Andrei GologanOct 10, 2002 3:18 am 
Andrei GologanOct 11, 2002 2:59 am 
Rodolfo GonzalezOct 11, 2002 11:23 am 
Andrei GologanOct 12, 2002 3:35 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 + postfix + mysql = help !!Actions...
From:Andrei Gologan (agol@gmx.mis.de)
Date:Oct 9, 2002 8:01:40 am
List:net.sourceforge.lists.courier-maildrop

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=<use@xxxxxxxx.net>, 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 use@xxxxxxxx.net 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