Paul,
To me it seems that everything should work just fine but yet it fails.
Prior to during on debugging for the IPs in question the only error in
the logs was the following.
smtp1 postfix/smtpd[15062]: connect from tnpsan1.(domain).com[10.12.0.101]
smtp1 postfix/smtpd[15062]: lost connection after HELO from
tnpsan1.(domain).com[10.12.0.101]
smtp1 postfix/smtpd[15062]: disconnect from
tnpsan1.(domain).com[10.12.0.101]
Both the postfix and the server sending are on the same /24 network and
on the same switch. I have checked for an ACL or other issue but there
is nothing network related which I can find that I believe would prevent
connection as desired. There is no local firewall, virus software or
anything on the sending machine and selinux has been disabled on the
postfix server without resolving the issue. The other item that seems
strange to me is I have other machines in the same subnet which are able
to send without issue.
Thanks,
Blake
On 05/12/2014 11:05 AM, Paul C wrote:
What's the error? 220 is a successful response to the greeting and 250
is success for the helo command. The only I see that could cause issue
is you are using an internal ip, 10.12.0.100, maybe causing some of
your dns stuff to fail on the lookup? All I can see at this point.
On Mon, May 12, 2014 at 12:48 PM, Blake <scuba.bl...@gmail.com> wrote:
Greetings,
I have a remote site with a postfix instance which has a few systems that
are receiving the following error. Unfortunately I have been unable to
identify the cause and see no reason the system would be having the issue.
Sending machine Error
An Error occurred trying to test SMTP Mail Server smtp1.(domain).com: SMTP
Client send command : EHLO 10.12.0.100 - SMTP Server reply message : 220
smtp.(domain2).com ESMTP Postfix, return code : 220 - SMTP Client send
command : HELO 10.12.0.100 - SMTP Server reply message :
250-smtp.(domain2).com
250-PIPELINING
250-SIZE 25480000
250-VRFY
250-ETRN
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN, return code : 250 - SMTP Client send command : QUIT - SMTP Server
reply message: 250 smtp.(domain2).com
221 2.0.0 Bye, return code : 250 - SMTP Client connection normal shutdown
Maillog/Postfix Log
smtp1 postfix/smtpd[15211]: connect from tnpsan1.(domain).com[10.12.0.101]
smtp1 postfix/smtpd[15211]: match_hostaddr: 10.12.0.101 ~?
cidr:/etc/postfix/mynetworks.cidr(0,lock|fold_fix)
smtp1 postfix/smtpd[15211]: dict_cidr_lookup: /etc/postfix/mynetworks.cidr:
10.12.0.101
smtp1 postfix/smtpd[15211]: dict_lookup: 10.12.0.101 = trusted
smtp1 postfix/smtpd[15211]: > tnpsan1.(domain).com[10.12.0.101]: 220
smtp.(domain2).com ESMTP Postfix
smtp1 postfix/smtpd[15211]: < tnpsan1.(domain).com[10.12.0.101]: EHLO
10.12.0.100
smtp1 postfix/smtpd[15211]: > tnpsan1.(domain).com[10.12.0.101]:
250-smtp.(domain2).com
smtp1 postfix/smtpd[15211]: > tnpsan1.(domain).com[10.12.0.101]:
250-PIPELINING
smtp1 postfix/smtpd[15211]: > tnpsan1.(domain).com[10.12.0.101]: 250-SIZE
25480000
smtp1 postfix/smtpd[15211]: > tnpsan1.(domain).com[10.12.0.101]: 250-VRFY
smtp1 postfix/smtpd[15211]: match_list_match: 10.12.0.101: no match
smtp1 postfix/smtpd[15211]: > tnpsan1.(domain).com[10.12.0.101]: 250-ETRN
smtp1 postfix/smtpd[15211]: > tnpsan1.(domain).com[10.12.0.101]:
250-ENHANCEDSTATUSCODES
smtp1 postfix/smtpd[15211]: > tnpsan1.(domain).com[10.12.0.101]:
250-8BITMIME
smtp1 postfix/smtpd[15211]: > tnpsan1.(domain).com[10.12.0.101]: 250 DSN
smtp1 postfix/smtpd[15211]: < tnpsan1.(domain).com[10.12.0.101]: HELO
10.12.0.100
smtp1 postfix/smtpd[15211]: > tnpsan1.(domain).com[10.12.0.101]: 250
smtp.(domain2).com
smtp1 postfix/smtpd[15211]: < tnpsan1.(domain).com[10.12.0.101]: QUIT
smtp1 postfix/smtpd[15211]: > tnpsan1.(domain).com[10.12.0.101]: 221 2.0.0
Bye
smtp1 postfix/smtpd[15211]: match_hostaddr: 10.12.0.101 ~?
cidr:/etc/postfix/mynetworks.cidr(0,lock|fold_fix)
smtp1 postfix/smtpd[15211]: dict_cidr_lookup: /etc/postfix/mynetworks.cidr:
10.12.0.101
smtp1 postfix/smtpd[15211]: dict_lookup: 10.12.0.101 = trusted
smtp1 postfix/smtpd[15211]: disconnect from
tnpsan1.(domain).com[10.12.0.101]
Postfix Configuration
queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
data_directory = /var/lib/postfix
mail_owner = postfix
myhostname = smtp.(domain2).com
mydomain = (domain2).com
myorigin = $mydomain
inet_interfaces = all
inet_protocols = ipv4
mydestination = $myhostname, localhost.$mydomain, localhost
unknown_local_recipient_reject_code = 450
mynetworks = cidr:/etc/postfix/mynetworks.cidr
masquerade_domains = (domain).com
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
debug_peer_level = 2
debug_peer_list = 10.12.0.100 10.12.0.101
debugger_command =
PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
ddd $daemon_directory/$process_name $process_id & sleep 5
sendmail_path = /usr/sbin/sendmail.postfix
newaliases_path = /usr/bin/newaliases.postfix
mailq_path = /usr/bin/mailq.postfix
setgid_group = postdrop
html_directory = no
manpage_directory = /usr/share/man
smtpd_relay_restrictions = permit_mynetworks, reject
message_size_limit = 25480000
relay_destination_concurrency_limit = 10
virtual_alias_maps = hash:/etc/postfix/virtualalias