LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-29-2011, 11:45 AM   #1
giorgio7
LQ Newbie
 
Registered: Feb 2011
Posts: 6

Rep: Reputation: 0
RoundCube mail - Connection to IMAP failed


Hi all,
Hope someone can help. I can't get roundcube working.
System info:
CentOS 6
Postfix/Dovecot/sendmail - all looks fine to me
nmap/netstat shows ports open and listening

I can telnet to localhost 25 / localhost 110 / localhost 143. For 110 I get connection closed by foreign host error after typing in PASS command. I assume this to be an rcmail error but can see no way out.

Moreover everytime I try to login to webmail.domain.com, it still gives me an error message that "Connection to IMAP failed". I'm really desperate already.

Please help,
Thanks!

Last edited by giorgio7; 08-29-2011 at 03:20 PM.
 
Old 08-30-2011, 06:30 AM   #2
timur91
Member
 
Registered: Aug 2011
Posts: 42

Rep: Reputation: Disabled
try to enable debug logging for dovecot and see what error you get in the mail logs

please do come back with the results

java socket

Last edited by timur91; 01-05-2012 at 05:34 AM.
 
Old 09-03-2011, 05:36 AM   #3
giorgio7
LQ Newbie
 
Registered: Feb 2011
Posts: 6

Original Poster
Rep: Reputation: 0
MailLog output

Now it's not even sending out emails. I would say some config messes up with both the smtp and pop3/imap services

This is output of my MailLog:
Sep 3 12:07:17 myhostname postfix/error[21924]: DFCFB1C1D3D: to=<mymail@mydomain.com>, relay=none, delay=45004, delays=45004/0.05/0/0, dsn=4.3.5, status=deferred (delivery temporarily suspended: mail for mydomain.com loops back to myself)
Sep 3 12:07:17 myhostname postfix/error[21924]: DFCFB1C1D3D: to=<predmet@localhost6.localdomain6>, relay=none, delay=45004, delays=45004/0.05/0/0, dsn=4.3.5, status=deferred (delivery temporarily suspended: mail for mydomain.com loops back to myself)
Sep 3 12:07:17 myhostname postfix/error[21923]: 8E6471C1D36: to=<mymail@mydomain.com>, relay=none, delay=47835, delays=47835/0.05/0/0, dsn=4.3.5, status=deferred (delivery temporarily suspended: mail for mydomain.com loops back to myself)
Sep 3 12:07:17 myhostname postfix/error[21924]: 8CFA31C1E50: to=<mymail@mydomain.com>, relay=none, delay=42089, delays=42089/0.05/0/0, dsn=4.3.5, status=deferred (delivery temporarily suspended: mail for mydomain.com loops back to myself)
Sep 3 12:07:17 myhostname postfix/error[21923]: 806BE1C1E4E: to=<mymail@mydomain.com>, relay=none, delay=5178, delays=5178/0.05/0/0, dsn=4.3.5, status=deferred (delivery temporarily suspended: mail for mydomain.com loops back to myself)

I may know what to suspect, but don't know how to fix it. DIG MX output looks okay as well. It finds my MX record easily. Reverse DNS when pinging the domain works as well.

This is filtered out config for Postfix/main.cf. Something must be wrong, but what?

mydomain = mydomain.com
myorigin = $myhostname
inet_interfaces = all
mydestination = $myhostname, localhost.$mydomain, localhost, mail.mydomain.com
#relay_domains = $mydestination
relayhost = $mydomain
mtpd_sasl_type = dovecot
smtpd_sasl_path = private/auth
smtpd_sasl_auth_enable = yes
smtpd_recipient_restrictions = permit_mynetworks,
permit_sasl_authenticated,
reject_unauth_destination
broken_sasl_auth_clients = yes

Thanks,
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: iRedMail:Full-Featured Mail Server With LDAP, Postfix, RoundCube/SquirrelMail O LXer Syndicated Linux News 0 10-09-2009 05:00 PM
LXer: iRedMail: Mail Server With LDAP, Postfix, RoundCube/SquirrelMail, Dovecot On De LXer Syndicated Linux News 0 06-05-2009 12:30 PM
Squirrel Mail - ERROR: Connection dropped by IMAP server. Braynid Linux - Software 1 10-01-2008 02:47 AM
Freebsd 6.2 roundcube, imap problem (one of them) da1 *BSD 2 11-26-2007 08:44 PM
IMAP User setup, mail servers, Roundcube webmail client, Receiving Emails CrimsonSkyZS Linux - Newbie 0 01-11-2006 04:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 01:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration