On 11/01/2017 12:35 PM, Nick Wyman wrote:
> Emailing mailman-ow...@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 mail...@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 <m...@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/archive%40jab.org

Reply via email to