Mailman Issues and How to debug?
Hi
We have the following environment:
Amazon Linux 2013.09 mailman 2.1.12 virtualmin
This is a new server that was recently setup with few mailing lists. Running into few issues that were never seen in our old server. All the mailing lists are created brand-new on this server.
On a daily basis we get reminders about pending requests for each of the mailing list. Clicking on the link: lists.<our domain>/mailman/admindb/mem says "The requested URL couldnot be retrieved".
- The following error was encountered "Zero Sized Reply"
- This very URL works fine at other time(s) but sometimes it doesn't
From Virtualmin UI, the mailing list manager says "no pending requests" for any of the mailing list that sent the notification.
A couple of members complained that they received the same mail multiple times - more than 10 times - but none of our test-accounts seen this issue, so can't tell what went wrong.
Is there a way to check if everything with mailman is setup correctly and no issues are seen?
Thank you for any insight and direction you may provide.
-Srinivas
On 01/21/2014 05:54 AM, Srinivas B. wrote:
Hi
We have the following environment:
Amazon Linux 2013.09 mailman 2.1.12 virtualmin
How was Mailman installed? If it is a virtualmin package, see the FAQ at <http://wiki.list.org/display/DOC/Mailman+and+CPanel> which applies equally to virtualmin.
This is a new server that was recently setup with few mailing lists. Running into few issues that were never seen in our old server. All the mailing lists are created brand-new on this server.
On a daily basis we get reminders about pending requests for each of the mailing list. Clicking on the link: lists.<our domain>/mailman/admindb/mem says "The requested URL couldnot be retrieved".
- The following error was encountered "Zero Sized Reply"
- This very URL works fine at other time(s) but sometimes it doesn't
From Virtualmin UI, the mailing list manager says "no pending requests" for any of the mailing list that sent the notification.
The admindb CGI should always return a page whether or not there are pending requests. What do the web server logs say? Pending request reminders should not be sent if there are no requests. See the FAQ at <http://wiki.list.org/x/EoCE>.
A couple of members complained that they received the same mail multiple times - more than 10 times - but none of our test-accounts seen this issue, so can't tell what went wrong.
Check your MTA logs and compare the Received: headers of the multiple copies for clues on where the duplication occurred.
Is there a way to check if everything with mailman is setup correctly and no issues are seen?
Look at Mailman's logs for problems.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Hi Mark
Appreciate your response. Here is what I have found so far...
Mailman is part of the Virtualmin package that we deployed.
The ADMIN UI issue turned out to be a virtualmin issue and is now fixed. The daily reminders about messages pending on few lists continue to happen, but when I go to the mailman interface the mailing list shows no pending messages.
From the mailman error file, I can see only one error: Jan 21 08:43:40 2014 mailmanctl(30537): Jan 21 08:43:40 2014 mailmanctl(30537): option -v not recognized
I don't see any held messages for these lists under: /var/lib/mailman/data. Is there a way to check why the daily emails are being sent to Moderators that there are messages when there are none?
-Srinivas
On Wed, Jan 22, 2014 at 7:38 AM, Mark Sapiro <mark@msapiro.net> wrote:
On 01/21/2014 05:54 AM, Srinivas B. wrote:
Hi
We have the following environment:
Amazon Linux 2013.09 mailman 2.1.12 virtualmin
How was Mailman installed? If it is a virtualmin package, see the FAQ at <http://wiki.list.org/display/DOC/Mailman+and+CPanel> which applies equally to virtualmin.
This is a new server that was recently setup with few mailing lists. Running into few issues that were never seen in our old server. All the mailing lists are created brand-new on this server.
On a daily basis we get reminders about pending requests for each of the mailing list. Clicking on the link: lists.<our domain>/mailman/admindb/mem says "The requested URL couldnot be retrieved".
- The following error was encountered "Zero Sized Reply"
- This very URL works fine at other time(s) but sometimes it doesn't
From Virtualmin UI, the mailing list manager says "no pending requests" for any of the mailing list that sent the notification.
The admindb CGI should always return a page whether or not there are pending requests. What do the web server logs say? Pending request reminders should not be sent if there are no requests. See the FAQ at <http://wiki.list.org/x/EoCE>.
A couple of members complained that they received the same mail multiple times - more than 10 times - but none of our test-accounts seen this issue, so can't tell what went wrong.
Check your MTA logs and compare the Received: headers of the multiple copies for clues on where the duplication occurred.
Is there a way to check if everything with mailman is setup correctly and no issues are seen?
Look at Mailman's logs for problems.
-- 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 https://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: https://mail.python.org/mailman/options/mailman-users/srinivasb%40gmail.com
On 01/22/2014 09:19 AM, Srinivas B. wrote:
I don't see any held messages for these lists under: /var/lib/mailman/data. Is there a way to check why the daily emails are being sent to Moderators that there are messages when there are none?
Again, see the FAQ referenced below.
On Wed, Jan 22, 2014 at 7:38 AM, Mark Sapiro <mark@msapiro.net <mailto:mark@msapiro.net>> wrote:
Pending request reminders should not be sent if there are no requests. See the FAQ at <http://wiki.list.org/x/EoCE>.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Hi Mark
Thanks for the FAQ link. Checked the mail-headers and confirmed the mail is actually originating from our production server and no where else. We use DKIM/SPF and I could see them in the mail-headers - so it isn't a test-server or anything that is left behind somewhere. Checked the crontab and I can only see one entry there for mailman. There is no other cron try there. Checked for multiple installations of mailman but all I can see is one.
Anything else that I can check & see? Is there anything that I can do to check the integrity of mailman setup end-to-end?
-Srinivas
On Wed, Jan 22, 2014 at 4:16 PM, Mark Sapiro <mark@msapiro.net> wrote:
On 01/22/2014 09:19 AM, Srinivas B. wrote:
I don't see any held messages for these lists under: /var/lib/mailman/data. Is there a way to check why the daily emails are being sent to Moderators that there are messages when there are none?
Again, see the FAQ referenced below.
On Wed, Jan 22, 2014 at 7:38 AM, Mark Sapiro <mark@msapiro.net <mailto:mark@msapiro.net>> wrote:
Pending request reminders should not be sent if there are no requests. See the FAQ at <http://wiki.list.org/x/EoCE>.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
On 01/22/2014 06:33 PM, Srinivas B. wrote:
Hi Mark
Thanks for the FAQ link. Checked the mail-headers and confirmed the mail is actually originating from our production server and no where else. We use DKIM/SPF and I could see them in the mail-headers - so it isn't a test-server or anything that is left behind somewhere. Checked the crontab and I can only see one entry there for mailman. There is no other cron try there. Checked for multiple installations of mailman but all I can see is one.
And are you sure that the admindb URL you follow is actually going to the same server?
Please confirm my understanding that:
there are no heldmsg files in Mailman's data directory.
You receive a daily "n LISTNAME moderator request(s) waiting" email, but when you go to the admindb page, there are no requests there.
The admindb CGI uses the same list methods that the checkdbs cron uses to find the requests so the only way they can report different results is if they are looking at different lists/LISTNAME/request.pck files which would imply running from different Mailman instances.
Try
sudo find / -name request.pck
or, if your locate database is current,
locate request.pck
to see if there is more than one LISTNAME/request.pck on the server.
You can also use the script at <http://www.msapiro.net/scripts/list_requests> to look at a request.pck, but it will only look at those in the Mailman installation whose bin/ directory it runs from.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Hi Mark
There is only one server running in Amazon AWS hosting the sites and mailman. There was another server in "stopped" state which I now terminated.
1: When I checked originally there were no "held" messages under data folder. As of this writing now, I see few there. One held message for one of the lists, but it is ZERO byte file. The others are for another list and I can see the contents for each of them. I may have to wait till tomorrow morning to see what I get from mailman as the reminder(s) now.
2: Yes, I had received these messages a couple of days in a row and I couldn't find anything pending when I went to admin UI.
Checked for request.pck, and all I can see were one per list and no dupes
# sudo find / -name request.pck | sort /home/.mailman/mailman/lists/mailman/request.pck /var/lib/mailman/lists/exgcm/request.pck /var/lib/mailman/lists/gclist/request.pck /var/lib/mailman/lists/genlist/request.pck /var/lib/mailman/lists/hmec-l/request.pck /var/lib/mailman/lists/mailman/request.pck /var/lib/mailman/lists/mem/request.pck /var/lib/mailman/lists/news-l/request.pck /var/lib/mailman/lists/njlist/request.pck /var/lib/mailman/lists/nylist/request.pck /var/lib/mailman/lists/rlist/request.pck /var/lib/mailman/lists/slist/request.pck /var/lib/mailman/lists/vhpa-boston/request.pck /var/lib/mailman/lists/whc-so-dev/request.pck /var/lib/mailman/lists/whc-so-pmo/request.pck /var/lib/mailman/lists/whc-so-sba/request.pck
I will check again tomorrow and see how many reminder messages will I get from the mailman. Thank you.
-Srinivas
On Wed, Jan 22, 2014 at 7:32 PM, Mark Sapiro <mark@msapiro.net> wrote:
On 01/22/2014 06:33 PM, Srinivas B. wrote:
Hi Mark
Thanks for the FAQ link. Checked the mail-headers and confirmed the mail is actually originating from our production server and no where else. We use DKIM/SPF and I could see them in the mail-headers - so it isn't a test-server or anything that is left behind somewhere. Checked the crontab and I can only see one entry there for mailman. There is no other cron try there. Checked for multiple installations of mailman but all I can see is one.
And are you sure that the admindb URL you follow is actually going to the same server?
Please confirm my understanding that:
there are no heldmsg files in Mailman's data directory.
You receive a daily "n LISTNAME moderator request(s) waiting" email, but when you go to the admindb page, there are no requests there.
The admindb CGI uses the same list methods that the checkdbs cron uses to find the requests so the only way they can report different results is if they are looking at different lists/LISTNAME/request.pck files which would imply running from different Mailman instances.
Try
sudo find / -name request.pck
or, if your locate database is current,
locate request.pck
to see if there is more than one LISTNAME/request.pck on the server.
You can also use the script at <http://www.msapiro.net/scripts/list_requests> to look at a request.pck, but it will only look at those in the Mailman installation whose bin/ directory it runs from.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
On 01/22/2014 07:48 PM, Srinivas B. wrote:
Checked for request.pck, and all I can see were one per list and no dupes
There are two 'mailman' lists
# sudo find / -name request.pck | sort /home/.mailman/mailman/lists/mailman/request.pck ... /var/lib/mailman/lists/mailman/request.pck
what else is in /home/.mailman/mailman/
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Argh.. definitely missed that. this is a backup from earlier server when we migrated here... Let me see if cleaning this folder out will help the situation. Thank you.
-Srinivas
On Wed, Jan 22, 2014 at 8:20 PM, Mark Sapiro <mark@msapiro.net> wrote:
On 01/22/2014 07:48 PM, Srinivas B. wrote:
Checked for request.pck, and all I can see were one per list and no dupes
There are two 'mailman' lists
# sudo find / -name request.pck | sort /home/.mailman/mailman/lists/mailman/request.pck ... /var/lib/mailman/lists/mailman/request.pck
what else is in /home/.mailman/mailman/
-- 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
-
Srinivas B.