PDA

View Full Version : Virtual Users with Postfix + Maildrop


immobilia
18th July 2006, 18:38
I have try a similar install of Virtual Users And Domains With Postfix, Courier And MySQL + Add Mailfiltering and i don't working maildrop :(

I'm on SUSE with versions :
courier-authlib-0.58
postfix-2.2.10
postfix-2.2.10-vda.patch
maildrop-2.0.2

Questions are :

Is it obligatory to make transport to call maildrop ?
If yes, we lost advantage of VDA ?

My bug is :

#maildrop -d anyuser@mydomain.com
ERR: authdaemon: s_connect() failed: No such file or directory
maildrop: Temporary authentication failure.

#authtest user@domain.com
ERR: authdaemon: s_connect() failed: No such file or directory
Authentication FAILED: Illegal seek

Sample of source :
courier-authlib-0.58/ChangeLog: * authdaemonlib.c (s_connect): Wait for connection to authdaemond
courier-authlib-0.58/authdaemonlib.c:static int s_connect(int sockfd,
courier-authlib-0.58/authdaemonlib.c: if (s_connect(s, (const struct sockaddr *)&skun, sizeof(skun),
courier-authlib-0.58/authdaemonlib.c: perror("ERR: authdaemon: s_connect() failed");

How try to use successfuly maildrop ?
I don't understand how courier and maildrop use authlibdaemon...

falko
19th July 2006, 14:59
Have a look here: http://forum.qmailrocks.org/showthread.php?t=1809
especially post 27: http://forum.qmailrocks.org/showpost.php?p=12710&postcount=27

immobilia
19th July 2006, 17:59
Thx Falco, but wrong answer. The good one is :

# strace authtest user@test.com pass
>> i see the program using a non existing socket

# ln -s /var/run/authdaemon.courier-imap/socket /usr/var/spool/authdaemon/socket

# authtest user@test.com pass
Authentication succeeded.