mail bouncing to devel machine

Hello,
I am having trouble with mailman bounced messages attempting to send to the wrong machine.
Initially I set up mailman in a test environment - hostname sbuild6 has the web interface and mxtest machine was the meil exchanger all went well with testing. We have moved the installation to production machines (mx1 and mx2 are the mail exchangers and a virtual host named mailman handles the web interface. Things seem to be working ok except when I look at the mailq I see hundreds of attempts to send to mailman@sbuild6 ... The couple of test lists I have are working but how can I fix the mailq issue? Here is an example from the mailq from the prod mail exchangers.
177FC194C 2130 Sun Jun 22 19:05:16 mailman-bounces@nersc.gov (delivery temporarily suspended: connect to sbuild6.nersc.gov[128.55.16.186]: Co nnection timed out) mailman-owner@sbuild6.nersc.gov
11F6C1C04 2130 Sun Jun 22 19:35:13 mailman-bounces@nersc.gov (delivery temporarily suspended: connect to sbuild6.nersc.gov[128.55.16.186]: Co nnection timed out)
The aliases file has no reference to mailman@sbuild6 and the config file is as follows:
# Put YOUR site-specific settings below this line. MTA = 'Postfix' #POSTFIX_ALIAS_CMD = '/usr/local/postfix/sbin/postalias' #POSTFIX_MAP_CMD = '/usr/local/postfix/sbin/postmap' POSTFIX_ALIAS_CMD = '/usr/sbin/postalias' POSTFIX_MAP_CMD = '/usr/sbin/postmap' IMAGE_LOGOS = '/images/' DEFAULT_MAX_MESSAGE_SIZE = 10000 # KB DEFAULT_GENERIC_NONMEMBER_ACTION = 3 DEFAULT_LIST_ADVERTISED = No DEFAULT_SEND_REMINDERS = No USER_FRIENDLY_PASSWORDS = No DEFAULT_SEND_WELCOME_MSG = No DEFAULT_SEND_GOODBYE_MSG = Yes DEFAULT_ADMIN_IMMED_NOTIFY = Yes DEFAULT_ARCHIVE = Off DEFAULT_MSG_FOOTER = """_______________________________________________ %(real_name)s mailing list %(real_name)s@%(host_name)s """ DEFAULT_DIGEST_FOOTER = DEFAULT_MSG_FOOTER add_virtualhost('mailman.nersc.gov','mx2.nersc.gov') DEFAULT_EMAIL_HOST = 'mx2.nersc.gov' DEFAULT_URL_HOST = 'mailman.nersc.gov' DEFAULT_SUBSCRIBE_POLICY = 3 ARCHIVE_TO_MBOX = 2 SUBSCRIBE_POLICY = 3
Thank You,
Mark

Mark Heer wrote:
I am having trouble with mailman bounced messages attempting to send to the wrong machine.
Initially I set up mailman in a test environment - hostname sbuild6 has the web interface and mxtest machine was the meil exchanger all went well with testing. We have moved the installation to production machines (mx1 and mx2 are the mail exchangers and a virtual host named mailman handles the web interface. Things seem to be working ok except when I look at the mailq I see hundreds of attempts to send to mailman@sbuild6 ... The couple of test lists I have are working but how can I fix the mailq issue? Here is an example from the mailq from the prod mail exchangers.
177FC194C 2130 Sun Jun 22 19:05:16 mailman-bounces@nersc.gov (delivery temporarily suspended: connect to sbuild6.nersc.gov[128.55.16.186]: Co nnection timed out) mailman-owner@sbuild6.nersc.gov
It appears that a message with envelope from mailman-bounces@nersc.gov is being sent to mailman-owner@sbuild6.nersc.gov.
Check the host_name attribute of the mailman list.
[...]
add_virtualhost('mailman.nersc.gov','mx2.nersc.gov') DEFAULT_EMAIL_HOST = 'mx2.nersc.gov' DEFAULT_URL_HOST = 'mailman.nersc.gov'
This doesn't seem right. First, if these aren't the DEFAULT_EMAIL_HOST and DEFAULT_URL_HOST values from Defaults.py, it is good to put
VIRTUAL_HOSTS.clear()
ahead of the first add_virtualhost in mm_cfg.py to remove the irrelevant entry from Defaults.py, but that isn't what I'm focusing on.
Do you really want DEFAULT_EMAIL_HOST and the email host value in the add_virtualhost to be 'mx2.nersc.gov'. What you want there is the domain that list mail should be addressed to, not the MX for that domain.
Perhaps you do understand this and what you have is correct, but it is curious.
In any case, I suspect at least some of your lists have the wrong host_name and maybe there are web_page_url issues too. See <http://wiki.list.org/x/mIA9>.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (2)
-
Mark Heer
-
Mark Sapiro