Mail Server / Postfix Loopback Errors

fpdesignco

Registered
Hello,

We recently ran into a problem with our current configuration where a post fix loopback error occurs. This is a secondary server that will relay only to users on the network, as our settings will show. On a side note the workgroups are not intergrating into the user list under server admin / mail. Our configuration settings / Error logs are as follows

So,
Seconday domain for mail is mail2.webster.k12.mo.us


Code:
Sep 14 13:53:55 localhost postfix/smtpd[1028]: disconnect from mail.webster.k12.mo.us[204.184.92.241]
Sep 14 13:53:55 localhost postfix/smtp[1036]: warning: mailer loop: best MX host for mail2.webster.k12.mo.us is local
Sep 14 13:53:55 localhost postfix/smtp[1036]: 25B8F25441: to=<par@mail2.webster.k12.mo.us>, relay=none, delay=0, 
status=bounced (mail for mail2.webster.k12.mo.us loops back to myself)
Sep 14 13:53:55 localhost postfix/cleanup[1034]: 6771225443: message-id=<20050914185355.6771225443@localhost.com>
Sep 14 13:53:55 localhost postfix/qmgr[310]: 6771225443: from=<>, size=2401, nrcpt=1 (queue active)
Sep 14 13:53:55 localhost postfix/smtp[1036]: 6771225443: to=<bill@mail.webster.k12.mo.us>, 
relay=statesmen.webster.k12.mo.us[204.184.92.242], delay=0, status=sent (250 Ok: queued as 4120A200058F)
Sep 14 14:03:07 localhost postfix/smtpd[1144]: connect from mail.webster.k12.mo.us[204.184.92.241]
Sep 14 14:03:07 localhost postfix/smtpd[1144]: 3C5E4254B0: client=mail.webster.k12.mo.us[204.184.92.241]
Sep 14 14:03:07 localhost postfix/cleanup[1146]: 3C5E4254B0: message-
id=<fc.0119ec6a0036d4bf0119ec6a0036d4bf.36d4c3@mail.webster.k12.mo.us>
Sep 14 14:03:07 localhost postfix/qmgr[310]: 3C5E4254B0: from=<bill@mail.webster.k12.mo.us>, size=718, nrcpt=1 (queue active)
Sep 14 14:03:07 localhost postfix/smtpd[1144]: disconnect from mail.webster.k12.mo.us[204.184.92.241]
Sep 14 14:03:07 localhost postfix/smtp[1148]: warning: mailer loop: best MX host for mail2.webster.k12.mo.us is local
Sep 14 14:03:07 localhost postfix/smtp[1148]: 3C5E4254B0: to=<par@mail2.webster.k12.mo.us>, relay=none, delay=0, 
status=bounced (mail for mail2.webster.k12.mo.us loops back to myself)

Code:
# INSTALL-TIME CONFIGURATION INFORMATION
#
# The following parameters are used when installing a new Postfix version.
# 
# sendmail_path: The full pathname of the Postfix sendmail command.
# This is the Sendmail-compatible mail posting interface.
# 
sendmail_path = /usr/sbin/sendmail

# newaliases_path: The full pathname of the Postfix newaliases command.
# This is the Sendmail-compatible command to build alias databases.
#
newaliases_path = /usr/bin/newaliases

# mailq_path: The full pathname of the Postfix mailq command.  This
# is the Sendmail-compatible mail queue listing command.
# 
mailq_path = /usr/bin/mailq

# setgid_group: The group for mail submission and queue management
# commands.  This must be a group name with a numerical group ID that
# is not shared with other accounts, not even with the Postfix account.
#
setgid_group = postdrop

# manpage_directory: The location of the Postfix on-line manual pages.
#
manpage_directory = /usr/share/man

# sample_directory: The location of the Postfix sample configuration files.
#
sample_directory = /usr/share/doc/postfix/examples

# readme_directory: The location of the Postfix README files.
#
readme_directory = /usr/share/doc/postfix

# THE FOLLOWING DEFAULTS ARE SET BY APPLE
#
# bind to localhost only
#
inet_interfaces = all

# turn off relaying for local subnet
#
mynetworks_style = host

# mydomain_fallback: optional domain to use if mydomain is not set and
# myhostname is not fully qualified.  It is ignored if neither are true.
#
mydomain_fallback = localhost
myhostname = localhost.com
mailbox_transport = cyrus
enable_server_options = yes
luser_relay = 
maps_rbl_domains = 
message_size_limit = 10240000
mydestination = $myhostname,localhost.$mydomain,$network,$mynetwork
smtpd_use_tls = no
smtpd_enforce_tls = no
smtpd_tls_loglevel = 0
smtpd_sasl_auth_enable = yes
smtpd_use_pw_server = yes
smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination,permit
smtpd_pw_server_security_options = plain
server_enabled = 1
relayhost = mail2.webster.k12.mo.us
smtpd_client_restrictions = 
always_bcc = 
mynetworks = 127.0.0.1/32,204.184.92.240/32,204.184.92.147,204.184.92.241,204.184.92.1,aa.bb.cc.02
 
fpdesignco said:
Hello,

We recently ran into a problem with our current configuration where a post fix loopback error occurs. This is a secondary server that will relay only to users on the network, as our settings will show. On a side note the workgroups are not intergrating into the user list under server admin / mail. Our configuration settings / Error logs are as follows

So,
Seconday domain for mail is mail2.webster.k12.mo.us

have you added mail2.webster.k12.mo.us to the local host aliases in server admin/mail/advanced tab/hosting tab ?
 
fpdesignco said:
Hello,

We recently ran into a problem with our current configuration where a post fix loopback error occurs. This is a secondary server that will relay only to users on the network, as our settings will show. On a side note the workgroups are not intergrating into the user list under server admin / mail. Our configuration settings / Error logs are as follows

So,
Seconday domain for mail is mail2.webster.k12.mo.us

What does the second server do, play smtp server or also local mail server. Have you set the domain names properly ?

Using e.g. ip-numbers in stead of names does not make it clearer. What are the links between the 1st and 2nd mailserver ?

Thx, kees
 
Back
Top