Bug 796577 - Dovecot disconnects remote clients immediately.
Summary: Dovecot disconnects remote clients immediately.
Keywords:
Status: CLOSED DUPLICATE of bug 767542
Alias: None
Product: Fedora
Classification: Fedora
Component: dovecot
Version: 16
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Michal Hlavinka
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-23 08:47 UTC by Christian Birch
Modified: 2012-02-23 11:13 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-02-23 11:13:06 UTC
Type: ---


Attachments (Terms of Use)

Description Christian Birch 2012-02-23 08:47:35 UTC
Description of problem:

Dovecot will disconnect remote clients immediately because of a wrong default 10-master.conf. I verified this with #dovecot on Freenode. Solution is below.

Version-Release number of selected component (if applicable):

2.0.17 (684381041dc4+)

How reproducible:

Is reproducible. See below.

Steps to Reproduce:

Use VirtualBox to setup dovecot on a Fedora guest, then verify that you may connect from the guest itself. Now forward e.g. port 11011 on the host to 110 on the guest and try to connect from the host. Will get disconnected immediately.
  
Actual results:

Getting disconnected immediately after being connected.

Expected results:

*Not* being disconnected immediately after being connected.

Additional info:

Problem is "address = localhost" for inet_listener pop3 { ... }, inet_listener imap { ... } etc. in 10-master.conf. Uncommenting those lines solves the problem:

service pop3-login {
  inet_listener pop3 {
    #port = 110
    #address = localhost # allow plain imap only on localhost
  }
...

service imap-login {
  inet_listener imap {
    #port = 143
    #address = localhost # allow plain imap only on localhost
  }
...

Comment 1 Michal Hlavinka 2012-02-23 09:07:41 UTC
There is no dovecot 2.0.17 rpm for Fedora 17. We have dovecot 2.1 there. What package do you use?

Comment 2 Christian Birch 2012-02-23 10:08:45 UTC
Sorry, this should have been Fedora 16. I just edited the bug.

Comment 3 Michal Hlavinka 2012-02-23 11:13:06 UTC

*** This bug has been marked as a duplicate of bug 767542 ***


Note You need to log in before you can comment on or make changes to this bug.