[Mailman-Users] MailMan won't send list emails

Mark Sapiro mark at msapiro.net
Thu Jul 14 00:56:10 EDT 2016


On 07/13/2016 09:18 PM, Caesar Samsi wrote:
> [including list]
> 
> The log for an inbound email to test at yugi.us <mailto:test at yugi.us> list
> 
> Jul 13 20:48:09 mail postfix/smtpd[10666]: connect from macpro[192.168.1.253]
> Jul 13 20:48:09 mail postfix/smtpd[10666]: Anonymous TLS connection established from macpro[192.168.1.253]: TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)
> Jul 13 20:48:09 mail postfix/smtpd[10666]: E31B13FFF3: client=macpro[192.168.1.253], sasl_method=PLAIN, sasl_username=caesar at samsi.us
> Jul 13 20:48:09 mail postfix/cleanup[10656]: E31B13FFF3: message-id=<A44E390A-43A6-4EAC-9727-311C56DA6BFF at samsi.us>
> Jul 13 20:48:09 mail postfix/qmgr[10476]: E31B13FFF3: from=<caesar at samsi.us>, size=316, nrcpt=1 (queue active)
> Jul 13 20:48:10 mail postfix/smtpd[10684]: connect from localhost[127.0.0.1]
> Jul 13 20:48:11 mail postfix/smtpd[10684]: disconnect from localhost[127.0.0.1]
> Jul 13 20:48:11 mail postfix/smtpd[10684]: connect from localhost[127.0.0.1]
> Jul 13 20:48:11 mail postfix/smtpd[10684]: disconnect from localhost[127.0.0.1]
> Jul 13 20:48:12 mail postfix/smtpd[10687]: connect from localhost[127.0.0.1]
> Jul 13 20:48:12 mail postfix/smtpd[10687]: A44093FFF4: client=localhost[127.0.0.1]
> Jul 13 20:48:12 mail postfix/cleanup[10656]: A44093FFF4: message-id=<A44E390A-43A6-4EAC-9727-311C56DA6BFF at samsi.us>
> Jul 13 20:48:12 mail postfix/qmgr[10476]: A44093FFF4: from=<caesar at samsi.us>, size=933, nrcpt=1 (queue active)
> Jul 13 20:48:12 mail amavis[9530]: (09530-14) Passed CLEAN {RelayedInternal}, LOCAL [192.168.1.253]:65462 <caesar at samsi.us> -> <test at yugi.us>, Queue-ID: E31B13FFF3, Message-ID: <A44E390A-43A6-4EAC-9727-311C56DA6BFF at samsi.us>, mail_id: lnzQpKxIXYKy, Hits: -0.002, size: 316, queued_as: A44093FFF4, 2809 ms
> Jul 13 20:48:12 mail postfix/smtp[10658]: E31B13FFF3: to=<test at yugi.us>, relay=127.0.0.1[127.0.0.1]:10024, delay=2.9, delays=0.03/0.01/0.02/2.8, dsn=2.0.0, status=sent (250 2.0.0 from MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: queued as A44093FFF4)
> Jul 13 20:48:12 mail postfix/qmgr[10476]: E31B13FFF3: removed
> Jul 13 20:48:12 mail dovecot: lda(test at yugi.us): msgid=<A44E390A-43A6-4EAC-9727-311C56DA6BFF at samsi.us>: saved mail to INBOX
> Jul 13 20:48:12 mail postfix/pipe[10664]: A44093FFF4: to=<test at yugi.us>, relay=dovecot, delay=0.18, delays=0.03/0.01/0/0.14, dsn=2.0.0, status=sent (delivered via dovecot service)
> Jul 13 20:48:12 mail postfix/qmgr[10476]: A44093FFF4: removed


Dovecot delivery does not look at aliases.

> Postfix config:
> 
...
> virtual_alias_maps = mysql:/etc/postfix/mysql_virtual_alias_maps.cf,
> mysql:/etc/postfix/mysql_virtual_alias_domainaliases_maps.cf,
> hash:/var/lib/mailman/data/virtual-mailman

Adding

virtual_alias_domains = yugi.us

may help if yugi.us is not a virtual_mailbox_domain, but it may not and
if it does help, it may break delivery to non-mailman addresses @yugi.us.

If yugi.us is a virtual_mailbox_domain, i.e. is in
mysql:/etc/postfix/mysql_virtual_domains_maps.cf and can't be removed,
you may need to use the method at <https://wiki.list.org/x/10715238> to
generate transport maps to the local: transport, or you could possibly
use some other domain which is not a virtual_mailbox_domain for your
list mail.

Note that all of this is because of using the Dovecot LDA as
virtual_transport. The default Postfix virtual transport will use
virtual_alias_maps for virtual_mailbox_domains.


> virtual_gid_maps = static:8
> virtual_mailbox_base = /var/vmail
> virtual_mailbox_domains = mysql:/etc/postfix/mysql_virtual_domains_maps.cf
> virtual_mailbox_maps = mysql:/etc/postfix/mysql_virtual_mailbox_maps.cf,
> mysql:/etc/postfix/mysql_virtual_mailbox_domainaliases_maps.cf
> virtual_transport = dovecot
> virtual_uid_maps = static:150

-- 
Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan


More information about the Mailman-Users mailing list