4 messages in net.sourceforge.lists.courier-maildrop[maildropl] authdaemon: s_connect() f...
FromSent OnAttachments
Manilal K MAug 19, 2006 3:02 am 
Sam VarshavchikAug 19, 2006 5:37 am 
Manilal K MAug 19, 2006 5:47 am 
Manilal K MAug 19, 2006 6:12 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] authdaemon: s_connect() failed: Connection refusedActions...
From:Manilal K M (libr@gmail.com)
Date:Aug 19, 2006 3:02:33 am
List:net.sourceforge.lists.courier-maildrop

Hello everybody,

I am a newbie in courier-maildrop and are having some problems.

This is my setup: I am using Qmail+Dovecot+Courier-Maildrop+DSPAM+OpenLDAP in my mail server. I am using Maildrop as a standalone application for maildelivery. The Courier-Maildrop version is 2.0.2 and I have built the RPM using the SPEC file provided in the source. I have also installed courier-authlib-0.58 using the RPM.

The Courier-Authlib setup is as follows: %configure --with-redhat --with-authldaprc=/etc/authlib/authldaprc

Then I edited the file /etc/authlib/authldaprc and put the correct ldap values. I tested using authtest and the result is as follows:

[root@mamba SPECS]# authtest dum@foobar.com Authentication succeeded.

Authenticated: dum@foobar.com (uid 509, gid 509) Home Directory: /home/mail/foobar.com/dummy Maildir: /home/mail/foobar.com/dummy/Maildir Quota: (none) Encrypted Password: {MD5}bJVY9y/DTI35rZ7MMn2K0g== Cleartext Password: (none) Options: (none)

The I installed maildrop-2.0.2 from the RPM. The configure options I used are:

%configure --with-devel --enable-userdb --enable-maildirquota --enable-syslog=1 --enable-trusted-users='root mail vmail daemon postmaster qmaild mmdf' --enable-restrict-trusted=0 --enable-sendmail=/usr/sbin/sendmail --enable-maildrop-uid=vmail --enable-maildrop-gid=vmail

The I set the setuid of /usr/bin/maildrop

[root@mamba SPECS]# ls -l /usr/bin/maildrop -r-sr-sr-x 1 root mail 194943 Aug 19 03:49 /usr/bin/maildrop

Then I changed the ownership and permission of /var/spool/authdaemon

drwxr-xr-x 2 root root 4096 Aug 19 05:17 authdaemon I noticed another folder /usr/local/var/spool/authdaemon

drwxr-xr-x 2 root root 4096 Aug 18 10:52 authdaemon (I'm not sure which folder is actually used)

Now, here is the actual problem, Then I run maildrop as user root: But unfortunately it produces me the following error:

[root@mamba SPECS]# maildrop -V 4 -d dum@foobar.com < /home/mail/foobar.com/dummy/Maildir/cur/sample.mail ERR: authdaemon: s_connect() failed: Connection refused maildrop: Temporary authentication failure.

I saw many threads which deals with errors related to MySQL, but couldn't find one with LDAP. I am actually in great trouble, without knowing where to go for help. Please give me some hints so that I can proceed.

regards Manilal