On 2019-02-02 17:52:50, Pierre-Elliott Bécue wrote: > Le vendredi 01 février 2019 à 20:26:07-0500, Antoine Beaupre a écrit : >> Package: mailman3 >> Version: 3.2.0-4~bpo9+1 >> Severity: grave >> >> I'm finding it difficult to use the "domain" feature of Mailman 3. From >> what I understand, it allows you to have two distinct mailing lists >> named "test" on (say) [email protected] and [email protected]. >> >> Here I'm specifically using the feature to host my mailing lists on >> lists.anarc.at instead of plain anarc.at. Yet I don't know what I'm >> doing wrong, but all outgoing email comes from [email protected] instead of >> [email protected]. This makes replies obviously fail as the LTMP maps >> don't have that domain: >> >> # grep ^[^#] /var/spool/postfix/mailman3/postfix_domains >> # /var/spool/postfix/mailman3/postfix_lmtp >> /var/spool/postfix/mailman3/postfix_domains:lists.anarc.at lists.anarc.at >> /var/spool/postfix/mailman3/postfix_lmtp: >> /var/spool/postfix/mailman3/postfix_lmtp:[email protected] >> lmtp:[127.0.0.1]:8024 >> /var/spool/postfix/mailman3/postfix_lmtp:[email protected] >> lmtp:[127.0.0.1]:8024 >> /var/spool/postfix/mailman3/postfix_lmtp:[email protected] >> lmtp:[127.0.0.1]:8024 >> /var/spool/postfix/mailman3/postfix_lmtp:[email protected] >> lmtp:[127.0.0.1]:8024 >> /var/spool/postfix/mailman3/postfix_lmtp:[email protected] >> lmtp:[127.0.0.1]:8024 >> /var/spool/postfix/mailman3/postfix_lmtp:[email protected] >> lmtp:[127.0.0.1]:8024 >> /var/spool/postfix/mailman3/postfix_lmtp:[email protected] >> lmtp:[127.0.0.1]:8024 >> /var/spool/postfix/mailman3/postfix_lmtp:[email protected] >> lmtp:[127.0.0.1]:8024 >> /var/spool/postfix/mailman3/postfix_lmtp:[email protected] >> lmtp:[127.0.0.1]:8024 >> >> I've tried various things to fix this: I recreated the "domain" in the >> Posterious interface. I have changed the "mailname" when running >> dpkg-reconfigure mailman3-web, restarting it, which gave me this diff: >> >> --- a/mailman3/mailman-web.py >> +++ b/mailman3/mailman-web.py >> @@ -130,7 +130,7 @@ USE_TZ = True >> >> >> # Set default domain for email addresses. >> -EMAILNAME = 'localhost.local' >> +EMAILNAME = 'anarc.at' >> >> # If you enable internal authentication, this is the address that the emails >> # will appear to be coming from. Make sure you set a valid domain name, >> >> Still, "mass subscribe" emails come out as "[email protected]", even though >> the footer clearly reads: >> >> To unsubscribe send an email to [email protected] >> >> When I write an email there, I get a reply saying to reply to: >> >> [email protected] >> >> ... which is still wrong and will (obviously) bounce. >> >> What's going on here? >> >> Here's a log of an admin mass-subscribing a user: >> >> ==> /var/log/mailman3/web/mailman-web.log <== >> [pid: 2680|app: 0|req: 5/5] 192.168.0.7 () {82 vars in 1587 bytes} [Sat Feb >> 2 01:22:11 2019] POST >> /mailman3/postorius/lists/test.lists.anarc.at/mass_subscribe/ => generated >> 9458 bytes in 468 msecs (HTTP/2.0 200) 6 headers in 317 bytes (3 switches on >> core 0) >> >> ==> /var/log/mail.log <== >> Feb 1 20:22:12 marcos postfix/smtpd[4889]: connect from >> localhost[127.0.0.1] >> Feb 1 20:22:12 marcos postfix/smtpd[4889]: DD2E510E1D8: >> client=localhost[127.0.0.1] >> Feb 1 20:22:12 marcos postfix/cleanup[5789]: DD2E510E1D8: >> message-id=<[email protected]> >> >> ==> /var/log/mailman3/smtp.log <== >> Feb 01 20:22:12 2019 (746) >> <[email protected]> smtp to >> [email protected] for 1 recips, completed in 0.03175711631774902 seconds >> >> ==> /var/log/mail.log <== >> Feb 1 20:22:12 marcos postfix/qmgr[31811]: DD2E510E1D8: >> from=<[email protected]>, size=581, nrcpt=1 (queue active) >> Feb 1 20:22:12 marcos postfix/smtpd[5791]: connect from >> localhost[127.0.0.1] >> >> ==> /var/log/mailman3/smtp.log <== >> Feb 01 20:22:12 2019 (746) >> <[email protected]> post to >> [email protected] from [email protected], 362 bytes >> >> ==> /var/log/mail.log <== >> Feb 1 20:22:12 marcos postfix/smtpd[4889]: disconnect from >> localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 commands=4 >> Feb 1 20:22:12 marcos postfix/smtpd[5791]: EAED510E1DA: >> client=localhost[127.0.0.1] >> Feb 1 20:22:13 marcos spampd[24505]: processing message >> <[email protected]> for >> <[email protected]> ORCPT=rfc822;[email protected] >> Feb 1 20:22:14 marcos spampd[24505]: clean message >> <[email protected]> (-1.31/5.00) from >> <[email protected]> for <[email protected]> >> ORCPT=rfc822;[email protected] in 1.10s, 1087 bytes. >> Feb 1 20:22:14 marcos postfix/cleanup[5789]: EAED510E1DA: >> message-id=<[email protected]> >> Feb 1 20:22:14 marcos postfix/qmgr[31811]: EAED510E1DA: >> from=<[email protected]>, size=1583, nrcpt=1 (queue active) >> Feb 1 20:22:14 marcos postfix/smtp[5799]: DD2E510E1D8: >> to=<[email protected]>, relay=127.0.0.1[127.0.0.1]:10025], delay=1.2, >> delays=0.02/0/0.03/1.2, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as >> EAED510E1DA) >> Feb 1 20:22:14 marcos postfix/smtpd[5791]: disconnect from >> localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5 >> Feb 1 20:22:14 marcos postfix/qmgr[31811]: DD2E510E1D8: removed >> Feb 1 20:22:15 marcos postfix/smtp[5790]: EAED510E1DA: >> to=<[email protected]>, relay=mx1.example.net[...]:25], delay=2.6, >> delays=1.2/0/0.82/0.66, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as >> C47C11A042F) >> Feb 1 20:22:15 marcos postfix/qmgr[31811]: EAED510E1DA: removed >> >> Notice how the smtp.log still thinks it's for [email protected] but then >> goes creating an email from [email protected]? >> >> What's up with that? Did I misconfigure something? >> >> I'm using postfix, hyperkitty, posterious and I don't know what else. >> Let me know if you n eed more info. > > I use a subdomain, too, and got no issue. > > Can you provide me with your MTA and mailman configurations?
Which config files specifically? Here's a bunch of mailman/postfix configs, with some passwords redacted.
etc.tgz
Description: application/gtar-compressed
A.
--
Si les triangles avaient un Dieu, ils lui donneraient trois côtés.
- Montesquieu, Lettres persanes

