Do you actually have the alias for testl...@example.com in either of your aliases files (most probably should be /usr/local/mailman/data/aliases)? The only way postfix will know what to do with that address is via an alias directing it to call a MM function that posts the message to the list. Despite my better judgement, I’m still on v2 & such an entry looks like:
testlist: “|/path_to_mailman/mail/mailman post testlist” Been *many* years, but IIRC the docs note how to set those up properly & it was a manual process (but once you have the set for one list, copy/pasta + a little search/replace will get you the rest). -Guy > On 2025 May 12, at 10:08, Sean McBride <s...@rogue-research.com> wrote: > > Hi all, > > So I have/had a working postfix+dovecot setup, and then I installed mailman2. > > It largely works. The web interface works, I can create lists, list creation > emails are sent to the admin (me), but trying to write to a list (as a > member) fails with a bounce. My maillog shows: > > ``` > May 12 12:19:48 hostname postfix/lmtp[83792]: ED07A32156: > to=<testl...@example.com>, relay=mx.example.com[private/dovecot-lmtp], > delay=0.6, delays=0.59/0/0/0.01, dsn=5.1.1, status=bounced (host > mx.example.com[private/dovecot-lmtp] said: 550 5.1.1 <testl...@example.com> > User doesn't exist: testl...@example.com (in reply to RCPT TO command)) > ``` > > Indeed I wouldn't expect dovecot to know any such user, so I'm not sure what > step I've missed... > > In my postfix main.cf I have: > > ``` > mydomain = example.com > myhostname = mx.example.com > mydestination = $myhostname localhost.$mydomain localhost > myorigin = $mydomain > virtual_alias_maps = hash:/usr/local/etc/postfix/virtual-aliases, > hash:/usr/local/mailman/data/virtual-mailman > alias_maps = hash:/etc/aliases, hash:/usr/local/mailman/data/aliases > ``` > > In my mm_cfg.py I have: > > > ``` > MTA = "Postfix" > POSTFIX_STYLE_VIRTUAL_DOMAINS = ['example.com'] > DEFAULT_EMAIL_HOST = 'example.com' > DEFAULT_URL_HOST = 'mailman.example.com' > VIRTUAL_HOSTS.clear() > add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST) > ``` > > Any clues would be greatly appreciated. > > Thanks, > > Sean > ------------------------------------------------------ > Mailman-Users mailing list -- mailman-users@python.org > To unsubscribe send an email to mailman-users-le...@python.org > https://mail.python.org/mailman3/lists/mailman-users.python.org/ > Mailman FAQ: http://wiki.list.org/x/AgA3 > Security Policy: http://wiki.list.org/x/QIA9 > Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/ > https://mail.python.org/archives/list/mailman-users@python.org/ > Member address: g...@extragalactic.net ------------------------------------------------------ Mailman-Users mailing list -- mailman-users@python.org To unsubscribe send an email to mailman-users-le...@python.org https://mail.python.org/mailman3/lists/mailman-users.python.org/ Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/ https://mail.python.org/archives/list/mailman-users@python.org/ Member address: arch...@mail-archive.com