including a template failed
Hi,
I created a new mailinglist and got during the test-process the following errormessage in my mailman.log after: ... Sep 19 22:55:08 2020 (1433) ACCEPT: <000001d68ec7$2553e6e0$6ffbb4a0$@domain-01.de>
Errors:
Sep 19 22:55:09 2020 (1436) Cannot connect to SMTP server localhost on port 25 HTTPSConnectionPool(host='webmail.domain-02.de', port=443): Max retries exceeded with url: /mailman3/postorius/api/templates/list/mylist.lists.domain-03.de/list:member :regular:footer (Caused by NewConnectionError('<urllib3.connec tion.VerifiedHTTPSConnection object at 0x7fc8380f1748>: Failed to establish a new connection: [Errno -2] Name or service not known')) ...
domain02.de isn't involved in mailman3 either as a user domain nor as a list-domain.
After deleting the template mailman3/postorius/api/templates/list/mylist.lists.domain-03.de/list:member: regular:footer the mail to the list is processed without problems:
Sep 19 22:56:22 2020 (1436) <000001d68ec7$2553e6e0$6ffbb4a0$@domain-01.de> smtp to mylist@list.domain-03.de for 1 recips, completed in 0.21389174461364746 seconds Sep 19 22:56:22 2020 (1436) <000001d68ec7$2553e6e0$6ffbb4a0$@wbock.de> post to mylist@list.domain-03.de from user@domain-01.de, 1331 bytes
Please help to solve this problem?
Thanks and regards
Wolfgang
On 9/19/20 2:47 PM, Wolfgang Bock via Mailman-users wrote:
Hi,
I created a new mailinglist and got during the test-process the following errormessage in my mailman.log after: ... Sep 19 22:55:08 2020 (1433) ACCEPT: <000001d68ec7$2553e6e0$6ffbb4a0$@domain-01.de>
Errors:
Sep 19 22:55:09 2020 (1436) Cannot connect to SMTP server localhost on port 25 HTTPSConnectionPool(host='webmail.domain-02.de', port=443): Max retries exceeded with url: /mailman3/postorius/api/templates/list/mylist.lists.domain-03.de/list:member :regular:footer (Caused by NewConnectionError('<urllib3.connec tion.VerifiedHTTPSConnection object at 0x7fc8380f1748>: Failed to establish a new connection: [Errno -2] Name or service not known')) ...
This is wierd. It looks like we are trying to establish a connection to host='webmail.domain-02.de', port=443 in order to GET /mailman3/postorius/api/templates/list/mylist.lists.domain-03.de/list:member:regular:footer, but the error says "Cannot connect to SMTP server localhost on port 25". I have no idea how port 25 is coming into it.
Can you get https://webmail.domain-02.de/mailman3/postorius/api/templates/list/mylist.li... on the Mailman machine?
What is your setting for POSTORIUS_TEMPLATE_BASE_URL?
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Dear Mark,
Q: Can you get https://webmail.domain-02.de/mailman3/postorius/api/templates/list/mylist.li sts.domain-03.de/list:member:regular:footer on the Mailman machine?
A: No
Q: What is your setting for POSTORIUS_TEMPLATE_BASE_URL?
A: was: POSTORIUS_TEMPLATE_BASE_URL = 'http://localhost/mailman3/'
Changed it to: POSTORIUS_TEMPLATE_BASE_URL = 'https://localhost/mailman3/'
Now another problem occurs:
Sep 23 22:51:34 2020 (13492) Cannot connect to SMTP server localhost on port 25 HTTPSConnectionPool ... 'localhost' doesn't match either of 'blog.domain-04.de', 'lists.domain-04.de', 'mail.domain-04.de', 'domain-04.de', 'www.domain-04.de'")))
Port 25 entry results from the manual regarding the postfix configuration:
https://docs.mailman3.org/projects/mailman/en/latest/src/mailman/docs/mta.ht ml
e.g.: [mta] incoming: mailman.mta.postfix.LMTP outgoing: mailman.mta.deliver.deliver lmtp_host: mail.example.com lmtp_port: 8024 smtp_host: mail.example.com smtp_port: 25
Regards
Wolfgang
-----Ursprüngliche Nachricht----- Von: Mark Sapiro <mark@msapiro.net> Gesendet: Sonntag, 20. September 2020 01:05 An: mailman-users@mailman3.org Betreff: [MM3-users] Re: including a template failed
On 9/19/20 2:47 PM, Wolfgang Bock via Mailman-users wrote:
Hi,
I created a new mailinglist and got during the test-process the following errormessage in my mailman.log after: ... Sep 19 22:55:08 2020 (1433) ACCEPT: <000001d68ec7$2553e6e0$6ffbb4a0$@domain-01.de>
Errors:
Sep 19 22:55:09 2020 (1436) Cannot connect to SMTP server localhost on port 25 HTTPSConnectionPool(host='webmail.domain-02.de', port=443): Max retries exceeded with url: /mailman3/postorius/api/templates/list/mylist.lists.domain-03.de/list: member :regular:footer (Caused by NewConnectionError('<urllib3.connec tion.VerifiedHTTPSConnection object at 0x7fc8380f1748>: Failed to establish a new connection: [Errno -2] Name or service not known')) ...
This is wierd. It looks like we are trying to establish a connection to host='webmail.domain-02.de', port=443 in order to GET /mailman3/postorius/api/templates/list/mylist.lists.domain-03.de/list:member :regular:footer, but the error says "Cannot connect to SMTP server localhost on port 25". I have no idea how port 25 is coming into it.
Can you get https://webmail.domain-02.de/mailman3/postorius/api/templates/list/mylist.li sts.domain-03.de/list:member:regular:footer on the Mailman machine?
What is your setting for POSTORIUS_TEMPLATE_BASE_URL?
-- 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/
On 9/23/20 3:03 PM, Wolfgang Bock via Mailman-users wrote:
Dear Mark,
Q: Can you get https://webmail.domain-02.de/mailman3/postorius/api/templates/list/mylist.li sts.domain-03.de/list:member:regular:footer on the Mailman machine?
A: No
Q: What is your setting for POSTORIUS_TEMPLATE_BASE_URL?
A: was: POSTORIUS_TEMPLATE_BASE_URL = 'http://localhost/mailman3/'
Changed it to: POSTORIUS_TEMPLATE_BASE_URL = 'https://localhost/mailman3/'
Can you get https://localhost/mailman3/postorius/api/templates/list/mylist.lists.domain-... on the Mailman machine?
Now another problem occurs:
Sep 23 22:51:34 2020 (13492) Cannot connect to SMTP server localhost on port 25 HTTPSConnectionPool ... 'localhost' doesn't match either of 'blog.domain-04.de', 'lists.domain-04.de', 'mail.domain-04.de', 'domain-04.de', 'www.domain-04.de'")))
The 'HTTPSConnectionPool' message has nothing to do with the 'Cannot connect' issue.
Port 25 entry results from the manual regarding the postfix configuration:
https://docs.mailman3.org/projects/mailman/en/latest/src/mailman/docs/mta.ht ml
e.g.: [mta] incoming: mailman.mta.postfix.LMTP outgoing: mailman.mta.deliver.deliver lmtp_host: mail.example.com lmtp_port: 8024 smtp_host: mail.example.com smtp_port: 25
And I wonder why it's trying to connect to localhost when smtp_host is mail.example.com.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (2)
-
Mark Sapiro
-
Wolfgang Bock