I have a server running postfix on port 25 and a secondary mail
platform listening on port 2525.  I have tried many combinations of
settings but keep getting:

Feb 12 08:34:43 server1 postfix/smtp[11104]: 19183EB01F0:
to=<u...@domain.com>, relay=none, delay=6.9, delays=6.9/0.01/0/0,
dsn=5.4.6, status=bounced (mail for domain.com loops back to myself)

My server name is "server1.domain.com" and my mail platform on 2525 is
hosting "domain.com".  What settings in my main.cf will prevent
postfix from thinking this is a loop?

[root@server1 log]# postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
data_directory = /var/lib/postfix
debug_peer_level = 2
default_rbl_reply = $rbl_code Service unavailable; $rbl_class
[$rbl_what] blocked using $rbl_domain${rbl_reason?; $rbl_reason}
header_checks = regexp:/etc/postfix/header_checks
html_directory = /usr/share/doc/postfix-2.7.2-documentation/html
mail_owner = postfix
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
newaliases_path = /usr/bin/newaliases.postfix
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.7.2-documentation/readme
relay_domains = $mydestination, domain.com
sample_directory = /etc/postfix
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtpd_recipient_restrictions = permit_mynetworks,
permit_sasl_authenticated,  reject_invalid_hostname,
reject_non_fqdn_sender,  reject_non_fqdn_recipient,
reject_unknown_sender_domain,  reject_unknown_recipient_domain,
reject_unauth_destination,  reject_rbl_client zen.spamhaus.org,
reject_rbl_client cbl.abuseat.org,  reject_rbl_client bl.spamcop.net,
permit
unknown_local_recipient_reject_code = 550

/etc/postfix/transport
domain.com            smtp:[192.168.1.3]:2525

I have tried limiting postfix to listening only on loopback and
192.168.1.1:25 and the mail platform to listen only on 192.168.1.3:25
then adjusting the transport file accordingly but it still bounces the
message.

Thanks for the help.

Dave

Reply via email to