Bug 225540 - Incorrect mynetworks setting cause postfix reject all the connections from clients
Incorrect mynetworks setting cause postfix reject all the connections from cl...
Status: CLOSED WONTFIX
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: postfix (Show other bugs)
4.4
i686 Linux
medium Severity medium
: ---
: ---
Assigned To: Miroslav Lichvar
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2007-01-31 03:43 EST by Zhenyong(Jerry) Jiang
Modified: 2013-07-28 20:44 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2010-03-08 04:11:36 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Zhenyong(Jerry) Jiang 2007-01-31 03:43:34 EST
Description of problem:
Incorrect mynetworks setting cause postfix reject all the connections from clients
The config like this:

......
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated,
permit_auth_destination, reject
smtpd_sasl_auth_enable = yes
smtpd_delay_reject = yes
smtpd_client_restrictions = permit_sasl_authenticated
broken_sasl_auth_clients = yes
smtpd_sasl_security_options = noanonymous
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
mynetworks = 10.217.64.0/16 192.168.100.0/24 127.0.0.0/8
# In the above line, I put a intended error network id of  10.217.64.0/16 
......


Version-Release number of selected component (if applicable):
postfix-2.2.10, 
The problem do not effect the earlier version

How reproducible:

Steps to Reproduce:
1. Add the above lines to the /etc/postfix/main.cf
2. restart the service 
3.  Telnet smtp port of mail server ip.  The connection will be disconnected by
mailserver.
 
Actual results:
  The connection will be disconnected by mailserver.

[root@intellpc1 mnt]# telnet 127.0.0.1 25
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.

Connection closed by foreign host.
[root@intellpc1 mnt]# 


Expected results:


Additional info:
Comment 1 Phil Knirsch 2008-08-26 10:07:13 EDT
What would be the correct behavior with incorrect settings? I guess and error during startup?

Thanks,

Read ya, Phil
Comment 2 Miroslav Lichvar 2010-03-08 04:11:36 EST
We are sorry for not addressing this issue in RHEL-4. As postfix is not
scheduled for an update in RHEL-4.9, I'm closing this bug as WONTFIX. If you
are still experiencing this issue with RHEL-5, please reopen it against RHEL-5.

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