New list's SMTP failures
Hello,
On a server which hosts several mailman lists, a new list is exhibiting odd behavior for owner email addresses. There are two owners, and both are receiving post emails, but are also bouncing what I assume are administrative emails.
The smtp-failure log looks like:
Nov 01 09:37:09 2017 (1387) delivery to <scrubbed> failed with code 553: 5.1.8 <scrubbed>... Domain of sender address mailman-bounces@com does not exist
Note that the sender address is incorrect (default value?). Regular posting emails are delivered with the correct sender address (foo-bounces@domain.com).
Using config_list to inspect the non-working list against a working list produces only the expected differences.
Where should I look next?
Thank you.
On 11/01/2017 07:41 AM, Nick Wyman wrote:
On a server which hosts several mailman lists, a new list is exhibiting odd behavior for owner email addresses. There are two owners, and both are receiving post emails, but are also bouncing what I assume are administrative emails.
The smtp-failure log looks like:
Nov 01 09:37:09 2017 (1387) delivery to <scrubbed> failed with code 553: 5.1.8 <scrubbed>... Domain of sender address mailman-bounces@com does not exist
If it actually says "mailman-bounces@com", go to the list's web admin UI and look at the setting for host_name near the bottom of the General Options page. It will be "com". Set it to the actual correct email domain name for this list.
Note that the sender address is incorrect (default value?). Regular posting emails are delivered with the correct sender address (foo-bounces@domain.com).
Using config_list to inspect the non-working list against a working list produces only the expected differences.
It doesn't show a difference in the host_name setting?
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Mark, thank you for your reply.
Yes, the hostname variable for the list is correct. The posting emails from the list are delivered correctly.
I now think this is due to a spam email which was sent to mailman@mydomain.com (it's stuck in my mail queue) which is somehow erroneously being processed by mailman and routed to this particular list's owners, but with a bad sender address.
Does this seem plausible?
I see a "mailman" list in /etc/aliases and ../mailman/lists, but there isn't a "mailman" list in my web config. I did dump the configuration for the "mailman" list via config_list and hostname is set correctly.
-----Original Message----- From: Mailman-Users [mailto:mailman-users- bounces+nwyman=viablecomputing.com@python.org] On Behalf Of Mark Sapiro Sent: Wednesday, November 01, 2017 10:34 AM To: mailman-users@python.org Subject: Re: [Mailman-Users] New list's SMTP failures
On 11/01/2017 07:41 AM, Nick Wyman wrote:
On a server which hosts several mailman lists, a new list is exhibiting odd
behavior for owner email addresses. There are two owners, and both are receiving post emails, but are also bouncing what I assume are administrative emails.
The smtp-failure log looks like:
Nov 01 09:37:09 2017 (1387) delivery to <scrubbed> failed with code 553:
5.1.8 <scrubbed>... Domain of sender address mailman-bounces@com does not exist
If it actually says "mailman-bounces@com", go to the list's web admin UI and look at the setting for host_name near the bottom of the General Options page. It will be "com". Set it to the actual correct email domain name for this list.
Note that the sender address is incorrect (default value?). Regular posting emails are delivered with the correct sender address (foo- bounces@domain.com).
Using config_list to inspect the non-working list against a working list produces only the expected differences.
It doesn't show a difference in the host_name setting?
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Mailman-Users mailing list Mailman-Users@python.org https://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman- users%40python.org/ Unsubscribe: https://mail.python.org/mailman/options/mailman- users/nwyman%40viablecomputing.com
On 11/01/2017 09:19 AM, Nick Wyman wrote:
I now think this is due to a spam email which was sent to mailman@mydomain.com (it's stuck in my mail queue) which is somehow erroneously being processed by mailman and routed to this particular list's owners, but with a bad sender address.
Does this seem plausible?
Perhaps.
I see a "mailman" list in /etc/aliases and ../mailman/lists, but there isn't a "mailman" list in my web config. I did dump the configuration for the "mailman" list via config_list and hostname is set correctly.
Is this cPanel? If so, see the thread beginning at <https://www.mail-archive.com/mailman-users@python.org/msg69885.html>.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
On 11/01/2017 09:19 AM, Nick Wyman wrote:
I now think this is due to a spam email which was sent to mailman@mydomain.com (it's stuck in my mail queue) which is somehow erroneously being processed by mailman and routed to this particular list's owners, but with a bad sender address.
Do you have a copy of this spam email including all headers? That might be helpful.
Also, what happens if you send a message to mailman-owner@... ?
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Emailing mailman-owner@mydomain.com has not worked. The mailman list has valid owner config, but has no members.
Unfortunately, the original spam email has cleared from the mail spool. However, I feel certain that the To: address was mailman@mydomain.com. There were several CC: addresses which are stuck in the queue. This was truly a spam email.
-----Original Message----- From: Mailman-Users [mailto:mailman-users- bounces+nwyman=viablecomputing.com@python.org] On Behalf Of Mark Sapiro Sent: Wednesday, November 01, 2017 2:05 PM To: mailman-users@python.org Subject: Re: [Mailman-Users] New list's SMTP failures
On 11/01/2017 09:19 AM, Nick Wyman wrote:
I now think this is due to a spam email which was sent to
mailman@mydomain.com (it's stuck in my mail queue) which is somehow erroneously being processed by mailman and routed to this particular list's owners, but with a bad sender address.
Do you have a copy of this spam email including all headers? That might be helpful.
Also, what happens if you send a message to mailman-owner@... ?
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Mailman-Users mailing list Mailman-Users@python.org https://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman- users%40python.org/ Unsubscribe: https://mail.python.org/mailman/options/mailman- users/nwyman%40viablecomputing.com
On 11/01/2017 12:35 PM, Nick Wyman wrote:
Emailing mailman-owner@mydomain.com has not worked. The mailman list has valid owner config, but has no members.
What happens to this mail. Can you see it in mail logs? It should be delivered via a pipe to '/path/to/mail/mailman owner mailman' and then Mailman should resend it to the list owner address(es).
How is mail to Mailman delivered? If via aliases, are there aliases for the 'mailman' list?
Unfortunately, the original spam email has cleared from the mail spool. However, I feel certain that the To: address was mailman@mydomain.com. There were several CC: addresses which are stuck in the queue. This was truly a spam email.
Spam or not, it shouldn't result in Mailman sending mail with envelope from mailman-bounces@com.
What is the content of mm_cfg.py? In particular, is there an entry like
add_virtualhost('mydomain.com')
or some entry like
add_virtualhost('DEFAULT_EMAIL_HOST')
If so, these are probably wrong and the underlying cause. I.e. the arguments for add_virtual_host are 'web host' and 'email host' but if only one is provided, the email host becomes the web host with the leftmost subdomain removed. I.e.
add_virtualhost('mydomain.com')
is equivalent to
add_virtualhost('mydomain.com', 'com')
which is never what you want. If both domains are the same, you want
add_virtualhost('mydomain.com', 'mydomain.com')
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (2)
-
Mark Sapiro -
Nick Wyman