Dear list,
I have a question about what mailman does when the following log appears into /var/log/maillog.
---/var/log/maillog--- Feb 15 12:00:04 xxx postfix/pickup[6279]: 244811C805C: uid=41 from=<mailman> Feb 15 12:00:04 xxx postfix/cleanup[21529]: 244811C805C: message-id=<20100215030004.244811C805C@example.com> Feb 15 12:00:04 xxx postfix/qmgr[20068]: 244811C805C: from=<mailman@example.com>, size=1728, nrcpt=1 (queue active) Feb 15 12:00:04 xxx postfix/local[21232]: 244811C805C: to=<mailman@example.com>, orig_to=<mailman>, relay=local, delay=0.17, delays=0.05/0/0/0.12, dsn=2.0.0, status=sent (delivered to command: /usr/lib/mailman/mail/mailman post mailman)
At the moment the above messages logged, nothing is operated (no mail send to mailman@example.com from mailman@example.com manually), however, this message happens at the almost same time every noon as follows.
---/var/log/mailman/vette--- Feb 15 12:00:04 2010 (2129) Mailman post from root@rexample.com held, message-id=<20100215030004.244811C805C@example.com>: Post by non-member to a members-only list Feb 16 12:00:05 2010 (2129) Mailman post from root@example.com held, message-id=<20100216030004.69E7A1C8064@example.com>: Post by non-member to a members-only list Feb 17 12:00:04 2010 (2129) Mailman post from root@example.com held, message-id=<20100217030004.50F4C1C806A@example.com>: Post by non-member to a members-only list Feb 18 12:00:05 2010 (2129) Mailman post from root@example.com held, message-id=<20100218030004.723801C806A@example.com>: Post by non-member to a members-only list
---</etc/cron.d/mailman>--- 0 12 * * * mailman /usr/lib/mailman/cron/senddigests 0,5,10,15,20,25,30,35,40,45,50,55 * * * * mailman /usr/lib/mailman/cron/gate_news
---</etc/mailman/aliease>--- # STANZA START: mailman # CREATED: Mon Jan 25 16:48:18 2010 mailman: "|/usr/lib/mailman/mail/mailman post mailman"
According to the time of the log, it seems that this is related to either of the cron jobs specified in /etc/cron.d/mailman(senddigests of ate_news). But I dont get what is exactly going on nor what kind of mail send to the mailman@example.com(how can I verify it?).
Could anyone in this list provide comments/suggestions please?
-Environment OS:RHEL5 postfix-2.3.3-2.1.el5_2 mailman-2.1.9-4.el5
Sincerely,
--
Masaharu Kawada
Masaharu Kawada wrote:
I have a question about what mailman does when the following log appears into /var/log/maillog.
---/var/log/maillog--- Feb 15 12:00:04 xxx postfix/pickup[6279]: 244811C805C: uid=41 from=<mailman> Feb 15 12:00:04 xxx postfix/cleanup[21529]: 244811C805C: message-id=<20100215030004.244811C805C@example.com> Feb 15 12:00:04 xxx postfix/qmgr[20068]: 244811C805C: from=<mailman@example.com>, size=1728, nrcpt=1 (queue active) Feb 15 12:00:04 xxx postfix/local[21232]: 244811C805C: to=<mailman@example.com>, orig_to=<mailman>, relay=local, delay=0.17, delays=0.05/0/0/0.12, dsn=2.0.0, status=sent (delivered to command: /usr/lib/mailman/mail/mailman post mailman)
A post is delivered to the list named 'mailman'.
At the moment the above messages logged, nothing is operated (no mail send to mailman@example.com from mailman@example.com manually), however, this message happens at the almost same time every noon as follows.
---/var/log/mailman/vette--- Feb 15 12:00:04 2010 (2129) Mailman post from root@rexample.com held, message-id=<20100215030004.244811C805C@example.com>: Post by non-member to a members-only list
And that post is held because it is from a non-list-member and the list is configured to hold non-member posts.
Go to the admindb interface for the 'mailman' list and see what the posts are.
They are undoubtedly notifications of a cron error from cron/senddigests caused be the same issue as as discussed in the thread at <http://mail.python.org/pipermail/mailman-users/2010-March/068962.html>.
If no one knows the admin or moderator password to log in to the 'mailman' admindb interface, see the FAQ at <http://wiki.list.org/x/T4A9>.
Note that the 'mailman' list should be configured to accept non-member posts for this and other reasons, or at least, the mailman crontab should have a MAILTO= directive to direct error output to a person.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Mark-san,
Thank you very much for your response.
One thing to make sure, do you mean that a non-list-member is the mailman user? And the list of the administrator is the mailman user as well?
Best Regards,
Mark Sapiro wrote:
Masaharu Kawada wrote:
I have a question about what mailman does when the following log appears into /var/log/maillog.
---/var/log/maillog--- Feb 15 12:00:04 xxx postfix/pickup[6279]: 244811C805C: uid=41 from=<mailman> Feb 15 12:00:04 xxx postfix/cleanup[21529]: 244811C805C: message-id=<20100215030004.244811C805C@example.com> Feb 15 12:00:04 xxx postfix/qmgr[20068]: 244811C805C: from=<mailman@example.com>, size=1728, nrcpt=1 (queue active) Feb 15 12:00:04 xxx postfix/local[21232]: 244811C805C: to=<mailman@example.com>, orig_to=<mailman>, relay=local, delay=0.17, delays=0.05/0/0/0.12, dsn=2.0.0, status=sent (delivered to command: /usr/lib/mailman/mail/mailman post mailman)
A post is delivered to the list named 'mailman'.
At the moment the above messages logged, nothing is operated (no mail send to mailman@example.com from mailman@example.com manually), however, this message happens at the almost same time every noon as follows.
---/var/log/mailman/vette--- Feb 15 12:00:04 2010 (2129) Mailman post from root@rexample.com held, message-id=<20100215030004.244811C805C@example.com>: Post by non-member to a members-only list
And that post is held because it is from a non-list-member and the list is configured to hold non-member posts.
Go to the admindb interface for the 'mailman' list and see what the posts are.
They are undoubtedly notifications of a cron error from cron/senddigests caused be the same issue as as discussed in the thread at <http://mail.python.org/pipermail/mailman-users/2010-March/068962.html>.
If no one knows the admin or moderator password to log in to the 'mailman' admindb interface, see the FAQ at <http://wiki.list.org/x/T4A9>.
Note that the 'mailman' list should be configured to accept non-member posts for this and other reasons, or at least, the mailman crontab should have a MAILTO= directive to direct error output to a person.
Masaharu Kawada wrote:
One thing to make sure, do you mean that a non-list-member is the mailman user?
Yes and no. The sender of the post is not a member of the list. Mailman looks at more than one thing when determining if the sender is a member. In this case, what Mailman looks at is the From: header which according to the vette log is root@example.com and also at the envelope sender which according to the Postfix log is mailman@example.com, so neither of those addresses are list members and if either one was a member, the post would be handled as if from that member.
And the list of the administrator is the mailman user as well?
The list administrator is whatever address(es) is/are in the 'owner' attribute of the list. I have no idea what, if any, these might be.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Mark-san,
Thank you very much for your response.
I got better understanding on what the non-list-member is.
Best Regards,
Mark Sapiro wrote:
Masaharu Kawada wrote:
One thing to make sure, do you mean that a non-list-member is the mailman user?
Yes and no. The sender of the post is not a member of the list. Mailman looks at more than one thing when determining if the sender is a member. In this case, what Mailman looks at is the From: header which according to the vette log is root@example.com and also at the envelope sender which according to the Postfix log is mailman@example.com, so neither of those addresses are list members and if either one was a member, the post would be handled as if from that member.
And the list of the administrator is the mailman user as well?
The list administrator is whatever address(es) is/are in the 'owner' attribute of the list. I have no idea what, if any, these might be.
Mark-san,
I'm very sorry to keep asking you on this, but could you please let me know one more thing?
Since the mail is sent to mailman@example.com from mailman@example.com, there should be that mail in any places such as /var/spool/mail/mailman, /var/lib/mailman/archives/private/mailman.mbox/mailman.mbox and so on I guess. But there is nether of them. How can I find that mail?
Sincerely,
Mark Sapiro wrote:
Masaharu Kawada wrote:
One thing to make sure, do you mean that a non-list-member is the mailman user?
Yes and no. The sender of the post is not a member of the list. Mailman looks at more than one thing when determining if the sender is a member. In this case, what Mailman looks at is the From: header which according to the vette log is root@example.com and also at the envelope sender which according to the Postfix log is mailman@example.com, so neither of those addresses are list members and if either one was a member, the post would be handled as if from that member.
And the list of the administrator is the mailman user as well?
The list administrator is whatever address(es) is/are in the 'owner' attribute of the list. I have no idea what, if any, these might be.
Masaharu Kawada wrote:
Since the mail is sent to mailman@example.com from mailman@example.com, there should be that mail in any places such as /var/spool/mail/mailman,
It is not in /var/spool/mail/mailman becaise the mailman list post alias takes precedence and poosts it to the mailman list.
/var/lib/mailman/archives/private/mailman.mbox/mailman.mbox and so on I guess.
It is not in the mailman list's archives because it is held for approval as a post from a non-member and is still waiting approval.
But there is nether of them. How can I find that mail?
The messages should be visible in the admindb web interface for the mailman list.
There should also be a large number of files in mailman's data/ directory with names like heldmsg-mailman-nnn.pck. Each of these contains one held message. Also, depending on list settings, there may be so many of these that the admindb CGI times out before it can generate the summary page. In that case, you have to remove some, but don't just rm them.
To view the contents of one of these, use Mailman's bin/dumpdb tool. To remove one, use Mailman's bin/discard tool. To remove them all, see the FAQ at <http://wiki.list.org/x/nIA9>.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Hello Mark-san,
Thank you very much for your response.
The messages should be visible in the admindb web interface for the mailman list.
Are the messages you mention that emails which sent to mailman@example.com? Could you please let me make sure that the admindb web interface is a page titled like "Mailman mailing list Administration General Options Section", and the mail sent to mailman@example.com can be visible in somewhere on that page. Is this correct? If so I would like to know exactly where that emails are. "Tend to pending moderator requests"?
There should also be a large number of files in mailman's data/ directory with names like heldmsg-mailman-nnn.pck. Each of these contains one held message. Also, depending on list settings, there may be so many of these that the admindb CGI times out before it can generate the summary page. In that case, you have to remove some, but don't just rm them.
I will verify if such files are existed in mailman's data/ directory.
On the other hand, is it possible to know/find where that emails are, if I get the output of dumpdb command executing against lists/mailman/config.pck?
Best Regards,
Mark Sapiro wrote:
Masaharu Kawada wrote:
Since the mail is sent to mailman@example.com from mailman@example.com, there should be that mail in any places such as /var/spool/mail/mailman,
It is not in /var/spool/mail/mailman becaise the mailman list post alias takes precedence and poosts it to the mailman list.
/var/lib/mailman/archives/private/mailman.mbox/mailman.mbox and so on I guess.
It is not in the mailman list's archives because it is held for approval as a post from a non-member and is still waiting approval.
But there is nether of them. How can I find that mail?
The messages should be visible in the admindb web interface for the mailman list.
There should also be a large number of files in mailman's data/ directory with names like heldmsg-mailman-nnn.pck. Each of these contains one held message. Also, depending on list settings, there may be so many of these that the admindb CGI times out before it can generate the summary page. In that case, you have to remove some, but don't just rm them.
To view the contents of one of these, use Mailman's bin/dumpdb tool. To remove one, use Mailman's bin/discard tool. To remove them all, see the FAQ at <http://wiki.list.org/x/nIA9>.
Masaharu Kawada wrote:
The messages should be visible in the admindb web interface for the mailman list.
Are the messages you mention that emails which sent to mailman@example.com? Could you please let me make sure that the admindb web interface is a page titled like "Mailman mailing list Administration General Options Section", and the mail sent to mailman@example.com can be visible in somewhere on that page. Is this correct? If so I would like to know exactly where that emails are. "Tend to pending moderator requests"?
The page titled "Mailman mailing list Administration General Options Section" is part of the mailman list's admin (not admindb) interface. The admindb interface is the page linked via the "Tend to pending moderator requests" link on the admin pages.
The admin pages have URLs that look like http://www.example.com/mailman/admin/mailman/...
The admindb interface is http://www.example.com/mailman/admindb/mailman
There should also be a large number of files in mailman's data/ directory with names like heldmsg-mailman-nnn.pck. Each of these contains one held message. Also, depending on list settings, there may be so many of these that the admindb CGI times out before it can generate the summary page. In that case, you have to remove some, but don't just rm them.
I will verify if such files are existed in mailman's data/ directory.
On the other hand, is it possible to know/find where that emails are, if I get the output of dumpdb command executing against lists/mailman/config.pck?
No. There is nothing in the config.pck that tells you anything about held messages. Information about the messages is in lists/mailman/request.pck, but this is the same information that will be presented much more readably on the admindb page
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Mark-san,
Thank you very much for your quick response.
I totally understood, and I should have been more careful about what exactly the admindb is. Thanks a million!
Sincerely,
The messages should be visible in the admindb web interface for the mailman list.
Are the messages you mention that emails which sent to mailman@example.com? Could you please let me make sure that the admindb web interface is a page titled like "Mailman mailing list Administration General Options Section", and the mail sent to mailman@example.com can be visible in somewhere on that page. Is this correct? If so I would like to know exactly where that emails are. "Tend to pending moderator requests"?
The page titled "Mailman mailing list Administration General Options Section" is part of the mailman list's admin (not admindb) interface. The admindb interface is the page linked via the "Tend to pending moderator requests" link on the admin pages.
The admin pages have URLs that look like http://www.example.com/mailman/admin/mailman/...
The admindb interface is http://www.example.com/mailman/admindb/mailman
There should also be a large number of files in mailman's data/ directory with names like heldmsg-mailman-nnn.pck. Each of these contains one held message. Also, depending on list settings, there may be so many of these that the admindb CGI times out before it can generate the summary page. In that case, you have to remove some, but don't just rm them.
I will verify if such files are existed in mailman's data/ directory.
On the other hand, is it possible to know/find where that emails are, if I get the output of dumpdb command executing against lists/mailman/config.pck?
No. There is nothing in the config.pck that tells you anything about held messages. Information about the messages is in lists/mailman/request.pck, but this is the same information that will be presented much more readably on the admindb page
Hi Mark-san,
I found that there are many of files named like heldmsg-mailman-nnn.pck in mailman's data/ directory. These are the notification mails that would be sent to mailman@example.com when senddigests by cron fails, aren't they?
The reason why these emails sent to mailman@example.com is that is because the senddigests fails, and the reason why these emails keep staying in that directory(/data) is that they are all sent from non-list-member(root or mailman), so can not be sent to the mailing list(mailman mailing list this time) without permission(pendding, accept, reject, discard). Is my understanding right?
Best Regards,
Masaharu Kawada wrote:
Mark-san,
Thank you very much for your quick response.
I totally understood, and I should have been more careful about what exactly the admindb is. Thanks a million!
Sincerely,
The messages should be visible in the admindb web interface for the mailman list.
Are the messages you mention that emails which sent to mailman@example.com? Could you please let me make sure that the admindb web interface is a page titled like "Mailman mailing list Administration General Options Section", and the mail sent to mailman@example.com can be visible in somewhere on that page. Is this correct? If so I would like to know exactly where that emails are. "Tend to pending moderator requests"?
The page titled "Mailman mailing list Administration General Options Section" is part of the mailman list's admin (not admindb) interface. The admindb interface is the page linked via the "Tend to pending moderator requests" link on the admin pages.
The admin pages have URLs that look like http://www.example.com/mailman/admin/mailman/...
The admindb interface is http://www.example.com/mailman/admindb/mailman
There should also be a large number of files in mailman's data/ directory with names like heldmsg-mailman-nnn.pck. Each of these contains one held message. Also, depending on list settings, there may be so many of these that the admindb CGI times out before it can generate the summary page. In that case, you have to remove some, but don't just rm them.
I will verify if such files are existed in mailman's data/ directory.
On the other hand, is it possible to know/find where that emails are, if I get the output of dumpdb command executing against lists/mailman/config.pck?
No. There is nothing in the config.pck that tells you anything about held messages. Information about the messages is in lists/mailman/request.pck, but this is the same information that will be presented much more readably on the admindb page
Mailman-Users mailing list Mailman-Users@python.org http://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: http://mail.python.org/mailman/options/mailman-users/mkawada%40redhat.com
Masaharu Kawada wrote:
I found that there are many of files named like heldmsg-mailman-nnn.pck in mailman's data/ directory. These are the notification mails that would be sent to mailman@example.com when senddigests by cron fails, aren't they?
Certainly the ones with timstamps about 12:00 on each day are, but there could be others.
The reason why these emails sent to mailman@example.com is that is because the senddigests fails, and the reason why these emails keep staying in that directory(/data) is that they are all sent from non-list-member(root or mailman), so can not be sent to the mailing list(mailman mailing list this time) without permission(pendding, accept, reject, discard). Is my understanding right?
Yes.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Hi Mark-san,
Thank you very much for your response. I really appreciate it.
Best Regards,
Mark Sapiro wrote:
Masaharu Kawada wrote:
I found that there are many of files named like heldmsg-mailman-nnn.pck in mailman's data/ directory. These are the notification mails that would be sent to mailman@example.com when senddigests by cron fails, aren't they?
Certainly the ones with timstamps about 12:00 on each day are, but there could be others.
The reason why these emails sent to mailman@example.com is that is because the senddigests fails, and the reason why these emails keep staying in that directory(/data) is that they are all sent from non-list-member(root or mailman), so can not be sent to the mailing list(mailman mailing list this time) without permission(pendding, accept, reject, discard). Is my understanding right?
Yes.
participants (2)
-
Mark Sapiro
-
Masaharu Kawada