Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 19th July 2009, 15:28
marmellata marmellata is offline
Junior Member
 
Join Date: Jul 2009
Posts: 29
Thanks: 1
Thanked 0 Times in 0 Posts
Default ERROR: Connection dropped by IMAP server

I found some post about that error, anyway still cant solve the problem when I try to log in into squirrelmail.

log:

Jul 19 16:45:08 mail imapd: Connection, ip=[::ffff:127.0.0.1]
Jul 19 16:45:08 mail authdaemond: authmysql: MYSQL_SERVER nor MYSQL_SOCKET set in/etc/courier/authmysqlrc.
Jul 19 16:45:08 mail imapd: LOGIN FAILED, user=info@mysite.com, ip=[::ffff:127.0.0.1]
Jul 19 16:45:08 mail imapd: authentication error: Input/output error

may someone help me?

Last edited by marmellata; 19th July 2009 at 22:12.
Reply With Quote
Sponsored Links
  #2  
Old 19th July 2009, 15:30
marmellata marmellata is offline
Junior Member
 
Join Date: Jul 2009
Posts: 29
Thanks: 1
Thanked 0 Times in 0 Posts
Default

I forgot to say the tutorial is:
http://www.howtoforge.com/virtual-us...ebian-lenny-p5
Reply With Quote
  #3  
Old 19th July 2009, 23:30
marmellata marmellata is offline
Junior Member
 
Join Date: Jul 2009
Posts: 29
Thanks: 1
Thanked 0 Times in 0 Posts
Default

in /etc/courier/authmysqlrc I have MYSQL_SERVER localhost but I do not have MYSQL_SOCKET.. anyway I checked everything many times and everything is correct! I just got some warnings with pear install DB,
WARNING: "pear/DB" is deprecated in favor of "pear/MDB2"
WARNING: channel "pear.php.net" has updated its protocols, use "channel-update pear.php.net" to update
I didnt filled out the transport table but it is meaningless I think.


can someone help me please?

thanks
Reply With Quote
  #4  
Old 20th July 2009, 13:13
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

What's in /etc/courier/authmysqlrc? What's the output of
Code:
netstat -tap
?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 20th July 2009, 13:46
marmellata marmellata is offline
Junior Member
 
Join Date: Jul 2009
Posts: 29
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Thanks for your answer, I'm out for work now but I will post the output later.. I remember anyway that following the tutorial: Postfix (master) listening on port 25 (smtp) and 10025, and amavisd-new on port 10024 ..was correct.

Is it true that after I receive the first email then connection should works? is it a possible? is there a way to send locally (from mail server to mail server) a mail so I can check if it is true?

I'm sorry I have many questions..

Thanks for your support
Reply With Quote
  #6  
Old 20th July 2009, 22:49
marmellata marmellata is offline
Junior Member
 
Join Date: Jul 2009
Posts: 29
Thanks: 1
Thanked 0 Times in 0 Posts
Default

hi again,
this is the netstat output:

mail:~# netstat -tap
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 localhost.localdo:10024 *:* LISTEN 1707/amavisd (maste
tcp 0 0 localhost.localdo:10025 *:* LISTEN 2310/master
tcp 0 0 localhost.localdo:mysql *:* LISTEN 1771/mysqld
tcp 0 0 *:48846 *:* LISTEN 1434/rpc.statd
tcp 0 0 *:sunrpc *:* LISTEN 1412/portmap
tcp 0 0 *:ssh *:* LISTEN 1678/sshd
tcp 0 0 *:smtp *:* LISTEN 2310/master
tcp 0 0 localhost.localdoma:831 *:* LISTEN 2351/famd
tcp 0 300 mail.sialpe.com:ssh 192.168.0.2:52388 ESTABLISHED 2569/0
tcp6 0 0 [::]:imaps [::]:* LISTEN 2219/couriertcpd
tcp6 0 0 [::]op3s [::]:* LISTEN 2237/couriertcpd
tcp6 0 0 [::]op3 [::]:* LISTEN 2225/couriertcpd
tcp6 0 0 [::]:imap2 [::]:* LISTEN 2207/couriertcpd
tcp6 0 0 [::]:www [::]:* LISTEN 2407/apache2
tcp6 0 0 [::]:ssh [::]:* LISTEN 1678/sshd

In /etc/courier/authmysqlrc I have:

mySQL_SERVER localhost
MYSQL_USERNAME mail_admin
MYSQL_PASSWORD ma5583/
MYSQL_PORT 0
MYSQL_DATABASE mail
MYSQL_USER_TABLE users
MYSQL_CRYPT_PWFIELD password
#MYSQL_CLEAR_PWFIELD password
MYSQL_UID_FIELD 5000
MYSQL_GID_FIELD 5000
MYSQL_LOGIN_FIELD email
MYSQL_HOME_FIELD "/home/vmail"
MYSQL_MAILDIR_FIELD CONCAT(SUBSTRING_INDEX(email,'@',-1),'/',SUBSTRING_INDEX(email,'@',1),'/')
#MYSQL_NAME_FIELD
MYSQL_QUOTA_FIELD quota
Reply With Quote
  #7  
Old 21st July 2009, 14:13
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
 
Default

The MySQL password contains a special character. That might be the problem. Please change it.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
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
Squirrelmail ERROR: Connection dropped by IMAP server. kameelperdza Server Operation 7 28th March 2011 14:55
Ubuntu Server, postfix, gmail relay sjau Server Operation 3 14th December 2010 18:20
Webmail problems with only one domain? compner Installation/Configuration 14 16th February 2010 16:59
procmail problem - mail delivery Lobanak Installation/Configuration 4 1st March 2009 22:24
Apache LoadBalanced, Ldirector. eterzella HOWTO-Related Questions 6 7th February 2009 15:43


All times are GMT +2. The time now is 21:16.


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