Thanks you so much Mark, I appreciate your help!
Yes, I did: [mta] incoming: mailman.mta.postfix.LMTP outgoing: mailman.mta.deliver.deliver lmtp_host: newlistserv.aaas.org lmtp_port: 8024 smtp_host: newlistserv.aaas.org smtp_port: 25 configuration: python:mailman.config.postfix
# postconf recipient_delimiter recipient_delimiter = +
# postconf owner_request_special owner_request_special = no
in main.cf: local_recipient_maps = hash:/opt/mailman/var/data/postfix_lmtp transport_maps = hash:/opt/mailman/var/data/postfix_lmtp virtual_alias_maps = hash:/opt/mailman/var/data/postfix_vmap
Bur for some reason the postfix_lmtp.db is older than postfix_lmtp, which means it does not get updated automated, I guess.
I restarted the whole stack and added a new list. In postfix logs I see: Apr 17 18:20:28 mailmandev01 postfix/smtpd[31399]: error: open database /opt/mailman/var/data/postfix_domains.db: No such file or directory Apr 17 18:20:28 mailmandev01 postfix/smtpd[31399]: error: open database /opt/mailman/var/data/postfix_vmap.db: No such file or directory
I touched the /opt/mailman/var/data/postfix_vmap, but it did not help neither.
In addition, I found out this :
On my old mailman2 I have a setting in postfix main.cf: alias_maps = dbm:/usr/local/mailman/data/aliases
the file /usr/local/mailman/data/aliases says in its first line: # This file is generated by Mailman, and is kept in sync with the # binary hash file aliases.db. YOU SHOULD NOT MANUALLY EDIT THIS FILE
This makes a lot of sense to me.
The point is I am missing any similar settings on postfix on mailman3. Maybe local_recipient_maps do that, but as I mentioned the DB file is older than the text file. The result is that the list (which is actually a postfix user) is unknown to postfix completely. Now what is missing here? It appears that postorius can talk to postfix to send welcome messages out, but Postfix is not aware about the User that Postorius has created and exists in SQLite DB. So rejects any email addressed to that one.
Thanks Mohsen
-----Original Message----- From: Mark Sapiro <mark@msapiro.net> Sent: Wednesday, April 15, 2020 10:09 PM To: mailman-users@mailman3.org Subject: [MM3-users] Re: Recipient address rejected: User unknown in local recipient table
[EXTERNAL EMAIL]
On 4/15/20 3:47 PM, Mohsen Masoudfar wrote:
I am new to mailman3, my understanding was, maybe wrong, that when I create a list, mailman3 adds that to the local list of users. I think , I am missing something . . . Or probably this is related to a postfix setting?
Have you configured Mailman core and Postfix per <https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmailman.readthedocs.io%2Fen%2Flatest%2Fsrc%2Fmailman%2Fdocs%2Fmta.html%23postfix&data=01%7C01%7Cmmasoudf%40aaas.org%7C4f8dca2008ad44a71ff808d7e1ab4159%7C2eebd8ff9ed140f0a15638e5dfb3bc56%7C0&sdata=5rGHO7dWgPOCo1qiRcuverQZm0IOtHsSmUcz59qujmo%3D&reserved=0>?
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Mailman-users mailing list -- mailman-users@mailman3.org To unsubscribe send an email to mailman-users-leave@mailman3.org https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.mail...