![](https://secure.gravatar.com/avatar/9c3e9b419fe3664a69248acf78df0271.jpg?s=120&d=mm&r=g)
Hi, I'm administering and moderating a professional list called LIS-Forum with close to 5k members. I'm still on Mailman 2.1.26 on Ubuntu 18.04 with Postfix as an MTA.
Till recently, the list was running smoothly. On average, there will be 2/3 postings every day. However, postings have not been received in the last two days. When I explored further, I noticed that postings made to the list are not reaching the list, nor are the members posting messages getting acknowledgements.
I'm using SMTP Office 365 as the relay host. Generic emails sent from the Mailman server are getting distributed. So, there aren't any issues with incoming or outgoing emails. Mailman as service is up and running, and its service status is as follows:
#service mailman status â mailman.service - Mailman Master Queue Runner Loaded: loaded (/lib/systemd/system/mailman.service; enabled; vendor preset: enabled) Active: active (running) since Thu 2023-11-16 14:11:31 IST; 30min ago Process: 2586 ExecStop=/usr/lib/mailman/bin/mailmanctl stop (code=exited, status=0/SUCCESS) Process: 2616 ExecStart=/usr/lib/mailman/bin/mailmanctl -s start (code=exited, status=0/SUCCESS) Main PID: 2617 (mailmanctl) Tasks: 9 (limit: 4915) CGroup: /system.slice/mailman.service ââ2617 /usr/bin/python /usr/lib/mailman/bin/mailmanctl -s start ââ2619 /usr/bin/python /var/lib/mailman/bin/qrunner --runner=ArchRunner:0:1 -s ââ2620 /usr/bin/python /var/lib/mailman/bin/qrunner --runner=BounceRunner:0:1 -s ââ2621 /usr/bin/python /var/lib/mailman/bin/qrunner --runner=CommandRunner:0:1 -s ââ2622 /usr/bin/python /var/lib/mailman/bin/qrunner --runner=IncomingRunner:0:1 -s ââ2623 /usr/bin/python /var/lib/mailman/bin/qrunner --runner=NewsRunner:0:1 -s ââ2624 /usr/bin/python /var/lib/mailman/bin/qrunner --runner=OutgoingRunner:0:1 -s ââ2625 /usr/bin/python /var/lib/mailman/bin/qrunner --runner=VirginRunner:0:1 -s ââ2626 /usr/bin/python /var/lib/mailman/bin/qrunner --runner=RetryRunner:0:1 -s
Nov 16 14:11:31 xxx.xxx.xxx.xx systemd[1]: Starting Mailman Master Queue Runner... Nov 16 14:11:31 xxx.xxx.xxx.xx mailmanctl[2616]: Starting Mailman's master qrunner. Nov 16 14:11:31 xxx.xxx.xxx.xx systemd[1]: mailman.service: Can't open PID file /var/run/mailman/mailman.pid (yet?) after start: No such file or directory Nov 16 14:11:31 ncsi.iisc.ernet.in systemd[1]: Started Mailman Master Queue Runner.
I looked into the log files but found nothing useful to resolve the issue.
Can someone please help me to resolve the issue?
Thanks, and regards, Francis
![](https://secure.gravatar.com/avatar/0fbcef57d028af495d8c9a5992405f78.jpg?s=120&d=mm&r=g)
On Thu, Nov 16, 2023 at 12:21 PM Francis Jayakanth via Mailman-Users < mailman-users@python.org> wrote:
The only plausible reason here is that SMTP Office 365 is the culprit. There is a discussion that happened in the Mailman3 lists that was related to Office 365 as a relay. It is archived at: https://lists.mailman3.org/archives/list/mailman-users@mailman3.org/message/...
Can you maybe look at it and see if what Andrew Hodgson did could help your case?
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-) [How to ask smart questions: http://www.catb.org/~esr/faqs/smart-questions.html]
![](https://secure.gravatar.com/avatar/9c3e9b419fe3664a69248acf78df0271.jpg?s=120&d=mm&r=g)
Hi Odhiambo, Thank you for the reply. I doubt if the SMTP Office 365 is the culprit because the list was running smoothly with the same SMTP relay host for more than a year!
With regards, Francis
From: Odhiambo Washington <odhiambo@gmail.com> Sent: 16 November 2023 15:15 To: Francis Jayakanth <francis@iisc.ac.in> Cc: mailman-users@python.org <mailman-users@python.org> Subject: Re: [Mailman-Users] Unable to post messages to a Mailman 2 List
External Email
On Thu, Nov 16, 2023 at 12:21 PM Francis Jayakanth via Mailman-Users <mailman-users@python.org<mailto:mailman-users@python.org>> wrote: Hi, I'm administering and moderating a professional list called LIS-Forum with close to 5k members. I'm still on Mailman 2.1.26 on Ubuntu 18.04 with Postfix as an MTA.
Till recently, the list was running smoothly. On average, there will be 2/3 postings every day. However, postings have not been received in the last two days. When I explored further, I noticed that postings made to the list are not reaching the list, nor are the members posting messages getting acknowledgements.
I'm using SMTP Office 365 as the relay host. Generic emails sent from the Mailman server are getting distributed. So, there aren't any issues with incoming or outgoing emails. Mailman as service is up and running, and its service status is as follows:
#service mailman status â mailman.service - Mailman Master Queue Runner Loaded: loaded (/lib/systemd/system/mailman.service; enabled; vendor preset: enabled) Active: active (running) since Thu 2023-11-16 14:11:31 IST; 30min ago Process: 2586 ExecStop=/usr/lib/mailman/bin/mailmanctl stop (code=exited, status=0/SUCCESS) Process: 2616 ExecStart=/usr/lib/mailman/bin/mailmanctl -s start (code=exited, status=0/SUCCESS) Main PID: 2617 (mailmanctl) Tasks: 9 (limit: 4915) CGroup: /system.slice/mailman.service ââ2617 /usr/bin/python /usr/lib/mailman/bin/mailmanctl -s start ââ2619 /usr/bin/python /var/lib/mailman/bin/qrunner --runner=ArchRunner:0:1 -s ââ2620 /usr/bin/python /var/lib/mailman/bin/qrunner --runner=BounceRunner:0:1 -s ââ2621 /usr/bin/python /var/lib/mailman/bin/qrunner --runner=CommandRunner:0:1 -s ââ2622 /usr/bin/python /var/lib/mailman/bin/qrunner --runner=IncomingRunner:0:1 -s ââ2623 /usr/bin/python /var/lib/mailman/bin/qrunner --runner=NewsRunner:0:1 -s ââ2624 /usr/bin/python /var/lib/mailman/bin/qrunner --runner=OutgoingRunner:0:1 -s ââ2625 /usr/bin/python /var/lib/mailman/bin/qrunner --runner=VirginRunner:0:1 -s ââ2626 /usr/bin/python /var/lib/mailman/bin/qrunner --runner=RetryRunner:0:1 -s
Nov 16 14:11:31 xxx.xxx.xxx.xx systemd[1]: Starting Mailman Master Queue Runner... Nov 16 14:11:31 xxx.xxx.xxx.xx mailmanctl[2616]: Starting Mailman's master qrunner. Nov 16 14:11:31 xxx.xxx.xxx.xx systemd[1]: mailman.service: Can't open PID file /var/run/mailman/mailman.pid (yet?) after start: No such file or directory Nov 16 14:11:31 ncsi.iisc.ernet.in<http://ncsi.iisc.ernet.in> systemd[1]: Started Mailman Master Queue Runner.
I looked into the log files but found nothing useful to resolve the issue.
Can someone please help me to resolve the issue?
The only plausible reason here is that SMTP Office 365 is the culprit. There is a discussion that happened in the Mailman3 lists that was related to Office 365 as a relay. It is archived at: https://lists.mailman3.org/archives/list/mailman-users@mailman3.org/message/...
Can you maybe look at it and see if what Andrew Hodgson did could help your case?
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-) [How to ask smart questions: http://www.catb.org/~esr/faqs/smart-questions.html]
![](https://secure.gravatar.com/avatar/0fbcef57d028af495d8c9a5992405f78.jpg?s=120&d=mm&r=g)
- Create a new list with only your addresses as members.
- Use one of the addresses to send mail to that new list.
- Check your Postfix as well as mailman's logs for clues. It's inconceivable that you could not find anything in the logs.
On Thu, Nov 16, 2023 at 12:57 PM Francis Jayakanth <francis@iisc.ac.in> wrote:
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-) [How to ask smart questions: http://www.catb.org/~esr/faqs/smart-questions.html]
![](https://secure.gravatar.com/avatar/9c3e9b419fe3664a69248acf78df0271.jpg?s=120&d=mm&r=g)
Thank you for your guidance. I created a new list. I'm able to subscribe and unsubscribe members to the new list. Emails are received when a member subscribes and unsubscribes to the new list. So, there are no issues with the relay host. However, when a message is posted, nothing happens.
I checked the /var/log/mailman folder. The following three files are updated as of today (16 Nov), and there isn't any clue as to why the lists are not receiving the postings.
-rw-rw-r-- 1 list list 1432 Nov 16 16:44 smtp -rw-rw-r-- 1 list list 85623 Nov 16 16:44 subscribe -rw-rw-r-- 1 list list 9431 Nov 16 14:11 qrunner
root@xxxx:/var/log/mailman# tail qrunner
Master qrunner detected subprocess exit (pid: 2164, sig: None, sts: 15, class: VirginRunner, slice: 1/1) Nov 16 14:11:32 2023 (2621) CommandRunner qrunner started. Nov 16 14:11:32 2023 (2619) ArchRunner qrunner started. Nov 16 14:11:32 2023 (2620) BounceRunner qrunner started. Nov 16 14:11:32 2023 (2624) OutgoingRunner qrunner started. Nov 16 14:11:32 2023 (2623) NewsRunner qrunner started. Nov 16 14:11:32 2023 (2622) IncomingRunner qrunner started. Nov 16 14:11:32 2023 (2626) RetryRunner qrunner started. Nov 16 14:11:32 2023 (2625) VirginRunner qrunner started.
From: Odhiambo Washington <odhiambo@gmail.com> Sent: 16 November 2023 15:38 To: Francis Jayakanth <francis@iisc.ac.in> Cc: mailman-users@python.org <mailman-users@python.org> Subject: Re: [Mailman-Users] Unable to post messages to a Mailman 2 List
External Email
- Create a new list with only your addresses as members.
- Use one of the addresses to send mail to that new list.
- Check your Postfix as well as mailman's logs for clues. It's inconceivable that you could not find anything in the logs.
On Thu, Nov 16, 2023 at 12:57 PM Francis Jayakanth <francis@iisc.ac.in<mailto:francis@iisc.ac.in>> wrote: Hi Odhiambo, Thank you for the reply. I doubt if the SMTP Office 365 is the culprit because the list was running smoothly with the same SMTP relay host for more than a year!
With regards, Francis
From: Odhiambo Washington <odhiambo@gmail.com<mailto:odhiambo@gmail.com>> Sent: 16 November 2023 15:15 To: Francis Jayakanth <francis@iisc.ac.in<mailto:francis@iisc.ac.in>> Cc: mailman-users@python.org<mailto:mailman-users@python.org> <mailman-users@python.org<mailto:mailman-users@python.org>> Subject: Re: [Mailman-Users] Unable to post messages to a Mailman 2 List
External Email
On Thu, Nov 16, 2023 at 12:21 PM Francis Jayakanth via Mailman-Users <mailman-users@python.org<mailto:mailman-users@python.org>> wrote: Hi, I'm administering and moderating a professional list called LIS-Forum with close to 5k members. I'm still on Mailman 2.1.26 on Ubuntu 18.04 with Postfix as an MTA.
Till recently, the list was running smoothly. On average, there will be 2/3 postings every day. However, postings have not been received in the last two days. When I explored further, I noticed that postings made to the list are not reaching the list, nor are the members posting messages getting acknowledgements.
I'm using SMTP Office 365 as the relay host. Generic emails sent from the Mailman server are getting distributed. So, there aren't any issues with incoming or outgoing emails. Mailman as service is up and running, and its service status is as follows:
#service mailman status â mailman.service - Mailman Master Queue Runner Loaded: loaded (/lib/systemd/system/mailman.service; enabled; vendor preset: enabled) Active: active (running) since Thu 2023-11-16 14:11:31 IST; 30min ago Process: 2586 ExecStop=/usr/lib/mailman/bin/mailmanctl stop (code=exited, status=0/SUCCESS) Process: 2616 ExecStart=/usr/lib/mailman/bin/mailmanctl -s start (code=exited, status=0/SUCCESS) Main PID: 2617 (mailmanctl) Tasks: 9 (limit: 4915) CGroup: /system.slice/mailman.service ââ2617 /usr/bin/python /usr/lib/mailman/bin/mailmanctl -s start ââ2619 /usr/bin/python /var/lib/mailman/bin/qrunner --runner=ArchRunner:0:1 -s ââ2620 /usr/bin/python /var/lib/mailman/bin/qrunner --runner=BounceRunner:0:1 -s ââ2621 /usr/bin/python /var/lib/mailman/bin/qrunner --runner=CommandRunner:0:1 -s ââ2622 /usr/bin/python /var/lib/mailman/bin/qrunner --runner=IncomingRunner:0:1 -s ââ2623 /usr/bin/python /var/lib/mailman/bin/qrunner --runner=NewsRunner:0:1 -s ââ2624 /usr/bin/python /var/lib/mailman/bin/qrunner --runner=OutgoingRunner:0:1 -s ââ2625 /usr/bin/python /var/lib/mailman/bin/qrunner --runner=VirginRunner:0:1 -s ââ2626 /usr/bin/python /var/lib/mailman/bin/qrunner --runner=RetryRunner:0:1 -s
Nov 16 14:11:31 xxx.xxx.xxx.xx systemd[1]: Starting Mailman Master Queue Runner... Nov 16 14:11:31 xxx.xxx.xxx.xx mailmanctl[2616]: Starting Mailman's master qrunner. Nov 16 14:11:31 xxx.xxx.xxx.xx systemd[1]: mailman.service: Can't open PID file /var/run/mailman/mailman.pid (yet?) after start: No such file or directory Nov 16 14:11:31 ncsi.iisc.ernet.in<http://ncsi.iisc.ernet.in> systemd[1]: Started Mailman Master Queue Runner.
I looked into the log files but found nothing useful to resolve the issue.
Can someone please help me to resolve the issue?
The only plausible reason here is that SMTP Office 365 is the culprit. There is a discussion that happened in the Mailman3 lists that was related to Office 365 as a relay. It is archived at: https://lists.mailman3.org/archives/list/mailman-users@mailman3.org/message/...
Can you maybe look at it and see if what Andrew Hodgson did could help your case?
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-) [How to ask smart questions: http://www.catb.org/~esr/faqs/smart-questions.html]
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-) [How to ask smart questions: http://www.catb.org/~esr/faqs/smart-questions.html]
![](https://secure.gravatar.com/avatar/56f108518d7ee2544412cc80978e3182.jpg?s=120&d=mm&r=g)
On 11/16/23 03:27, Francis Jayakanth via Mailman-Users wrote:
What's in the smtp log?
Also, look at your MTA log to see what happens to the messages sent to
the list. They should be delivered to a command like
/path/to/mailman/mail/mailman post LISTNAME
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
![](https://secure.gravatar.com/avatar/9c3e9b419fe3664a69248acf78df0271.jpg?s=120&d=mm&r=g)
Thank you for the reply and suggestions.
I thought the problem had something to do with Mailman and, therefore, posted a message seeking help.
However, I have now discovered that the problem was not with Mailman but with the domain name of the list. The list used the domain name ncsi.iisc.ernet.in. The postings to the list were made to lis-forum@ncsi.iisc.ernet.in, which used the institution's email relay server to send the emails to the lis. The network team has informed us that the service of the relay server has been shut down. That explains why postings to the list are not reaching.
I now need to migrate the list to a new domain. Please let me know the steps that should be followed to ensure a smooth transition and carry forward the list's archive. Also, can we redirect messages posted to the old domain to the new one?
Many thanks for the help and guidance.
- Francis
From: Mark Sapiro <mark@msapiro.net> Sent: 16 November 2023 19:25 To: mailman-users@python.org <mailman-users@python.org> Subject: [Mailman-Users] Re: Unable to post messages to a Mailman 2 List
External Email
On 11/16/23 03:27, Francis Jayakanth via Mailman-Users wrote:
What's in the smtp log?
Also, look at your MTA log to see what happens to the messages sent to
the list. They should be delivered to a command like
/path/to/mailman/mail/mailman post LISTNAME
-- 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@python.org To unsubscribe send an email to mailman-users-leave@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: francis@iisc.ac.in
![](https://secure.gravatar.com/avatar/56f108518d7ee2544412cc80978e3182.jpg?s=120&d=mm&r=g)
On 11/19/23 07:35, Francis Jayakanth via Mailman-Users wrote:
I now need to migrate the list to a new domain. Please let me know the steps that should be followed to ensure a smooth transition and carry forward the list's archive. Also, can we redirect messages posted to the old domain to the new one?
See https://wiki.list.org/x/4030682
As far as redirecting is concerned, You could add/update the MX record for the old domain to point to the new server
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
![](https://secure.gravatar.com/avatar/0fbcef57d028af495d8c9a5992405f78.jpg?s=120&d=mm&r=g)
On Sun, Nov 19, 2023 at 6:36 PM Francis Jayakanth via Mailman-Users < mailman-users@python.org> wrote:
This might be useful: https://wiki.list.org/DOC/4.70%20How%20do%20I%20change%20the%20name%20of%20%...
Also, can we redirect messages posted to the old domain to the new one?
You can use the address rewriting facility of your MTA, but is that even necessary if the old domain name is gone?
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-) [How to ask smart questions: http://www.catb.org/~esr/faqs/smart-questions.html]
![](https://secure.gravatar.com/avatar/e2371bef92eb40cd7c586e9f2cc75cd8.jpg?s=120&d=mm&r=g)
Odhiambo Washington writes:
You can use the address rewriting facility of your MTA, but is that even necessary if the old domain name is gone?
"Gone, but not forgotten." That's some network team if they can erase people's address books!
The tradeoff is immediate convenience for posters, vs. maintaining the alias forever (and perhaps losing it unexpectedly in a cleanup of "unused and unnecessary cruft" ;-).
Steve
![](https://secure.gravatar.com/avatar/9c3e9b419fe3664a69248acf78df0271.jpg?s=120&d=mm&r=g)
Thank you for the reply.
My existing list is on the domain ncsi.iisc.ernet.in, which is now defunct. I need to move my list to a new domain, ncsinet.in.
My existing mailman configuration file mm_cfg.py has the following entries:
#------------------------------------------------------------- # Default domain for email addresses of newly created MLs DEFAULT_EMAIL_HOST = 'localhost.localdomain' #------------------------------------------------------------- # Default host for web interface of newly created MLs DEFAULT_URL_HOST = 'localhost.localdomain' #-------------------------------------------------------------
Will setting the DEFAULT_URL_HOST=ncsinet.in and fixing the URLs for the list on a new domain with "withlist -l -r fix_url [listname] be sufficient to have the list up and running on the new domain?
- Francis
From: Odhiambo Washington <odhiambo@gmail.com> Sent: 19 November 2023 23:04 To: Francis Jayakanth <francis@iisc.ac.in> Cc: Mark Sapiro <mark@msapiro.net>; mailman-users@python.org <mailman-users@python.org> Subject: Re: [Mailman-Users] Re: Unable to post messages to a Mailman 2 List
External Email
On Sun, Nov 19, 2023 at 6:36 PM Francis Jayakanth via Mailman-Users <mailman-users@python.org<mailto:mailman-users@python.org>> wrote: Thank you for the reply and suggestions.
I thought the problem had something to do with Mailman and, therefore, posted a message seeking help.
However, I have now discovered that the problem was not with Mailman but with the domain name of the list. The list used the domain name ncsi.iisc.ernet.in<http://ncsi.iisc.ernet.in>. The postings to the list were made to lis-forum@ncsi.iisc.ernet.in<mailto:lis-forum@ncsi.iisc.ernet.in>, which used the institution's email relay server to send the emails to the lis. The network team has informed us that the service of the relay server has been shut down. That explains why postings to the list are not reaching.
I now need to migrate the list to a new domain. Please let me know the steps that should be followed to ensure a smooth transition and carry forward the list's archive.
This might be useful: https://wiki.list.org/DOC/4.70%20How%20do%20I%20change%20the%20name%20of%20%...
Also, can we redirect messages posted to the old domain to the new one?
You can use the address rewriting facility of your MTA, but is that even necessary if the old domain name is gone?
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-) [How to ask smart questions: http://www.catb.org/~esr/faqs/smart-questions.html]
![](https://secure.gravatar.com/avatar/0fbcef57d028af495d8c9a5992405f78.jpg?s=120&d=mm&r=g)
On Mon, Nov 20, 2023 at 8:41 AM Francis Jayakanth <francis@iisc.ac.in> wrote:
The value of the DEFAULT_URL_HOST should be the FQDN that will be used to access the ML - from the browser. DEFAULT_EMAIL_HOST value is the host that handles emails for the list, IIRC.
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-) [How to ask smart questions: http://www.catb.org/~esr/faqs/smart-questions.html]
![](https://secure.gravatar.com/avatar/0fbcef57d028af495d8c9a5992405f78.jpg?s=120&d=mm&r=g)
On Mon, Nov 20, 2023 at 8:49 AM Odhiambo Washington <odhiambo@gmail.com> wrote:
BTW, what version of Python do you have on that Ubuntu 18.04? And why are you stuck on that version? You could seize this opportunity to migrate to Mailman3 :)
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-) [How to ask smart questions: http://www.catb.org/~esr/faqs/smart-questions.html]
![](https://secure.gravatar.com/avatar/9c3e9b419fe3664a69248acf78df0271.jpg?s=120&d=mm&r=g)
Thank you for the reply. Yes, I plan to migrate to Mailman3, but I want it up and running on the new domain ncsinet.in.
The Mailman server has Python 2.7.17.
I have made some progress on the new domain, but some issues still need to be resolved. Here is what I have done so far:
- ncsinet.in is FQDN.
- Changed the hostname of the Mailman server to the new domain ncsinet.in
- DEFAULT_EMAIL_HOST = 'ncsinet.in' & DEFAULT_URL_HOST = 'ncsinet.in'
- Created a news list called test123 and have added one subscriber.
- When I post a message to test123@ncsinet.in, postmaster@ncsinet.in returns the following reply:
Your message to test123@ncsinet.in couldn't be delivered. test123 wasn't found at ncsinet.in.
My relay host is SMTP Office365
From: Odhiambo Washington <odhiambo@gmail.com> Sent: 20 November 2023 11:44 To: mailman-users@python.org <mailman-users@python.org> Cc: Francis Jayakanth <francis@iisc.ac.in> Subject: Re: [Mailman-Users] Re: Unable to post messages to a Mailman 2 List
External Email
On Mon, Nov 20, 2023 at 8:49 AM Odhiambo Washington <odhiambo@gmail.com<mailto:odhiambo@gmail.com>> wrote:
On Mon, Nov 20, 2023 at 8:41 AM Francis Jayakanth <francis@iisc.ac.in<mailto:francis@iisc.ac.in>> wrote: Thank you for the reply.
My existing list is on the domain ncsi.iisc.ernet.in<http://ncsi.iisc.ernet.in>, which is now defunct. I need to move my list to a new domain, ncsinet.in<http://ncsinet.in>.
My existing mailman configuration file mm_cfg.py has the following entries:
#------------------------------------------------------------- # Default domain for email addresses of newly created MLs DEFAULT_EMAIL_HOST = 'localhost.localdomain' #------------------------------------------------------------- # Default host for web interface of newly created MLs DEFAULT_URL_HOST = 'localhost.localdomain' #-------------------------------------------------------------
Will setting the DEFAULT_URL_HOST=ncsinet.in<http://ncsinet.in> and fixing the URLs for the list on a new domain with "withlist -l -r fix_url [listname] be sufficient to have the list up and running on the new domain?
The value of the DEFAULT_URL_HOST should be the FQDN that will be used to access the ML - from the browser. DEFAULT_EMAIL_HOST value is the host that handles emails for the list, IIRC.
BTW, what version of Python do you have on that Ubuntu 18.04? And why are you stuck on that version? You could seize this opportunity to migrate to Mailman3 :)
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-) [How to ask smart questions: http://www.catb.org/~esr/faqs/smart-questions.html]
![](https://secure.gravatar.com/avatar/0fbcef57d028af495d8c9a5992405f78.jpg?s=120&d=mm&r=g)
On Mon, Nov 20, 2023 at 1:18 PM Francis Jayakanth <francis@iisc.ac.in> wrote:
I meant to ask about the Python3 version.
Did you already run the geniuses command so that Mailman can recognize your new list?
The documentation says:
6.1.1 Integrating Postfix and Mailman
You can integrate Postfix and Mailman such that when new lists are
created, or lists are removed, Postfix's alias database will be
automatically updated. The following are the steps you need to take to
make this work.
In the description below, we assume that you've installed Mailman in
the default location, i.e. /usr/local/mailman. If that's not the case,
adjust the instructions according to your use of configure's --prefix
and --with-var-prefix options.
Note: If you are using virtual domains and you want Mailman to honor
your virtual domains, read the 6.1 section below first! Then come back
here and do these steps.
* Add this to the bottom of the $prefix/Mailman/mm_cfg.py file:
MTA = 'Postfix'
The MTA variable names a module in the Mailman/MTA directory which
contains the mail server-specific functions to be executed when a
list is created or removed.
* Look at the Defaults.py file for the variables POSTFIX_ALIAS_CMD
and POSTFIX_MAP_CMD command. Make sure these point to your
postalias and postmap programs respectively. Remember that if you
need to make changes, do it in mm_cfg.py.
* Run the bin/genaliases script to initialize your aliases file.
% cd /usr/local/mailman
% bin/genaliases
Make sure that the owner of the data/aliases and data/aliases.db
file is mailman, that the group owner for those files is mailman,
or whatever user and group you used in the configure command, and
that both files are group writable:
% su
% chown mailman:mailman data/aliases*
% chmod g+w data/aliases*
* Hack your Postfix's main.cf file to include the following path in
your alias_maps variable:
/usr/local/mailman/data/aliases
Note that there should be no trailing .db. Do not include this in
your alias_database variable. This is because you do not want
Postfix's newaliases command to modify Mailman's aliases.db file,
but you do want Postfix to consult aliases.db when looking for
local addresses.
You probably want to use a hash: style database for this entry.
Here's an example:
alias_maps = hash:/etc/postfix/aliases,
hash:/usr/local/mailman/data/aliases
* When you configure Mailman, use the --with-mail-gid=mailman switch;
this will be the default if you configured Mailman after adding the
mailman owner. Because the owner of the aliases.db file is mailman,
Postfix will execute Mailman's wrapper program as uid and gid
mailman.
That's it! One caveat: when you add or remove a list, the aliases.db
file will updated, but it will not automatically run postfix reload.
This is because you need to be root to run this and suid-root scripts
are not secure. The only effect of this is that it will take about a
minute for Postfix to notice the change to the aliases.db file and
update its tables.
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-) [How to ask smart questions: http://www.catb.org/~esr/faqs/smart-questions.html]
![](https://secure.gravatar.com/avatar/56f108518d7ee2544412cc80978e3182.jpg?s=120&d=mm&r=g)
On 11/20/23 02:18, Francis Jayakanth via Mailman-Users wrote:
I'm guessing this is for outbound mail, not inbound.
What is the MTA running on ncsinet.in? You need things in the MTA to deliver to Mailman. See https://www.list.org/mailman-install/mail-server.html
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
![](https://secure.gravatar.com/avatar/9c3e9b419fe3664a69248acf78df0271.jpg?s=120&d=mm&r=g)
Hi, the MM2 list is back in action. The issue with the list that sprang up suddenly had to do with the email relay host that the list was using for incoming emails. It had to be shut down suddenly for a valid reason. That affected the list's incoming emails. The issue has been resolved, and everything is working normally.
I take this opportunity to thank the members who provided useful guidance to resolve the issue. I plan to migrate to MM3 in the near future.
Best, Francis
From: Mark Sapiro <mark@msapiro.net> Sent: 21 November 2023 00:34 To: mailman-users@python.org <mailman-users@python.org> Subject: [Mailman-Users] Re: Unable to post messages to a Mailman 2 List
External Email
On 11/20/23 02:18, Francis Jayakanth via Mailman-Users wrote:
I'm guessing this is for outbound mail, not inbound.
What is the MTA running on ncsinet.in? You need things in the MTA to deliver to Mailman. See https://www.list.org/mailman-install/mail-server.html
-- 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@python.org To unsubscribe send an email to mailman-users-leave@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: francis@iisc.ac.in
![](https://secure.gravatar.com/avatar/0fbcef57d028af495d8c9a5992405f78.jpg?s=120&d=mm&r=g)
On Thu, Nov 16, 2023 at 12:21 PM Francis Jayakanth via Mailman-Users < mailman-users@python.org> wrote:
The only plausible reason here is that SMTP Office 365 is the culprit. There is a discussion that happened in the Mailman3 lists that was related to Office 365 as a relay. It is archived at: https://lists.mailman3.org/archives/list/mailman-users@mailman3.org/message/...
Can you maybe look at it and see if what Andrew Hodgson did could help your case?
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-) [How to ask smart questions: http://www.catb.org/~esr/faqs/smart-questions.html]
![](https://secure.gravatar.com/avatar/9c3e9b419fe3664a69248acf78df0271.jpg?s=120&d=mm&r=g)
Hi Odhiambo, Thank you for the reply. I doubt if the SMTP Office 365 is the culprit because the list was running smoothly with the same SMTP relay host for more than a year!
With regards, Francis
From: Odhiambo Washington <odhiambo@gmail.com> Sent: 16 November 2023 15:15 To: Francis Jayakanth <francis@iisc.ac.in> Cc: mailman-users@python.org <mailman-users@python.org> Subject: Re: [Mailman-Users] Unable to post messages to a Mailman 2 List
External Email
On Thu, Nov 16, 2023 at 12:21 PM Francis Jayakanth via Mailman-Users <mailman-users@python.org<mailto:mailman-users@python.org>> wrote: Hi, I'm administering and moderating a professional list called LIS-Forum with close to 5k members. I'm still on Mailman 2.1.26 on Ubuntu 18.04 with Postfix as an MTA.
Till recently, the list was running smoothly. On average, there will be 2/3 postings every day. However, postings have not been received in the last two days. When I explored further, I noticed that postings made to the list are not reaching the list, nor are the members posting messages getting acknowledgements.
I'm using SMTP Office 365 as the relay host. Generic emails sent from the Mailman server are getting distributed. So, there aren't any issues with incoming or outgoing emails. Mailman as service is up and running, and its service status is as follows:
#service mailman status â mailman.service - Mailman Master Queue Runner Loaded: loaded (/lib/systemd/system/mailman.service; enabled; vendor preset: enabled) Active: active (running) since Thu 2023-11-16 14:11:31 IST; 30min ago Process: 2586 ExecStop=/usr/lib/mailman/bin/mailmanctl stop (code=exited, status=0/SUCCESS) Process: 2616 ExecStart=/usr/lib/mailman/bin/mailmanctl -s start (code=exited, status=0/SUCCESS) Main PID: 2617 (mailmanctl) Tasks: 9 (limit: 4915) CGroup: /system.slice/mailman.service ââ2617 /usr/bin/python /usr/lib/mailman/bin/mailmanctl -s start ââ2619 /usr/bin/python /var/lib/mailman/bin/qrunner --runner=ArchRunner:0:1 -s ââ2620 /usr/bin/python /var/lib/mailman/bin/qrunner --runner=BounceRunner:0:1 -s ââ2621 /usr/bin/python /var/lib/mailman/bin/qrunner --runner=CommandRunner:0:1 -s ââ2622 /usr/bin/python /var/lib/mailman/bin/qrunner --runner=IncomingRunner:0:1 -s ââ2623 /usr/bin/python /var/lib/mailman/bin/qrunner --runner=NewsRunner:0:1 -s ââ2624 /usr/bin/python /var/lib/mailman/bin/qrunner --runner=OutgoingRunner:0:1 -s ââ2625 /usr/bin/python /var/lib/mailman/bin/qrunner --runner=VirginRunner:0:1 -s ââ2626 /usr/bin/python /var/lib/mailman/bin/qrunner --runner=RetryRunner:0:1 -s
Nov 16 14:11:31 xxx.xxx.xxx.xx systemd[1]: Starting Mailman Master Queue Runner... Nov 16 14:11:31 xxx.xxx.xxx.xx mailmanctl[2616]: Starting Mailman's master qrunner. Nov 16 14:11:31 xxx.xxx.xxx.xx systemd[1]: mailman.service: Can't open PID file /var/run/mailman/mailman.pid (yet?) after start: No such file or directory Nov 16 14:11:31 ncsi.iisc.ernet.in<http://ncsi.iisc.ernet.in> systemd[1]: Started Mailman Master Queue Runner.
I looked into the log files but found nothing useful to resolve the issue.
Can someone please help me to resolve the issue?
The only plausible reason here is that SMTP Office 365 is the culprit. There is a discussion that happened in the Mailman3 lists that was related to Office 365 as a relay. It is archived at: https://lists.mailman3.org/archives/list/mailman-users@mailman3.org/message/...
Can you maybe look at it and see if what Andrew Hodgson did could help your case?
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-) [How to ask smart questions: http://www.catb.org/~esr/faqs/smart-questions.html]
![](https://secure.gravatar.com/avatar/0fbcef57d028af495d8c9a5992405f78.jpg?s=120&d=mm&r=g)
- Create a new list with only your addresses as members.
- Use one of the addresses to send mail to that new list.
- Check your Postfix as well as mailman's logs for clues. It's inconceivable that you could not find anything in the logs.
On Thu, Nov 16, 2023 at 12:57 PM Francis Jayakanth <francis@iisc.ac.in> wrote:
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-) [How to ask smart questions: http://www.catb.org/~esr/faqs/smart-questions.html]
![](https://secure.gravatar.com/avatar/9c3e9b419fe3664a69248acf78df0271.jpg?s=120&d=mm&r=g)
Thank you for your guidance. I created a new list. I'm able to subscribe and unsubscribe members to the new list. Emails are received when a member subscribes and unsubscribes to the new list. So, there are no issues with the relay host. However, when a message is posted, nothing happens.
I checked the /var/log/mailman folder. The following three files are updated as of today (16 Nov), and there isn't any clue as to why the lists are not receiving the postings.
-rw-rw-r-- 1 list list 1432 Nov 16 16:44 smtp -rw-rw-r-- 1 list list 85623 Nov 16 16:44 subscribe -rw-rw-r-- 1 list list 9431 Nov 16 14:11 qrunner
root@xxxx:/var/log/mailman# tail qrunner
Master qrunner detected subprocess exit (pid: 2164, sig: None, sts: 15, class: VirginRunner, slice: 1/1) Nov 16 14:11:32 2023 (2621) CommandRunner qrunner started. Nov 16 14:11:32 2023 (2619) ArchRunner qrunner started. Nov 16 14:11:32 2023 (2620) BounceRunner qrunner started. Nov 16 14:11:32 2023 (2624) OutgoingRunner qrunner started. Nov 16 14:11:32 2023 (2623) NewsRunner qrunner started. Nov 16 14:11:32 2023 (2622) IncomingRunner qrunner started. Nov 16 14:11:32 2023 (2626) RetryRunner qrunner started. Nov 16 14:11:32 2023 (2625) VirginRunner qrunner started.
From: Odhiambo Washington <odhiambo@gmail.com> Sent: 16 November 2023 15:38 To: Francis Jayakanth <francis@iisc.ac.in> Cc: mailman-users@python.org <mailman-users@python.org> Subject: Re: [Mailman-Users] Unable to post messages to a Mailman 2 List
External Email
- Create a new list with only your addresses as members.
- Use one of the addresses to send mail to that new list.
- Check your Postfix as well as mailman's logs for clues. It's inconceivable that you could not find anything in the logs.
On Thu, Nov 16, 2023 at 12:57 PM Francis Jayakanth <francis@iisc.ac.in<mailto:francis@iisc.ac.in>> wrote: Hi Odhiambo, Thank you for the reply. I doubt if the SMTP Office 365 is the culprit because the list was running smoothly with the same SMTP relay host for more than a year!
With regards, Francis
From: Odhiambo Washington <odhiambo@gmail.com<mailto:odhiambo@gmail.com>> Sent: 16 November 2023 15:15 To: Francis Jayakanth <francis@iisc.ac.in<mailto:francis@iisc.ac.in>> Cc: mailman-users@python.org<mailto:mailman-users@python.org> <mailman-users@python.org<mailto:mailman-users@python.org>> Subject: Re: [Mailman-Users] Unable to post messages to a Mailman 2 List
External Email
On Thu, Nov 16, 2023 at 12:21 PM Francis Jayakanth via Mailman-Users <mailman-users@python.org<mailto:mailman-users@python.org>> wrote: Hi, I'm administering and moderating a professional list called LIS-Forum with close to 5k members. I'm still on Mailman 2.1.26 on Ubuntu 18.04 with Postfix as an MTA.
Till recently, the list was running smoothly. On average, there will be 2/3 postings every day. However, postings have not been received in the last two days. When I explored further, I noticed that postings made to the list are not reaching the list, nor are the members posting messages getting acknowledgements.
I'm using SMTP Office 365 as the relay host. Generic emails sent from the Mailman server are getting distributed. So, there aren't any issues with incoming or outgoing emails. Mailman as service is up and running, and its service status is as follows:
#service mailman status â mailman.service - Mailman Master Queue Runner Loaded: loaded (/lib/systemd/system/mailman.service; enabled; vendor preset: enabled) Active: active (running) since Thu 2023-11-16 14:11:31 IST; 30min ago Process: 2586 ExecStop=/usr/lib/mailman/bin/mailmanctl stop (code=exited, status=0/SUCCESS) Process: 2616 ExecStart=/usr/lib/mailman/bin/mailmanctl -s start (code=exited, status=0/SUCCESS) Main PID: 2617 (mailmanctl) Tasks: 9 (limit: 4915) CGroup: /system.slice/mailman.service ââ2617 /usr/bin/python /usr/lib/mailman/bin/mailmanctl -s start ââ2619 /usr/bin/python /var/lib/mailman/bin/qrunner --runner=ArchRunner:0:1 -s ââ2620 /usr/bin/python /var/lib/mailman/bin/qrunner --runner=BounceRunner:0:1 -s ââ2621 /usr/bin/python /var/lib/mailman/bin/qrunner --runner=CommandRunner:0:1 -s ââ2622 /usr/bin/python /var/lib/mailman/bin/qrunner --runner=IncomingRunner:0:1 -s ââ2623 /usr/bin/python /var/lib/mailman/bin/qrunner --runner=NewsRunner:0:1 -s ââ2624 /usr/bin/python /var/lib/mailman/bin/qrunner --runner=OutgoingRunner:0:1 -s ââ2625 /usr/bin/python /var/lib/mailman/bin/qrunner --runner=VirginRunner:0:1 -s ââ2626 /usr/bin/python /var/lib/mailman/bin/qrunner --runner=RetryRunner:0:1 -s
Nov 16 14:11:31 xxx.xxx.xxx.xx systemd[1]: Starting Mailman Master Queue Runner... Nov 16 14:11:31 xxx.xxx.xxx.xx mailmanctl[2616]: Starting Mailman's master qrunner. Nov 16 14:11:31 xxx.xxx.xxx.xx systemd[1]: mailman.service: Can't open PID file /var/run/mailman/mailman.pid (yet?) after start: No such file or directory Nov 16 14:11:31 ncsi.iisc.ernet.in<http://ncsi.iisc.ernet.in> systemd[1]: Started Mailman Master Queue Runner.
I looked into the log files but found nothing useful to resolve the issue.
Can someone please help me to resolve the issue?
The only plausible reason here is that SMTP Office 365 is the culprit. There is a discussion that happened in the Mailman3 lists that was related to Office 365 as a relay. It is archived at: https://lists.mailman3.org/archives/list/mailman-users@mailman3.org/message/...
Can you maybe look at it and see if what Andrew Hodgson did could help your case?
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-) [How to ask smart questions: http://www.catb.org/~esr/faqs/smart-questions.html]
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-) [How to ask smart questions: http://www.catb.org/~esr/faqs/smart-questions.html]
![](https://secure.gravatar.com/avatar/56f108518d7ee2544412cc80978e3182.jpg?s=120&d=mm&r=g)
On 11/16/23 03:27, Francis Jayakanth via Mailman-Users wrote:
What's in the smtp log?
Also, look at your MTA log to see what happens to the messages sent to
the list. They should be delivered to a command like
/path/to/mailman/mail/mailman post LISTNAME
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
![](https://secure.gravatar.com/avatar/9c3e9b419fe3664a69248acf78df0271.jpg?s=120&d=mm&r=g)
Thank you for the reply and suggestions.
I thought the problem had something to do with Mailman and, therefore, posted a message seeking help.
However, I have now discovered that the problem was not with Mailman but with the domain name of the list. The list used the domain name ncsi.iisc.ernet.in. The postings to the list were made to lis-forum@ncsi.iisc.ernet.in, which used the institution's email relay server to send the emails to the lis. The network team has informed us that the service of the relay server has been shut down. That explains why postings to the list are not reaching.
I now need to migrate the list to a new domain. Please let me know the steps that should be followed to ensure a smooth transition and carry forward the list's archive. Also, can we redirect messages posted to the old domain to the new one?
Many thanks for the help and guidance.
- Francis
From: Mark Sapiro <mark@msapiro.net> Sent: 16 November 2023 19:25 To: mailman-users@python.org <mailman-users@python.org> Subject: [Mailman-Users] Re: Unable to post messages to a Mailman 2 List
External Email
On 11/16/23 03:27, Francis Jayakanth via Mailman-Users wrote:
What's in the smtp log?
Also, look at your MTA log to see what happens to the messages sent to
the list. They should be delivered to a command like
/path/to/mailman/mail/mailman post LISTNAME
-- 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@python.org To unsubscribe send an email to mailman-users-leave@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: francis@iisc.ac.in
![](https://secure.gravatar.com/avatar/56f108518d7ee2544412cc80978e3182.jpg?s=120&d=mm&r=g)
On 11/19/23 07:35, Francis Jayakanth via Mailman-Users wrote:
I now need to migrate the list to a new domain. Please let me know the steps that should be followed to ensure a smooth transition and carry forward the list's archive. Also, can we redirect messages posted to the old domain to the new one?
See https://wiki.list.org/x/4030682
As far as redirecting is concerned, You could add/update the MX record for the old domain to point to the new server
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
![](https://secure.gravatar.com/avatar/0fbcef57d028af495d8c9a5992405f78.jpg?s=120&d=mm&r=g)
On Sun, Nov 19, 2023 at 6:36 PM Francis Jayakanth via Mailman-Users < mailman-users@python.org> wrote:
This might be useful: https://wiki.list.org/DOC/4.70%20How%20do%20I%20change%20the%20name%20of%20%...
Also, can we redirect messages posted to the old domain to the new one?
You can use the address rewriting facility of your MTA, but is that even necessary if the old domain name is gone?
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-) [How to ask smart questions: http://www.catb.org/~esr/faqs/smart-questions.html]
![](https://secure.gravatar.com/avatar/e2371bef92eb40cd7c586e9f2cc75cd8.jpg?s=120&d=mm&r=g)
Odhiambo Washington writes:
You can use the address rewriting facility of your MTA, but is that even necessary if the old domain name is gone?
"Gone, but not forgotten." That's some network team if they can erase people's address books!
The tradeoff is immediate convenience for posters, vs. maintaining the alias forever (and perhaps losing it unexpectedly in a cleanup of "unused and unnecessary cruft" ;-).
Steve
![](https://secure.gravatar.com/avatar/9c3e9b419fe3664a69248acf78df0271.jpg?s=120&d=mm&r=g)
Thank you for the reply.
My existing list is on the domain ncsi.iisc.ernet.in, which is now defunct. I need to move my list to a new domain, ncsinet.in.
My existing mailman configuration file mm_cfg.py has the following entries:
#------------------------------------------------------------- # Default domain for email addresses of newly created MLs DEFAULT_EMAIL_HOST = 'localhost.localdomain' #------------------------------------------------------------- # Default host for web interface of newly created MLs DEFAULT_URL_HOST = 'localhost.localdomain' #-------------------------------------------------------------
Will setting the DEFAULT_URL_HOST=ncsinet.in and fixing the URLs for the list on a new domain with "withlist -l -r fix_url [listname] be sufficient to have the list up and running on the new domain?
- Francis
From: Odhiambo Washington <odhiambo@gmail.com> Sent: 19 November 2023 23:04 To: Francis Jayakanth <francis@iisc.ac.in> Cc: Mark Sapiro <mark@msapiro.net>; mailman-users@python.org <mailman-users@python.org> Subject: Re: [Mailman-Users] Re: Unable to post messages to a Mailman 2 List
External Email
On Sun, Nov 19, 2023 at 6:36 PM Francis Jayakanth via Mailman-Users <mailman-users@python.org<mailto:mailman-users@python.org>> wrote: Thank you for the reply and suggestions.
I thought the problem had something to do with Mailman and, therefore, posted a message seeking help.
However, I have now discovered that the problem was not with Mailman but with the domain name of the list. The list used the domain name ncsi.iisc.ernet.in<http://ncsi.iisc.ernet.in>. The postings to the list were made to lis-forum@ncsi.iisc.ernet.in<mailto:lis-forum@ncsi.iisc.ernet.in>, which used the institution's email relay server to send the emails to the lis. The network team has informed us that the service of the relay server has been shut down. That explains why postings to the list are not reaching.
I now need to migrate the list to a new domain. Please let me know the steps that should be followed to ensure a smooth transition and carry forward the list's archive.
This might be useful: https://wiki.list.org/DOC/4.70%20How%20do%20I%20change%20the%20name%20of%20%...
Also, can we redirect messages posted to the old domain to the new one?
You can use the address rewriting facility of your MTA, but is that even necessary if the old domain name is gone?
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-) [How to ask smart questions: http://www.catb.org/~esr/faqs/smart-questions.html]
![](https://secure.gravatar.com/avatar/0fbcef57d028af495d8c9a5992405f78.jpg?s=120&d=mm&r=g)
On Mon, Nov 20, 2023 at 8:41 AM Francis Jayakanth <francis@iisc.ac.in> wrote:
The value of the DEFAULT_URL_HOST should be the FQDN that will be used to access the ML - from the browser. DEFAULT_EMAIL_HOST value is the host that handles emails for the list, IIRC.
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-) [How to ask smart questions: http://www.catb.org/~esr/faqs/smart-questions.html]
![](https://secure.gravatar.com/avatar/0fbcef57d028af495d8c9a5992405f78.jpg?s=120&d=mm&r=g)
On Mon, Nov 20, 2023 at 8:49 AM Odhiambo Washington <odhiambo@gmail.com> wrote:
BTW, what version of Python do you have on that Ubuntu 18.04? And why are you stuck on that version? You could seize this opportunity to migrate to Mailman3 :)
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-) [How to ask smart questions: http://www.catb.org/~esr/faqs/smart-questions.html]
![](https://secure.gravatar.com/avatar/9c3e9b419fe3664a69248acf78df0271.jpg?s=120&d=mm&r=g)
Thank you for the reply. Yes, I plan to migrate to Mailman3, but I want it up and running on the new domain ncsinet.in.
The Mailman server has Python 2.7.17.
I have made some progress on the new domain, but some issues still need to be resolved. Here is what I have done so far:
- ncsinet.in is FQDN.
- Changed the hostname of the Mailman server to the new domain ncsinet.in
- DEFAULT_EMAIL_HOST = 'ncsinet.in' & DEFAULT_URL_HOST = 'ncsinet.in'
- Created a news list called test123 and have added one subscriber.
- When I post a message to test123@ncsinet.in, postmaster@ncsinet.in returns the following reply:
Your message to test123@ncsinet.in couldn't be delivered. test123 wasn't found at ncsinet.in.
My relay host is SMTP Office365
From: Odhiambo Washington <odhiambo@gmail.com> Sent: 20 November 2023 11:44 To: mailman-users@python.org <mailman-users@python.org> Cc: Francis Jayakanth <francis@iisc.ac.in> Subject: Re: [Mailman-Users] Re: Unable to post messages to a Mailman 2 List
External Email
On Mon, Nov 20, 2023 at 8:49 AM Odhiambo Washington <odhiambo@gmail.com<mailto:odhiambo@gmail.com>> wrote:
On Mon, Nov 20, 2023 at 8:41 AM Francis Jayakanth <francis@iisc.ac.in<mailto:francis@iisc.ac.in>> wrote: Thank you for the reply.
My existing list is on the domain ncsi.iisc.ernet.in<http://ncsi.iisc.ernet.in>, which is now defunct. I need to move my list to a new domain, ncsinet.in<http://ncsinet.in>.
My existing mailman configuration file mm_cfg.py has the following entries:
#------------------------------------------------------------- # Default domain for email addresses of newly created MLs DEFAULT_EMAIL_HOST = 'localhost.localdomain' #------------------------------------------------------------- # Default host for web interface of newly created MLs DEFAULT_URL_HOST = 'localhost.localdomain' #-------------------------------------------------------------
Will setting the DEFAULT_URL_HOST=ncsinet.in<http://ncsinet.in> and fixing the URLs for the list on a new domain with "withlist -l -r fix_url [listname] be sufficient to have the list up and running on the new domain?
The value of the DEFAULT_URL_HOST should be the FQDN that will be used to access the ML - from the browser. DEFAULT_EMAIL_HOST value is the host that handles emails for the list, IIRC.
BTW, what version of Python do you have on that Ubuntu 18.04? And why are you stuck on that version? You could seize this opportunity to migrate to Mailman3 :)
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-) [How to ask smart questions: http://www.catb.org/~esr/faqs/smart-questions.html]
![](https://secure.gravatar.com/avatar/0fbcef57d028af495d8c9a5992405f78.jpg?s=120&d=mm&r=g)
On Mon, Nov 20, 2023 at 1:18 PM Francis Jayakanth <francis@iisc.ac.in> wrote:
I meant to ask about the Python3 version.
Did you already run the geniuses command so that Mailman can recognize your new list?
The documentation says:
6.1.1 Integrating Postfix and Mailman
You can integrate Postfix and Mailman such that when new lists are
created, or lists are removed, Postfix's alias database will be
automatically updated. The following are the steps you need to take to
make this work.
In the description below, we assume that you've installed Mailman in
the default location, i.e. /usr/local/mailman. If that's not the case,
adjust the instructions according to your use of configure's --prefix
and --with-var-prefix options.
Note: If you are using virtual domains and you want Mailman to honor
your virtual domains, read the 6.1 section below first! Then come back
here and do these steps.
* Add this to the bottom of the $prefix/Mailman/mm_cfg.py file:
MTA = 'Postfix'
The MTA variable names a module in the Mailman/MTA directory which
contains the mail server-specific functions to be executed when a
list is created or removed.
* Look at the Defaults.py file for the variables POSTFIX_ALIAS_CMD
and POSTFIX_MAP_CMD command. Make sure these point to your
postalias and postmap programs respectively. Remember that if you
need to make changes, do it in mm_cfg.py.
* Run the bin/genaliases script to initialize your aliases file.
% cd /usr/local/mailman
% bin/genaliases
Make sure that the owner of the data/aliases and data/aliases.db
file is mailman, that the group owner for those files is mailman,
or whatever user and group you used in the configure command, and
that both files are group writable:
% su
% chown mailman:mailman data/aliases*
% chmod g+w data/aliases*
* Hack your Postfix's main.cf file to include the following path in
your alias_maps variable:
/usr/local/mailman/data/aliases
Note that there should be no trailing .db. Do not include this in
your alias_database variable. This is because you do not want
Postfix's newaliases command to modify Mailman's aliases.db file,
but you do want Postfix to consult aliases.db when looking for
local addresses.
You probably want to use a hash: style database for this entry.
Here's an example:
alias_maps = hash:/etc/postfix/aliases,
hash:/usr/local/mailman/data/aliases
* When you configure Mailman, use the --with-mail-gid=mailman switch;
this will be the default if you configured Mailman after adding the
mailman owner. Because the owner of the aliases.db file is mailman,
Postfix will execute Mailman's wrapper program as uid and gid
mailman.
That's it! One caveat: when you add or remove a list, the aliases.db
file will updated, but it will not automatically run postfix reload.
This is because you need to be root to run this and suid-root scripts
are not secure. The only effect of this is that it will take about a
minute for Postfix to notice the change to the aliases.db file and
update its tables.
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-) [How to ask smart questions: http://www.catb.org/~esr/faqs/smart-questions.html]
![](https://secure.gravatar.com/avatar/56f108518d7ee2544412cc80978e3182.jpg?s=120&d=mm&r=g)
On 11/20/23 02:18, Francis Jayakanth via Mailman-Users wrote:
I'm guessing this is for outbound mail, not inbound.
What is the MTA running on ncsinet.in? You need things in the MTA to deliver to Mailman. See https://www.list.org/mailman-install/mail-server.html
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
![](https://secure.gravatar.com/avatar/9c3e9b419fe3664a69248acf78df0271.jpg?s=120&d=mm&r=g)
Hi, the MM2 list is back in action. The issue with the list that sprang up suddenly had to do with the email relay host that the list was using for incoming emails. It had to be shut down suddenly for a valid reason. That affected the list's incoming emails. The issue has been resolved, and everything is working normally.
I take this opportunity to thank the members who provided useful guidance to resolve the issue. I plan to migrate to MM3 in the near future.
Best, Francis
From: Mark Sapiro <mark@msapiro.net> Sent: 21 November 2023 00:34 To: mailman-users@python.org <mailman-users@python.org> Subject: [Mailman-Users] Re: Unable to post messages to a Mailman 2 List
External Email
On 11/20/23 02:18, Francis Jayakanth via Mailman-Users wrote:
I'm guessing this is for outbound mail, not inbound.
What is the MTA running on ncsinet.in? You need things in the MTA to deliver to Mailman. See https://www.list.org/mailman-install/mail-server.html
-- 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@python.org To unsubscribe send an email to mailman-users-leave@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: francis@iisc.ac.in
participants (4)
-
Francis Jayakanth
-
Mark Sapiro
-
Odhiambo Washington
-
Stephen J. Turnbull