Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 11th May 2009, 09:13
mehulved mehulved is offline
Junior Member
 
Join Date: May 2009
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default IMAP authentication failure with dovecot

Hi,
I am trying to setup ISPConfig 2.2.32 on CentOS 5.3 32-bit. I
followed the how-to on howtoforge for CentOS 5.2[1]. The control panel
is working and the emails are being delivered to the mailbox. But, I
am unable to login via IMAP.
Here's the output from telnet
Quote:
telnet dtc.progresspartners.co.in 143
Trying 70.38.112.176...
Connected to dtc.progresspartners.co.in.
Escape character is '^]'.
* OK Dovecot ready.
a login mehul@thehappinesscompany.in *****
a NO Authentication failed.
* BYE Disconnected for inactivity.
Connection closed by foreign host.
Here's the logs for dovecot
Quote:
dovecot: May 11 01:53:03 Info: auth(default): new auth connection: pid=31674
dovecot: May 11 01:53:16 Info: auth(default): client in:
AUTH 1 PLAIN service=IMAP lip=::ffff:70.38.112.176 rip=::ffff:122.169.50.85 resp=AG1laHVsQHRoZWhhcHBpbmVzc2NvbXBhbnkuaW4AbWVod Ww=
dovecot: May 11 01:53:16 Info: auth(default):
pam(mehul@thehappinesscompany.in,::ffff:122.169.50 .85): lookup
service=dovecot
dovecot: May 11 01:53:18 Info: auth(default):
pam(mehul@thehappinesscompany.in,::ffff:122.169.50 .85):
pam_authenticate() failed: User not known to the underlying
authentication module
dovecot: May 11 01:53:18 Info: auth(default): client out:
FAIL 1 user=mehul@thehappinesscompany.in
dovecot: May 11 01:56:16 Info: imap-login: Disconnected: Inactivity:
user=<mehul@thehappinesscompany.in>, method=PLAIN,
rip=::ffff:122.169.50.85, lip=::ffff:70.38.112.176
/etc/dovecot.conf
Quote:
protocols = imap imaps pop3 pop3s

log_path = /var/log/dovecot/error.log

info_log_path = /var/log/dovecot/info.log

log_timestamp = "%b %d %H:%M:%S "

syslog_facility = mail

login_dir = /var/run/dovecot/login

login_chroot = yes

login_greeting = Dovecot ready.

login_log_format_elements = user=<%u> method=%m rip=%r lip=%l %c

login_log_format = %$: %s

protocol imap {
}


protocol pop3 {
}

protocol lda {
postmaster_address = postmaster@example.com
}

auth_debug = yes

auth_debug_passwords = yes

auth default {
mechanisms = plain login
passdb pam {
}

userdb passwd {
}

user = root

}

dict {
}


plugin {
}
I have checked that the username and password exist and are correct.
I am not sure if dovecot should be authenticating using PAM or use
some files or mysql. Any pointers to the solve the issue will be
appreciated.


1. http://www.howtoforge.com/perfect-server-centos-5.2
Reply With Quote
Sponsored Links
  #2  
Old 11th May 2009, 19:09
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 34,586
Thanks: 792
Thanked 4,983 Times in 3,903 Posts
Default

You have to use the username of the email user and not its email address to connect to the imap server. Usernames in ispconnfig 2 have the format web[ID]_username
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 12th May 2009, 04:04
mehulved mehulved is offline
Junior Member
 
Join Date: May 2009
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Thank you till. I somehow missed that. It's working great now
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Webmail problems with only one domain? compner Installation/Configuration 14 16th February 2010 16:59
Dovecot Auth. Failure spams Message log d3m0nic Installation/Configuration 4 20th October 2009 18:47
ftp is very slow and asks for user/passwd continuously chico58 Installation/Configuration 7 8th October 2008 12:43
Mail server attack princebenin Server Operation 1 19th November 2007 14:02


All times are GMT +2. The time now is 05:57.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.