On 11/01/2015 12:28 AM, Amaury Viera Hernández wrote: > > Thanks for your quickly answer. Everything is fine but I have another > problem now. I have created the mailman alias in MySQL.
I'm not sure what 'mailman' alias you created. This should not be needed. See below. > When a user > request to the list administrator the subscription to the list the > administrator, the list administrator is not receiving the mail. In the > postfix logs appear this messages: > Nov 1 00:26:14 mailserver postfix/smtpd[7055]: connect from > localhost[127.0.0.1] > Nov 1 00:26:15 mailserver postfix/smtpd[7055]: 30F2021402: > client=localhost[127.0.0.1] > Nov 1 00:26:16 mailserver postfix/cleanup[7111]: 30F2021402: > message-id=<[email protected]> > Nov 1 00:26:16 mailserver postfix/qmgr[1953]: 30F2021402: > from=<[email protected]>, size=1200, nrcpt=2 (queue active) > Nov 1 00:26:16 mailserver postfix/smtpd[7055]: disconnect from > localhost[127.0.0.1] Above is receipt of message-id <[email protected]> (a Mailman generated ID) apparently from the 'mailman' list with Postfix ID 30F2021402. > Nov 1 00:26:32 mailserver postfix/smtpd[7107]: connect from > localhost[127.0.0.1] > Nov 1 00:26:32 mailserver postfix/smtpd[7107]: D814621432: > client=localhost[127.0.0.1] > Nov 1 00:26:32 mailserver postfix/smtpd[7108]: connect from > localhost[127.0.0.1] > Nov 1 00:26:32 mailserver postfix/cleanup[7061]: D814621432: > message-id=<[email protected]> > Nov 1 00:26:32 mailserver postfix/smtpd[7108]: E10EE21459: > client=localhost[127.0.0.1] > Nov 1 00:26:32 mailserver postfix/qmgr[1953]: D814621432: > from=<[email protected]>, size=2649, nrcpt=1 (queue active) > Nov 1 00:26:32 mailserver postfix/smtpd[7107]: disconnect from > localhost[127.0.0.1] > Nov 1 00:26:32 mailserver postfix/cleanup[7111]: E10EE21459: > message-id=<[email protected]> And above are two more receipts of the same message with Postfix IDs D814621432 and E10EE21459. > Nov 1 00:26:32 mailserver amavis[1665]: (01665-06) Passed CLEAN > {RelayedInternal}, MYNETS/MYUSERS LOCAL [127.0.0.1]:36203 [127.0.0.1] > <[email protected]> -> > <[email protected]>, Queue-ID: 30F2021402, Message-ID: > <[email protected]>, mail_id: > d0iNH8sq7q2i, Hits: -0.621, size: 1200, queued_as: D814621432, > dkim_new=dkim:dominio.pdc.cu, 16692 ms This is Postfix ID 30F2021402 passing through amavis and being requeued as D814621432 (out of sequence as D814621432 was received above). > Nov 1 00:26:32 mailserver postfix/qmgr[1953]: E10EE21459: > from=<[email protected]>, size=2623, nrcpt=1 (queue active) > Nov 1 00:26:32 mailserver postfix/smtpd[7108]: disconnect from > localhost[127.0.0.1] > Nov 1 00:26:33 mailserver amavis[1667]: (01667-06) Passed CLEAN > {RelayedInternal}, MYNETS/MYUSERS LOCAL [127.0.0.1]:36203 [127.0.0.1] > <[email protected]> -> <[email protected]>, Queue-ID: > 30F2021402, Message-ID: > <[email protected]>, mail_id: > 8RQ7kxJdlJqn, Hits: -0.621, size: 1200, queued_as: E10EE21459, > dkim_new=dkim:dominio.pdc.cu, 16727 ms And here 30F2021402 passes through amavis and is requeued as E10EE21459. It appears there may have been some duplication here for some reason as the original 30F2021402 was delivered twice to amavis. > Nov 1 00:26:33 mailserver postfix/smtp[7064]: 30F2021402: > to=<[email protected]>, > relay=127.0.0.1[127.0.0.1]:10024, delay=18, delays=1.3/0.01/0.02/17, > 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 D814621432) Here (out of sequence) the original 30F2021402 is received from amavis and requeued as D814621432 for [email protected]. > Nov 1 00:26:33 mailserver postfix/smtp[7065]: 30F2021402: > to=<[email protected]>, relay=127.0.0.1[127.0.0.1]:10024, delay=18, > delays=1.3/0/0.02/17, 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 E10EE21459) And similarly for 30F2021402 received from amavis and requeued as E10EE21459 for [email protected]. > Nov 1 00:26:33 mailserver postfix/qmgr[1953]: 30F2021402: removed > Nov 1 00:26:33 mailserver postfix/pipe[7112]: E10EE21459: > to=<[email protected]>, relay=dovecot, delay=0.23, > delays=0.07/0.04/0/0.12, dsn=2.0.0, status=sent (delivered via dovecot > service) And here E10EE21459 for [email protected] is delivered via dovecot. > Nov 1 00:26:33 mailserver postfix/qmgr[1953]: E10EE21459: removed > Nov 1 00:26:33 mailserver postfix/pipe[7917]: D814621432: > to=<[email protected]>, relay=mailman, delay=0.42, > delays=0.06/0.12/0/0.25, dsn=2.0.0, status=sent (delivered via mailman > service) And here, D814621432 for [email protected] is delivered to Mailman by the 'mailman' transport (presumably postfix-to-mailman.py, see <http://wiki.list.org/x/15564817>, particularly the 3rd paragraph). > Nov 1 00:26:33 mailserver postfix/qmgr[1953]: D814621432: removed > Nov 1 00:26:34 mailserver postfix/smtpd[7055]: connect from > localhost[127.0.0.1] > Nov 1 00:26:34 mailserver postfix/smtpd[7055]: NOQUEUE: reject: RCPT > from localhost[127.0.0.1]: 550 5.1.0 > <[email protected]>: Sender address rejected: User > unknown in virtual mailbox table; > from=<[email protected]> > to=<[email protected]> proto=ESMTP > helo=<mailserver.dominio.pdc.cu> And finally, we get to what I think your problem is. The message to mailman-owner has passed through mailman and is being resent to the owner of the list, [email protected], but this is rejected by Postfix. It is rejected because the sender, [email protected] is an 'unknown' address (it is only known via the 'mailman' transport. `postconf -n` output would help, but presumably this occurs because you have specified something in Postfix smtpd_sender_restrictions that is incompatible with postfix-to-mailman.py delivery since the 'listname-bounces' addresses are not being allowed as senders. -- Mark Sapiro <[email protected]> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan ------------------------------------------------------ Mailman-Users mailing list [email protected] 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
