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 27th December 2012, 05:21
danstinebaugh danstinebaugh is offline
Junior Member
 
Join Date: Apr 2009
Location: Bay Area California
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default Virtual Users & Domains With Postfix, [...] SquirrelMail Conn. dropped by IMAP ubuntu

Just finished going through the Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail (Ubuntu 12.10) post and again I'm amazed at the thoroughness of your guides. Thank you for all that you do!

However I'm getting stuck so close to the end, and I'm not sure what could be causing the error.

I've gotten to the end where I'm trying to login as the test user created to squirrelmail but am getting the error "ERROR: Connection dropped by IMAP server.
"



Here is the results from a netstat -tap:
Code:
root@mail1:/var/log# netstat -tap
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 *:http                  *:*                     LISTEN      4319/apache2
tcp        0      0 *:ssh                   *:*                     LISTEN      2519/sshd
tcp        0      0 *:smtp                  *:*                     LISTEN      27367/master
tcp        0      0 localhost.localdo:10024 *:*                     LISTEN      1660/amavisd-new (m
tcp        0      0 localhost.localdo:10025 *:*                     LISTEN      27367/master
tcp        0      0 localhost.localdo:mysql *:*                     LISTEN      7930/mysqld
tcp       59      0 localhost.localdo:40045 localhost.localdo:10025 CLOSE_WAIT  1665/amavisd-new (c
tcp6       0      0 [::]:ssh                [::]:*                  LISTEN      2519/sshd
tcp6       0      0 [::]:smtp               [::]:*                  LISTEN      27367/master
tcp6       0      0 [::]:imaps              [::]:*                  LISTEN      21734/couriertcpd
tcp6       0      0 [::]:pop3s              [::]:*                  LISTEN      21802/couriertcpd
tcp6       0      0 [::]:pop3               [::]:*                  LISTEN      21765/couriertcpd
tcp6       0      0 [::]:imap2              [::]:*                  LISTEN      21697/couriertcpd
I've made sure to replace the mail_user_password in all of the references in the walkthrough (At least I'm pretty sure I did!) and everything seems to be working correctly,

telnet results:
Code:
root@mail1:/var/log# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.localdomain.
Escape character is '^]'.
220 my.hidden.host ESMTP Postfix (Ubuntu)
ehlo localhost
250-my.hidden.host
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-STARTTLS
250-AUTH PLAIN LOGIN
250-AUTH=PLAIN LOGIN
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
quit
221 2.0.0 Bye
Connection closed by foreign host.
Anyone have any ideas on where I should start troubleshooting this? imap I'm guessing, but could use some guidance.

Also I have sent each of the test account's I've created a test email using the mailx command as stated in the guide.

Thanks in advance!

Last edited by danstinebaugh; 27th December 2012 at 05:27. Reason: added info.
Reply With Quote
Sponsored Links
  #2  
Old 28th December 2012, 11:56
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,592 Times in 2,443 Posts
Default

Are there any errors in your mail log (in the /var/log/ directory)?
__________________
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
  #3  
Old 29th December 2012, 04:31
danstinebaugh danstinebaugh is offline
Junior Member
 
Join Date: Apr 2009
Location: Bay Area California
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default

The only error's I've got in my mail.err file is the following:

Code:
root@mail1:/var/log# cat mail.err
Dec 26 19:46:46 mail1 imapd: sales@example.com: No such file or directory
Dec 26 19:47:33 mail1 imapd: sales@example.com: No such file or directory
Dec 26 19:51:17 mail1 imapd: sales@example.com: No such file or directory
Dec 26 19:54:38 mail1 imapd: sales@example.com: No such file or directory
Dec 26 19:55:09 mail1 imapd: daniel@example.com: No such file or directory
Dec 26 19:58:25 mail1 imapd: sales@example.com: No such file or directory
Dec 26 20:26:54 mail1 imapd: sales@example.com: No such file or directory
I created the daniel@example.com from phpmyadmin just to test on a second account, with the same result.
Here is a link to my mail.log pastebin. http://pastebin.com/ckFxnfDr

Last edited by danstinebaugh; 29th December 2012 at 22:54. Reason: added the mail.log file output as well.
Reply With Quote
  #4  
Old 31st December 2012, 13:55
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,592 Times in 2,443 Posts
Default

Please post your /etc/postfix/main.cf.
__________________
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
Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail-Problema jz_ HOWTO-Related Questions 9 14th September 2011 13:31
Getting Email Working ISPConfig3 Squirrelmail and Courier etc Ian Wilson Installation/Configuration 16 17th February 2011 17:55
Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail (Ubuntu 9.10) mickey78 HOWTO-Related Questions 1 1st January 2010 12:11
Undelivered Mail Returned to Sender Error202 General 5 7th May 2009 11:14
Extending Virtual Users And Domains With Postfix, Courier, And SquirrelMail Ubuntu 8. atjensen11 HOWTO-Related Questions 5 8th June 2008 12:09


All times are GMT +2. The time now is 08:43.


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