mail for lists.ccalternatives.org loops back to myself, then Recipient address rejected
Environment: Debian 10; Postfix 3.4.14; GNU Mailman 3.3.5; Mailman Core API Version 3.1; Mailman Core Python Version 3.7.3
Digging a hole after having simply created a new mailing list. This has not happened before. Steps taken:
-Created list via web interface -Added subscribers via web interface -Sent email to listname -Received error bounce:
This is the mail system at host zarathustra.ccalternatives.org.
I'm sorry to have to inform you that your message could not be delivered to one or more recipients. It's attached below.
For further assistance, please send mail to postmaster.
If you do so, please include this problem report. You can delete your own text from the attached returned message.
The mail system
<Deepadaptation@lists.ccalternatives.org>: mail for lists.ccalternatives.org loops back to myself
-Added lists.ccalternatives.org to the mydestination line in /etc/postfix/main.cf and restarted Postfix -Now a new error message: <Deepadaptation@lists.ccalternatives.org>: host lists.ccalternatives.org[192.46.218.224] said: 550 5.1.1 <Deepadaptation@lists.ccalternatives.org>: Recipient address rejected: User unknown in local recipient table (in reply to RCPT TO command)
On 6/9/22 18:12, Christian Stalberg via Mailman-users wrote:
-Added lists.ccalternatives.org to the mydestination line in /etc/postfix/main.cf and restarted Postfix -Now a new error message: <Deepadaptation@lists.ccalternatives.org>: host lists.ccalternatives.org[192.46.218.224] said: 550 5.1.1 <Deepadaptation@lists.ccalternatives.org>: Recipient address rejected: User unknown in local recipient table (in reply to RCPT TO command)
See https://docs.mailman3.org/projects/mailman/en/latest/src/mailman/docs/mta.ht...
- in particular local_recipient_maps.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Main.cf had
transport_maps = hash:/opt/mailman/mm/var/data/postfix_lmtp local_recipient_maps = hash:/opt/mailman/mm/var/data/postfix_lmtp relay_domains = hash:/opt/mailman/mm/var/data/postfix_domains
I then changed local_recipient_maps to
transport_maps = hash:/opt/mailman/mm/var/data/postfix_lmtp local_recipient_maps = proxy:unix:passwd.byname $alias_maps hash:/opt/mailman/mm/var/data/postfix_lmtp relay_domains = hash:/opt/mailman/mm/var/data/postfix_domains
I then restarted postfix & mailman. When sending a message to the list I am still getting the same error I had before
<Deepadaptation@lists.ccalternatives.org>: host lists.ccalternatives.org[192.46.218.224] said: 550 5.1.1 <Deepadaptation@lists.ccalternatives.org>: Recipient address rejected: User unknown in local recipient table (in reply to RCPT TO command)
help please!
-----Original Message----- From: Mark Sapiro <mark@msapiro.net> Sent: Friday, June 10, 2022 4:22 PM To: mailman-users@mailman3.org Subject: [MM3-users] Re: mail for lists.ccalternatives.org loops back to myself, then Recipient address rejected
On 6/9/22 18:12, Christian Stalberg via Mailman-users wrote:
-Added lists.ccalternatives.org to the mydestination line in /etc/postfix/main.cf and restarted Postfix -Now a new error message: <Deepadaptation@lists.ccalternatives.org>: host lists.ccalternatives.org[192.46.218.224] said: 550 5.1.1 <Deepadaptation@lists.ccalternatives.org>: Recipient address
rejected:
User unknown in local recipient table (in reply to RCPT TO command)
See https://docs.mailman3.org/projects/mailman/en/latest/src/mailman/docs/mta.ht ml#transport-maps
- in particular local_recipient_maps.
-- 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://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/
Christian Stalberg via Mailman-users writes:
Main.cf had
transport_maps = hash:/opt/mailman/mm/var/data/postfix_lmtp local_recipient_maps = hash:/opt/mailman/mm/var/data/postfix_lmtp relay_domains = hash:/opt/mailman/mm/var/data/postfix_domains
This configuration produced the error message:
/etc/postfix/main.cf and restarted Postfix -Now a new error message:
<Deepadaptation@lists.ccalternatives.org>: host
lists.ccalternatives.org[192.46.218.224] said: 550 5.1.1
<Deepadaptation@lists.ccalternatives.org>: Recipient address
rejected:
User unknown in local recipient table (in reply to RCPT TO command)
Is that correct?
I then changed local_recipient_maps to
transport_maps = hash:/opt/mailman/mm/var/data/postfix_lmtp local_recipient_maps = proxy:unix:passwd.byname $alias_maps hash:/opt/mailman/mm/var/data/postfix_lmtp relay_domains = hash:/opt/mailman/mm/var/data/postfix_domains
And this produces the same error, is that correct?
I don't think this can affect the Mailman lists, because there should be no configuration related to them in proxy:unix:passwd.byname or $alias_maps. If you don't need them for non-Mailman processing, don't add them.
I then restarted postfix & mailman. When sending a message to the list I am still getting the same error I had before
The problem seems to be that the "Deepadaptation" list addresses are not in the postfix_lmtp file.
Try
- run the "mailman aliases" command, then
- run the "postmap" command.
These are usually run automatically, but it is the first thing to try if you have having this kind of trouble.
The second thing, maybe you have to get the spelling (including upper/lower case) exactly right on the list name. Is the Deepadaptation list's mailbox spelled exactly "Deepadaptation" with exactly those upper- and lowercase letters in your Mailman list configuration? (Case differences are very unlikely to be the problem, however.)
After an upgrade of Debian and a reboot, Mailman stopped working. At the command line I tried to start Mailman and I get the following error:
# systemctl restart mailman Job for mailman.service failed because the control process exited with error code. See "systemctl status mailman.service" and "journalctl -xe" for details. root@zarathustra:~# systemctl status mailman.service ● mailman.service - GNU Mailing List Manager Loaded: loaded (/lib/systemd/system/mailman.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Wed 2023-03-08 20:17:45 UTC; 8s ago Process: 31893 ExecStart=/opt/mailman/mm/bin/mailman start (code=exited, status=1/FAILURE)
Mar 08 20:17:45 zarathustra.ccalternatives.org mailman[31893]: from ._collections import coerce_generator_arg as coerce_generator_arg Mar 08 20:17:45 zarathustra.ccalternatives.org mailman[31893]: File "/opt/mailman/mm/venv/lib/python3.7/site-packages/sqlalchemy/util/_collectio ns.py", line 39, in <module> Mar 08 20:17:45 zarathustra.ccalternatives.org mailman[31893]: from .typing import Literal Mar 08 20:17:45 zarathustra.ccalternatives.org mailman[31893]: File "/opt/mailman/mm/venv/lib/python3.7/site-packages/sqlalchemy/util/typing.py" , line 36, in <module> Mar 08 20:17:45 zarathustra.ccalternatives.org mailman[31893]: from typing_extensions import Concatenate as Concatenate # 3.10 Mar 08 20:17:45 zarathustra.ccalternatives.org mailman[31893]: zope.configuration.xmlconfig.ZopeXMLConfigurationError: File "<string>", line 7.2-11.6 Mar 08 20:17:45 zarathustra.ccalternatives.org mailman[31893]: ImportError: cannot import name 'Concatenate' from 'typing_extensions' (/opt/mailman/mm/venv/lib/python3.7/site-packages/t Mar 08 20:17:45 zarathustra.ccalternatives.org systemd[1]: mailman.service: Control process exited, code=exited, status=1/FAILURE Mar 08 20:17:45 zarathustra.ccalternatives.org systemd[1]: mailman.service: Failed with result 'exit-code'. Mar 08 20:17:45 zarathustra.ccalternatives.org systemd[1]: Failed to start GNU Mailing List Manager. lines 1-15/15 (END)
Please advise. Thank you.
Oh and I am running Debian GNU/Linux 10 (buster)
"Christian" == Christian via Mailman-users <mailman-users@mailman3.org> writes:
Christian> , line 36, in <module> Mar 08 20:17:45 Christian> zarathustra.ccalternatives.org mailman[31893]: from Christian> typing_extensions import Concatenate as Concatenate # 3.10
You probably need to update the typing_extensions package. inside your venv.
Peter C
On 3/8/23 12:34, peter@chubb.wattle.id.au wrote:
"Christian" == Christian via Mailman-users <mailman-users@mailman3.org> writes:
Christian> , line 36, in <module> Mar 08 20:17:45 Christian> zarathustra.ccalternatives.org mailman[31893]: from Christian> typing_extensions import Concatenate as Concatenate # 3.10
You probably need to update the typing_extensions package. inside your venv.
Yes, but why?
Something upgraded sqlalchemy > 2.0 but didn't install all its dependencies. The latest versions of sqlalchemy require typing-extensions but sqlalchemy<2.0 didn't require that.
So in the venv, pip install typing-extensions
will probably solve this.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Yes, thank you Mark & Peter. I did that and also eliminated locks that were appearing and it is now working.
-----Original Message----- From: Mark Sapiro <mark@msapiro.net> Sent: Wednesday, March 8, 2023 3:10 PM To: mailman-users@mailman3.org Subject: [MM3-users] Re: Mailman will not restart
On 3/8/23 12:34, peter@chubb.wattle.id.au wrote:
"Christian" == Christian via Mailman-users <mailman-users@mailman3.org> writes:
Christian> , line 36, in <module> Mar 08 20:17:45 Christian> zarathustra.ccalternatives.org mailman[31893]: from Christian> typing_extensions import Concatenate as Concatenate # 3.10
You probably need to update the typing_extensions package. inside your venv.
Yes, but why?
Something upgraded sqlalchemy > 2.0 but didn't install all its dependencies. The latest versions of sqlalchemy require typing-extensions but sqlalchemy<2.0 didn't require that.
So in the venv, pip install typing-extensions
will probably solve this.
-- 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://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/ Archived at: https://lists.mailman3.org/archives/list/mailman-users@mailman3.org/message/ 2SXACQYNAHYSUYY4G33PQQDJKKAIBZZM/
This message sent to csa@web-analysts.net
participants (5)
-
Christian
-
Christian Stalberg
-
Mark Sapiro
-
peter@chubb.wattle.id.au
-
Stephen J. Turnbull