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,
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):
The problem do not effect the earlier version
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
The connection will be disconnected by mailserver.
[root@intellpc1 mnt]# telnet 127.0.0.1 25
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
Connection closed by foreign host.
What would be the correct behavior with incorrect settings? I guess and error during startup?
Read ya, Phil
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.