The Network People Support Forums

Mail::Toaster => Configuration Issues => Topic started by: vergi on March 12, 2005, 03:42:10 AM

Title: imap problem
Post by: vergi on March 12, 2005, 03:42:10 AM
Hello, i'm a new in mail servers and learnig now.
I've installed Mail toaster amd now runnig around from config to config and start thigs one by one and i stoped here:

Mar 12 12:18:44 mailer authdaemond: ldap_simple_bind_s failed: Can't contact LDAP server
Mar 12 12:18:44 mailer imapd: LOGIN FAILED, user=vergi, ip=[x.x.x.x]
Mar 12 12:18:44 mailer imapd: authentication error: Input/output error

i don't have a LDAP server i suspect that i need to install it
to get the imap server work? Or?
i see that toaster installs only openldap client...
Title: Re: imap promlem
Post by: buel on March 17, 2005, 01:23:21 PM
Hi,

Edit the /usr/local/etc/authlib/authdaemonrc file. You'll
find a line like the one below:

authmodulelist="authuserdb authldap authmysql authvchkpw"

Remove the authldap module. The error message will change!
The real problem seams to be with courier-authlib, it
doesn't connect with any database (ldap, mysql). Below are
my typical erros messages related to this problem. Any
help would be very welcome.

------------------------------------------------------------ ------
Mar 17 16:19:16 petroleo pop3d-ssl: LOGIN FAILED, user=samuel@geopetro.ufrn.br, ip=[::ffff:10.9.50.40]
Mar 17 16:19:16 petroleo pop3d-ssl: authentication error: Input/output error
------------------------------------------------------------ ------
Mar 17 16:19:36 petroleo imapd: LOGIN FAILED, user=samuel@geopetro.ufrn.br, ip=[::ffff:127.0.0.1]
Mar 17 16:19:36 petroleo imapd: authentication error: Input/output error
------------------------------------------------------------ ------

Thanks, Sam.
Title: Re: imap promlem
Post by: buel on March 18, 2005, 11:28:54 AM
Hi,

Problem solved! I've removed all modules, except authvchkpw. As
documented in courier-authlib, we should never use authmysql with vpopmail.

Sam.
Title: Re: imap problem
Post by: vergi on March 24, 2005, 11:12:33 AM
10x man i'll try
Title: Re: imap problem
Post by: LogicX on June 03, 2005, 07:29:03 AM
Just another note on this --
if you don't use ldap -- don't install ldap

in toaster-watcher.conf set
install_openldap_client        = 0

IIRC, 1 is the default, so you will have to actively modify this to disable it.