From mph28 at hotmail.com Wed Feb 1 11:58:09 2012 From: mph28 at hotmail.com (mph28 at hotmail.com) Date: Wed, 1 Feb 2012 10:58:09 +0000 Subject: [Mailman-Users] Automatic messages still going out from defunct list Message-ID: Hello I wonder if you can help me. We are a residents' association and we had been using mailman to contact our members. We then had to change our hosting and the mailman option was suddenly and unexpectedly no longer available. We 'lost' our mailing list in that it was no longer possible to access it and administer it. We are now going to use a different system for our email contact with members but unfortunately everybody is still receiving the monthly reminders. How can we stop those from being sent out and close down the list properly? From mark at msapiro.net Wed Feb 1 16:35:54 2012 From: mark at msapiro.net (Mark Sapiro) Date: Wed, 1 Feb 2012 07:35:54 -0800 Subject: [Mailman-Users] Mail sent to 2 different mailinglists underonedomain fail.. In-Reply-To: Message-ID: Nils Kolstein wrote: > >My hosting provider is running 2.1.9 so unfortunately I don't have >this option. I will check with them to see if they are willing to >upgrade. Last stable version is 2.1.14 so they are running behind. 2.1.9 does not have the regular_exclude_lists feature, so this is not the explanation of your issue. Another possibility is that this is not an issue with Mailman or the host at all, but rather it is the receiving ISP or the receiving MUA that is filtering the "duplicates" because they have the same message-id. This is not the issue of , but it could be related. You could check the archives of both lists, if they both archive, to see if the post reached both lists. Beyond that, only your hosting provider can verify from MTA and Mailman logs whether the message is in fact delivered to and processed by both lists. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Wed Feb 1 17:06:05 2012 From: mark at msapiro.net (Mark Sapiro) Date: Wed, 1 Feb 2012 08:06:05 -0800 Subject: [Mailman-Users] Automatic messages still going out from defunct list In-Reply-To: Message-ID: mph28 at hotmail.com wrote: > >Hello I wonder if you can help me. We are a residents' association and we had been using mailman to contact our members. We then had to change our hosting and the mailman option was suddenly and unexpectedly no longer available. We 'lost' our mailing list in that it was no longer possible to access it and administer it. We are now going to use a different system for our email contact with members but unfortunately everybody is still receiving the monthly reminders. How can we stop those from being sent out and close down the list properly? You will have to contact the old hosting service and ask them to remove the list which still exists on their server even though DNS for your domain(s) now points elsewhere. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From anilj at me.com Thu Feb 2 00:57:30 2012 From: anilj at me.com (Anil Jangity) Date: Wed, 01 Feb 2012 15:57:30 -0800 Subject: [Mailman-Users] slow "out" queue In-Reply-To: References: Message-ID: <7513ECD8-77B9-4328-A707-5EAC73AA6CFF@me.com> It seems it is doing about 6000 users in 35 minutes. The problem seems to be that sendmail is doing one email connection per recipient. I have these set in mm_cfg.py: SMTP_MAX_RCPTS = 15 SMTP_MAX_SESSIONS_PER_CONNECTION = 50 It seems Qrunner isn't honoring those? > > Look at Mailman's 'smtp' log. You undoubtedly have a huge backlog in > the out queue because you aren't processing outgoing SMTP fast enough > to keep up with demand. In the smtp log you will see entries like > > Jan 20 09:41:14 2012 (17283) smtp to listname for 223 > recips, completed in 3.500 seconds > > You will observe that each entry's timestamp is equal to that of the > previous entry plus this entry's 'completed in' time indicating no > delay between messages. Each entry represents processing of one out/ > queue entry. You will probably also note that the processing rate is > much less than the 64 recipients/second in the above message which is > from a full VERP installation. > From cpz at tuunq.com Thu Feb 2 02:02:49 2012 From: cpz at tuunq.com (Carl Zwanzig) Date: Wed, 01 Feb 2012 17:02:49 -0800 Subject: [Mailman-Users] slow "out" queue In-Reply-To: <7513ECD8-77B9-4328-A707-5EAC73AA6CFF@me.com> References: <7513ECD8-77B9-4328-A707-5EAC73AA6CFF@me.com> Message-ID: <4F29E0B9.70008@tuunq.com> On 2/1/2012 3:57 PM, Anil Jangity wrote: > I have these set in mm_cfg.py: > > SMTP_MAX_RCPTS = 15 > SMTP_MAX_SESSIONS_PER_CONNECTION = 50 > > It seems Qrunner isn't honoring those? Did you restart the qrunners after changing those settings? z! From anilj at me.com Thu Feb 2 06:44:31 2012 From: anilj at me.com (Anil Jangity) Date: Wed, 01 Feb 2012 21:44:31 -0800 Subject: [Mailman-Users] slow "out" queue In-Reply-To: <8960378A-43C7-457F-BF14-047EEF9CA0AB@me.com> References: <7513ECD8-77B9-4328-A707-5EAC73AA6CFF@me.com> <4F29E0B9.70008@tuunq.com> <8960378A-43C7-457F-BF14-047EEF9CA0AB@me.com> Message-ID: <1E8EA220-801E-47C7-B3DF-32BB02D37C8C@me.com> Actually, looking at the code... it seems it might be because I have these set for some of the lists. VERP_PERSONALIZED_DELIVERIES = 1 OWNERS_CAN_ENABLE_PERSONALIZATION = 1 Thanks On Feb 1, 2012, at 9:01 PM, Anil Jangity wrote: > Yes. > What exactly does that option do/mean? > Does mailman actually (if it works) send to 15 recipients at a time - per SMTP session? > > On Feb 1, 2012, at 5:02 PM, Carl Zwanzig wrote: > >> On 2/1/2012 3:57 PM, Anil Jangity wrote: >> >>> I have these set in mm_cfg.py: >>> >>> SMTP_MAX_RCPTS = 15 >>> SMTP_MAX_SESSIONS_PER_CONNECTION = 50 >>> >>> It seems Qrunner isn't honoring those? >> >> Did you restart the qrunners after changing those settings? >> >> z! >> > From anilj at me.com Thu Feb 2 06:01:21 2012 From: anilj at me.com (Anil Jangity) Date: Wed, 01 Feb 2012 21:01:21 -0800 Subject: [Mailman-Users] slow "out" queue In-Reply-To: <4F29E0B9.70008@tuunq.com> References: <7513ECD8-77B9-4328-A707-5EAC73AA6CFF@me.com> <4F29E0B9.70008@tuunq.com> Message-ID: <8960378A-43C7-457F-BF14-047EEF9CA0AB@me.com> Yes. What exactly does that option do/mean? Does mailman actually (if it works) send to 15 recipients at a time - per SMTP session? On Feb 1, 2012, at 5:02 PM, Carl Zwanzig wrote: > On 2/1/2012 3:57 PM, Anil Jangity wrote: > >> I have these set in mm_cfg.py: >> >> SMTP_MAX_RCPTS = 15 >> SMTP_MAX_SESSIONS_PER_CONNECTION = 50 >> >> It seems Qrunner isn't honoring those? > > Did you restart the qrunners after changing those settings? > > z! > From mark at msapiro.net Thu Feb 2 07:56:30 2012 From: mark at msapiro.net (Mark Sapiro) Date: Wed, 1 Feb 2012 22:56:30 -0800 Subject: [Mailman-Users] slow "out" queue In-Reply-To: <8960378A-43C7-457F-BF14-047EEF9CA0AB@me.com> Message-ID: Anil Jangity wrote: >Does mailman actually (if it works) send to 15 recipients at a time - per SMTP session? Mailman's use of the term session is not consistent with the RFCs. What Mailman calls SMTP_MAX_SESSIONS_PER_CONNECTION is actually in RFC 821, 2821, 5321 terms, max transactions per session. I.e. one session is one connection from HELO/EHLO to QUIT and one transaction is one MAIL FROM and everything that follows up to the next MAIL FROM. Unless you have some specific MTA reason for setting SMTP_MAX_SESSIONS_PER_CONNECTION, you should leave it at the default value of 0 meaning unlimited. If a message is personalized or VERPd, SMTP_MAX_RCPTS is ignored because you can't send a personalized or VERPd message to more than one recipient. Otherwize, SMTP_MAX_RCPTS is the maximum number of RCPT TO recipients in one MAIL FROM transaction. Note that 6000 users per 35 minutes is less than 3 per second. This is extremely slow. I typically see 30 to over 60 recipients per second on a rather ordinary production server with full VERP. See my reply to your original post in this thread at and look at the FAQs linked in that post for hints. In particular, do not do DNS verification of RCPT TO domains during SMTP from Mailman. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From fred.sasse at state.mn.us Wed Feb 1 23:15:45 2012 From: fred.sasse at state.mn.us (Sasse, Fred (DNR)) Date: Wed, 1 Feb 2012 22:15:45 +0000 Subject: [Mailman-Users] mailman 2.1.14 can send mail but not receive Message-ID: <7E014D228D4A044EB08AE7D2DF781A6A01C727@055-CH1MPN1-033.055d.mgd.msft.net> Mailman 2.1.4 running on SLES 11.1 with postfix. Users able to subscribe to lists now and receive the confirmation email. However, if they reply to the message it is never received. If they click on the web link they are subscribed to the list. Users cannot post messages to the list, as the emails are never received. From misterbhatt at gmail.com Thu Feb 2 08:11:13 2012 From: misterbhatt at gmail.com (Amit Bhatt) Date: Thu, 2 Feb 2012 12:41:13 +0530 Subject: [Mailman-Users] mailman 2.1.14 can send mail but not receive References: <7E014D228D4A044EB08AE7D2DF781A6A01C727@055-CH1MPN1-033.055d.mgd.msft.net> Message-ID: So would be better if we upgrade in to new version? What is the recommendation. Regards, Amit Bhatt ----- Original Message ----- From: "Sasse, Fred (DNR)" To: Sent: Thursday, February 02, 2012 3:45 AM Subject: [Mailman-Users] mailman 2.1.14 can send mail but not receive > Mailman 2.1.4 running on SLES 11.1 with postfix. > > Users able to subscribe to lists now and receive the confirmation email. > However, if they reply to the message it is never received. > If they click on the web link they are subscribed to the list. > > Users cannot post messages to the list, as the emails are never received. > ------------------------------------------------------ > Mailman-Users mailing list Mailman-Users at 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/misterbhatt%40gmail.com From walter at psybernet.co.nz Thu Feb 2 11:21:50 2012 From: walter at psybernet.co.nz (Walter Logeman) Date: Thu, 2 Feb 2012 23:21:50 +1300 Subject: [Mailman-Users] Importing Emails Message-ID: Hi I'm moving to mailman from another service and I'd like to ask them to provide a file of several years of email for our records. Is it possible to import emails into Mailman? Can I include attachments in an import? What format would I be advised to ask for the emails to be in from the old group? Thanks Walter Logeman From mark at msapiro.net Thu Feb 2 20:47:59 2012 From: mark at msapiro.net (Mark Sapiro) Date: Thu, 2 Feb 2012 11:47:59 -0800 Subject: [Mailman-Users] mailman 2.1.14 can send mail but not receive In-Reply-To: <7E014D228D4A044EB08AE7D2DF781A6A01C727@055-CH1MPN1-033.055d.mgd.msft.net> Message-ID: Sasse, Fred (DNR) wrote: >Mailman 2.1.4 running on SLES 11.1 with postfix. > >Users able to subscribe to lists now and receive the confirmation email. >However, if they reply to the message it is never received. >If they click on the web link they are subscribed to the list. > >Users cannot post messages to the list, as the emails are never received. Check your Postfix log (maillog) to see what happens to these messages. Have you followed the Postfix integration instructions at ? If not, and you are using a SUSE package and/or some 3rd party module like postfix_to_mailman.py, see the FAQ at . -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Thu Feb 2 20:50:43 2012 From: mark at msapiro.net (Mark Sapiro) Date: Thu, 2 Feb 2012 11:50:43 -0800 Subject: [Mailman-Users] mailman 2.1.14 can send mail but not receive In-Reply-To: Message-ID: Amit Bhatt wrote: >So would be better if we upgrade in to new version? >What is the recommendation. Does this post belong in this thread? What's your issue? My recommendation with respect to Mailman is always run the latest available stable release. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Thu Feb 2 21:35:27 2012 From: mark at msapiro.net (Mark Sapiro) Date: Thu, 2 Feb 2012 12:35:27 -0800 Subject: [Mailman-Users] Importing Emails In-Reply-To: Message-ID: Walter Logeman wrote: > >I'm moving to mailman from another service and I'd like to ask them to >provide a file of several years of email for our records. > >Is it possible to import emails into Mailman? Can I include >attachments in an import? What format would I be advised to ask for >the emails to be in from the old group? Ideally, you will be able to get all the archival mails as a 'Unix mbox' format file. This can be imported directly into a list's pipermail archive using Mailman's bin/arch tool. There is also a bin/cleanarch tool which can check the mbox for unescaped 'From ' lines which can confuse bin/arch. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From kaja at science.au.dk Fri Feb 3 13:11:30 2012 From: kaja at science.au.dk (Kaja Podlaska Christiansen) Date: Fri, 03 Feb 2012 13:11:30 +0100 Subject: [Mailman-Users] Change of member address via web fails Message-ID: <4F2BCEF2.2050301@science.au.dk> Hi, How to change the email address of a list member via web? I have tried the following: - as a list admin, go to the administrative interface -> Membership List - click on the email address to be changed - enter new address (twice) and submit 'Change My Address...' - click 'Submit My Changes' However, the email address remains unchanged... I'm running Mailman 2.1.14. Thanks, Kaja -- Kaja Podlaska Christiansen AU IT Systemadministrator Aarhus University Cand. scient. Finlandsgade 2 Phone: +45 8715 6226 8200 Aarhus N - Denmark From support at thirdrocknetworks.com Fri Feb 3 23:45:46 2012 From: support at thirdrocknetworks.com (ThirdRock Support) Date: Fri, 3 Feb 2012 22:45:46 +0000 Subject: [Mailman-Users] post to mailman from mailman-owner Message-ID: I have an old Mailman installation (2.1.14) using postfix virtual domains. There was a problem with permissions, and so a lot of messages were shunted. I fixed permissions, and mailing lists are working, but list moderator requests are not being sent. My 'post' logs a are filled with messages saying: Feb 03 22:39:34 2012 (30455) post to mailman from mailman-owner at mydomain.com, size=1694, message-id=, 1 failures This message repeats every few seconds. My mailman managed alias file does have what I think are the correct entries for the mailman list: # STANZA START: mailman # CREATED: Thu Jun 23 22:10:23 2011 mailman: "|/mailman/mail/mailman post mailman" mailman-admin: "|/mailman/mail/mailman admin mailman" mailman-bounces: "|/mailman/mail/mailman bounces mailman" mailman-confirm: "|/mailman/mail/mailman confirm mailman" mailman-join: "|/mailman/mail/mailman join mailman" mailman-leave: "|/mailman/mail/mailman leave mailman" mailman-owner: "|/mailman/mail/mailman owner mailman" mailman-request: "|/mailman/mail/mailman request mailman" mailman-subscribe: "|/mailman/mail/mailman subscribe mailman" mailman-unsubscribe: "|/mailman/mail/mailman unsubscribe mailman" # STANZA END: mailman Can anyone point me in the correct direction to fix these problems? Thanks Paul From mark at msapiro.net Sat Feb 4 17:42:38 2012 From: mark at msapiro.net (Mark Sapiro) Date: Sat, 4 Feb 2012 08:42:38 -0800 Subject: [Mailman-Users] post to mailman from mailman-owner In-Reply-To: Message-ID: ThirdRock Support wrote: >I fixed permissions, and mailing lists are working, but list moderator >requests are not being sent. >My 'post' logs a are filled with messages saying: > >Feb 03 22:39:34 2012 (30455) post to mailman from mailman-owner at mydomain.com, >size=1694, message-id=, >1 failures What is in Mailman's 'smtp-failure' log and what is in Postfix's maillog for these messages? -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From Richard at Damon-Family.org Sat Feb 4 17:45:42 2012 From: Richard at Damon-Family.org (Richard Damon) Date: Sat, 04 Feb 2012 11:45:42 -0500 Subject: [Mailman-Users] Change of member address via web fails In-Reply-To: <4F2BCEF2.2050301@science.au.dk> References: <4F2BCEF2.2050301@science.au.dk> Message-ID: <4F2D60B6.6010704@Damon-Family.org> On 2/3/12 7:11 AM, Kaja Podlaska Christiansen wrote: > > Hi, > > How to change the email address of a list member via web? > I have tried the following: > > - as a list admin, go to the administrative interface -> Membership List > - click on the email address to be changed > - enter new address (twice) and submit 'Change My Address...' > - click 'Submit My Changes' > > However, the email address remains unchanged... I'm running Mailman > 2.1.14. > > Thanks, > Kaja > > -- > Kaja Podlaska Christiansen AU IT > Systemadministrator Aarhus University > Cand. scient. Finlandsgade 2 > Phone: +45 8715 6226 8200 Aarhus N - Denmark The list is sending a confirmation message to the new address, and unless and until the subscriber acknowledges the change it will not happen. There may be a way in the settings to turn this off, but it is a good feature to prevent you from accidentally (or on purpose) spamming an address that doesn't want the emails. -- Richard Damon From mark at msapiro.net Sat Feb 4 17:48:26 2012 From: mark at msapiro.net (Mark Sapiro) Date: Sat, 4 Feb 2012 08:48:26 -0800 Subject: [Mailman-Users] Change of member address via web fails In-Reply-To: <4F2BCEF2.2050301@science.au.dk> Message-ID: Kaja Podlaska Christiansen wrote: >I have tried the following: > >- as a list admin, go to the administrative interface -> Membership List >- click on the email address to be changed >- enter new address (twice) and submit 'Change My Address...' >- click 'Submit My Changes' > >However, the email address remains unchanged... I'm running Mailman 2.1.14. When you change a member's address in this way, a confirmation request is sent to the new address, and the address is not changed until the user confirms. Even as list admin, you cannot change a member's address from the web without user confirmation. The way to change a member's address without confirmation is via the Mailman command line tool bin/clone_member. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From pennguin at mac.com Sat Feb 4 18:11:24 2012 From: pennguin at mac.com (Rob McLear) Date: Sat, 04 Feb 2012 12:11:24 -0500 Subject: [Mailman-Users] Change of member address via web fails In-Reply-To: References: Message-ID: <743D0532-FBC2-4EA0-8E99-A3E6504DC47D@mac.com> Yes, becoming familiar with the command line functions (particularly find_member, add_members, remove_members, and clone_member) has made life so much easier. I used to do everything via the web interface and it is just amazing how many users won't even bother to click a confirmation link to finalize an address update! -Rob On Feb 4, 2012, at 11:48 AM, Mark Sapiro wrote: > Kaja Podlaska Christiansen wrote: > >> I have tried the following: >> >> - as a list admin, go to the administrative interface -> Membership List >> - click on the email address to be changed >> - enter new address (twice) and submit 'Change My Address...' >> - click 'Submit My Changes' >> >> However, the email address remains unchanged... I'm running Mailman 2.1.14. > > > When you change a member's address in this way, a confirmation request > is sent to the new address, and the address is not changed until the > user confirms. > > Even as list admin, you cannot change a member's address from the web > without user confirmation. > > The way to change a member's address without confirmation is via the > Mailman command line tool bin/clone_member. > > -- > Mark Sapiro The highway is for gamblers, > San Francisco Bay Area, California better use your sense - B. Dylan > > ------------------------------------------------------ > Mailman-Users mailing list Mailman-Users at 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/pennguin%40mac.com From adam-mailman at amyl.org.uk Sat Feb 4 18:27:56 2012 From: adam-mailman at amyl.org.uk (Adam McGreggor) Date: Sat, 4 Feb 2012 17:27:56 +0000 Subject: [Mailman-Users] Change of member address via web fails In-Reply-To: <743D0532-FBC2-4EA0-8E99-A3E6504DC47D@mac.com> References: <743D0532-FBC2-4EA0-8E99-A3E6504DC47D@mac.com> Message-ID: <20120204172756.GU3090@hendricks.amyl.org.uk> On Sat, Feb 04, 2012 at 12:11:24PM -0500, Rob McLear wrote: > just amazing how many users won't even bother to click a > confirmation link to finalize an address update! Spam-trapping may, partially, be to blame. -- "There are three principal ways to lose money: wine, women, and engineers. While the first two are more pleasant, the third is by far the more certain." -- Rothschild, ca. 1800 From Richard at Damon-Family.org Sat Feb 4 21:11:39 2012 From: Richard at Damon-Family.org (Richard Damon) Date: Sat, 04 Feb 2012 15:11:39 -0500 Subject: [Mailman-Users] Change of member address via web fails In-Reply-To: <20120204172756.GU3090@hendricks.amyl.org.uk> References: <743D0532-FBC2-4EA0-8E99-A3E6504DC47D@mac.com> <20120204172756.GU3090@hendricks.amyl.org.uk> Message-ID: <4F2D90FB.7090206@Damon-Family.org> On 2/4/12 12:27 PM, Adam McGreggor wrote: > On Sat, Feb 04, 2012 at 12:11:24PM -0500, Rob McLear wrote: >> just amazing how many users won't even bother to click a >> confirmation link to finalize an address update! > Spam-trapping may, partially, be to blame. > I think another issue is that if the user replies with an HTML formatted message, I don't think the processor will necessarily be able to parse it. With the growth of Web Email clients and just the over all growth of HTML formatted mail, this is getting more common. The confirmation message, as I remember, talks of "just hitting reply" as the simplest way to confirm, with the web link as a backup. I am tempted to rewrite the message to ask them to click the link first, and save the reply option as a backup if they can't follow a link. -- Richard Damon From mark at msapiro.net Sat Feb 4 21:46:42 2012 From: mark at msapiro.net (Mark Sapiro) Date: Sat, 4 Feb 2012 12:46:42 -0800 Subject: [Mailman-Users] Change of member address via web fails In-Reply-To: <4F2D90FB.7090206@Damon-Family.org> Message-ID: Richard Damon wrote: >I think another issue is that if the user replies with an HTML formatted >message, I don't think the processor will necessarily be able to parse >it. This should not be an issue. The format of the message body, e.g. non-MIME plain text, MIME text/plain, MIME text/html, MIME multipart and even its content is irrelevant. If VERP_CONFIRMATIONS is No which is the default, the confirmation request is From: LISTNAME-request at example.com with Subject: confirm CONFIRMATION_TOKEN Whatever the content of the reply, the user's MUA should address it To: LISTNAME-request at example.com with the same subject possibly preceded by Re: or similar as in Subject: Re: confirm CONFIRMATION_TOKEN The request processor is clever enough to remove the first 'word' from the subject if it's not a recognized command, and it also decodes RFC 2047 encoded subjects so the confirmation should succeed unless the subject gets more that one word prepended to it. If VERP_CONFIRMATIONS is set to Yes in mm_cfg.py, the confirmation request is From: LISTNAME-confirm+CONFIRMATION_TOKEN at example.com with Subject: Your confirmation is required to join the LISTNAME mailing list or its i18n translation and any reply To: LISTNAME-confirm+CONFIRMATION_TOKEN at example.com will succeed. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mbx at sgtst.com Sat Feb 4 22:35:57 2012 From: mbx at sgtst.com (Nancy Shoemaker) Date: Sat, 04 Feb 2012 16:35:57 -0500 Subject: [Mailman-Users] Change of member address via web fails In-Reply-To: References: Message-ID: > >On Feb 4, 2012, at 11:48 AM, Mark Sapiro wrote: > > > > When you change a member's address in this way, a confirmation request > > is sent to the new address, and the address is not changed until the > > user confirms. > > > > Even as list admin, you cannot change a member's address from the web > > without user confirmation. > > > > The way to change a member's address without confirmation is via the > > Mailman command line tool bin/clone_member. First: immense thanks to everyone on the Mailman team -- it's been an invaluable tool for many small organizations that I support. On the other hand, I'm one of those who does not have access to the command line utilities (Mailman installed on shared hosting via control panel). While I know it's possible to automate the web interface in a variety of ways (thanks, for example, for the mailman-subscribers.py script!) that just seems awkward to me -- and automating this particular issue (with an unsubscribe/subscribe) has side effects as noted in this thread from 2004: http://www.mail-archive.com/mailman-users at python.org/msg23670.html From mark at msapiro.net Sun Feb 5 00:31:21 2012 From: mark at msapiro.net (Mark Sapiro) Date: Sat, 4 Feb 2012 15:31:21 -0800 Subject: [Mailman-Users] Change of member address via web fails In-Reply-To: Message-ID: Nancy Shoemaker wrote: > >I'm one of those who does not have access to the >command line utilities (Mailman installed on shared hosting via >control panel). While I know it's possible to automate the web >interface in a variety of ways (thanks, for example, for the >mailman-subscribers.py script!) that just seems awkward to me -- and >automating this particular issue (with an unsubscribe/subscribe) has >side effects as noted in this thread from 2004: > >http://www.mail-archive.com/mailman-users at python.org/msg23670.html Also, see this feature request from 2005 . It is unlikely that this will be implemented in Mailman 2.1. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From Jan at Bytesmiths.com Sun Feb 5 16:05:19 2012 From: Jan at Bytesmiths.com (Jan Steinman) Date: Sun, 5 Feb 2012 07:05:19 -0800 Subject: [Mailman-Users] Change of member address via web fails In-Reply-To: References: Message-ID: > Nancy Shoemaker wrote: >> >> (thanks, for example, for the >> mailman-subscribers.py script!) Speaking of "mailman-subscribers.py", some time ago, Mark, you sent me a lovely patch that would print subscribers as: Firstname Lastname I don't know when that quit working, but probably some automagic OS update wiped it out somewhere along the way. At the time, I thought it was going to go back into the main distribution. Would it be possible to have it re-integrated into Mailman? I can probably dig up the original correspondence and patch if that would be helpful. ---------------- A man had severe pain in his scrotum. The doctor recommended surgical removal of the man's testicles...which he agreed to. After all the pain was so intense that it was worth it ? if this would 'fix it'. So the operation took place, and sure enough the man had no more pain. A few months later, he walked into a store and saw his favorite kind of jeans on sale. He was ready to buy a few pair when the salesman remarked "Those are some good looking jeans. But the way they are built will give you a severe pain in the balls. I don't recommend them." -- Marie Russell :::: Jan Steinman, EcoReality Co-op :::: From sahil+mailman-users at tandon.net Sat Feb 4 22:14:35 2012 From: sahil+mailman-users at tandon.net (Sahil Tandon) Date: Sat, 4 Feb 2012 16:14:35 -0500 Subject: [Mailman-Users] Uncaught runner exception: 'ascii' codec can't encode character u'\u201c' Message-ID: <20120204211435.GA7449@magic.hamla.org> I am seeing this error with all mail sent to just one (of several) mailman mailing lists that are operating without problems. I found some related discussions in the archives, but nothing that (as far as I could tell) corresponds to what I am seeing. Sorry for my MUA's line wrapping: --- Feb 04 20:31:51 2012 (1176) Uncaught runner exception: 'ascii' codec can't encode character u'\u201c' in position 0: ordinal not in range(128) Feb 04 20:31:51 2012 (1176) Traceback (most recent call last): File "/usr/local/mailman/Mailman/Queue/Runner.py", line 111, in _oneloop self._onefile(msg, msgdata) File "/usr/local/mailman/Mailman/Queue/Runner.py", line 167, in _onefile keepqueued = self._dispose(mlist, msg, msgdata) File "/usr/local/mailman/Mailman/Queue/IncomingRunner.py", line 130, in _dispose more = self._dopipeline(mlist, msg, msgdata, pipeline) File "/usr/local/mailman/Mailman/Queue/IncomingRunner.py", line 153, in _dopipeline sys.modules[modname].process(mlist, msg, msgdata) File "/usr/local/mailman/Mailman/Handlers/ToDigest.py", line 91, in process send_digests(mlist, mboxfp) File "/usr/local/mailman/Mailman/Handlers/ToDigest.py", line 132, in send_digests send_i18n_digests(mlist, mboxfp) File "/usr/local/mailman/Mailman/Handlers/ToDigest.py", line 306, in send_i18n_digests msg = scrubber(mlist, msg) File "/usr/local/mailman/Mailman/Handlers/Scrubber.py", line 182, in process charset = part.get_content_charset(lcset) File "/usr/local/mailman/pythonlib/email/Message.py", line 817, in get_content_charset charset = unicode(charset[2], pcharset).encode('us-ascii') UnicodeEncodeError: 'ascii' codec can't encode character u'\u201c' in position 0: ordinal not in range(128) Feb 04 20:31:51 2012 (1176) SHUNTING: 1328387505.157315+73d2286bbd8f34b0f690645d2037aa561e373438 --- If I understand the exception correctly, 'position 0' is the first character in the shunted pickle file? But in the beginning of the file I see: [----- start pickle file -----] <----- start object 1 -----> From owner-test-list at tandon.net Sat Feb 4 20:31:45 2012 ... I do not see the U+201C and am stuck trying to figure out why all mail (regardless of content) to this - and only this list - is shunted. Thanks for any pointers. -- Sahil Tandon From sundaram.ramachandran at kggroup.com Sun Feb 5 16:24:07 2012 From: sundaram.ramachandran at kggroup.com (Sundaram Ramachandran) Date: Sun, 5 Feb 2012 20:54:07 +0530 (IST) Subject: [Mailman-Users] UsingMailman fortask management Message-ID: <1984499079.320475.1328455447538.JavaMail.root@mail.kgisl.org> Hi I am new to this list so please be gentle. I am a member of many mailing lists, so I was wondering if Mailman can be used as a Task Management System. I'll explain: Suppose I create a list, titled todo-$name Any new post to this list would get assigned a Task id at the beginning of the subject; for ex: Subject: [ToDo-$name] [Task 1] Install and Test Mailman [Created] Now when anybody replies to this post, it gets filed under this 'thread'. The initial status is [Created] I could have status such as [Assigned],[In Progress] and [Completed]. Later I should be able to sort the entire List per status, etc. Can this be done using Mailman in its present form? Or should I post this in Developers site to get help? Any help appreciated. Thanks ...KRS From mark at msapiro.net Sun Feb 5 19:59:36 2012 From: mark at msapiro.net (Mark Sapiro) Date: Sun, 05 Feb 2012 10:59:36 -0800 Subject: [Mailman-Users] Real name on roster - was: Change of member address via web fails In-Reply-To: References: Message-ID: <4F2ED198.4030303@msapiro.net> On 2/5/2012 7:05 AM, Jan Steinman wrote: > > Speaking of "mailman-subscribers.py", some time ago, Mark, you sent me a lovely patch that would print subscribers as: > > Firstname Lastname > > I don't know when that quit working, but probably some automagic OS update wiped it out somewhere along the way. This was a patch to Mailman/HTMLFormatter.py to add the user's real name if available to the roster produced by http://example.com/mailman/roster/LISTNAME. The format was actually "user at example.com (Jane User)", and it wasn't my patch. It came from Martin Sch?tte. See . > At the time, I thought it was going to go back into the main distribution. Would it be possible to have it re-integrated into Mailman? I said I would put in in Mailman 2.2 , and I did. Mailman 2.2 was intended to have a new web UI, but we subsequently decided to concentrate on doing that for Mailman 3 and that there would never be an official 2.2 release. I have continued to maintain the 2.2 branch in parallel with 2.1 and it can be obtained from . It contains this and a few other features as described at the beginning of and is what I run in production. So, your choices for this feature are to reapply this patch after every Mailman package update, or forget the vendor package and install Mailman 2.2 from source. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Sun Feb 5 20:37:56 2012 From: mark at msapiro.net (Mark Sapiro) Date: Sun, 5 Feb 2012 11:37:56 -0800 Subject: [Mailman-Users] Uncaught runner exception: 'ascii' codec can'tencode character u'\u201c' In-Reply-To: <20120204211435.GA7449@magic.hamla.org> Message-ID: Sahil Tandon wrote: >I am seeing this error with all mail sent to just one (of several) >mailman mailing lists that are operating without problems. I found some >related discussions in the archives, but nothing that (as far as I could >tell) corresponds to what I am seeing. > >Sorry for my MUA's line wrapping: > >--- > >Feb 04 20:31:51 2012 (1176) Uncaught runner exception: 'ascii' codec >can't encode character u'\u201c' in position 0: ordinal not in >range(128) >Feb 04 20:31:51 2012 (1176) Traceback (most recent call last): > File "/usr/local/mailman/Mailman/Queue/Runner.py", line 111, in >_oneloop > self._onefile(msg, msgdata) > File "/usr/local/mailman/Mailman/Queue/Runner.py", line 167, in >_onefile > keepqueued = self._dispose(mlist, msg, msgdata) > File "/usr/local/mailman/Mailman/Queue/IncomingRunner.py", line 130, >in _dispose > more = self._dopipeline(mlist, msg, msgdata, pipeline) > File "/usr/local/mailman/Mailman/Queue/IncomingRunner.py", line 153, >in _dopipeline > sys.modules[modname].process(mlist, msg, msgdata) > File "/usr/local/mailman/Mailman/Handlers/ToDigest.py", line 91, in >process > send_digests(mlist, mboxfp) > File "/usr/local/mailman/Mailman/Handlers/ToDigest.py", line 132, in >send_digests > send_i18n_digests(mlist, mboxfp) > File "/usr/local/mailman/Mailman/Handlers/ToDigest.py", line 306, in >send_i18n_digests > msg = scrubber(mlist, msg) > File "/usr/local/mailman/Mailman/Handlers/Scrubber.py", line 182, in >process > charset = part.get_content_charset(lcset) > File "/usr/local/mailman/pythonlib/email/Message.py", line 817, in >get_content_charset > charset = unicode(charset[2], pcharset).encode('us-ascii') >UnicodeEncodeError: 'ascii' codec can't encode character u'\u201c' in >position 0: ordinal not in range(128) > >Feb 04 20:31:51 2012 (1176) SHUNTING: >1328387505.157315+73d2286bbd8f34b0f690645d2037aa561e373438 > >--- > >If I understand the exception correctly, 'position 0' is the first >character in the shunted pickle file? No. In fact, the problem has nothing to do with any of the messages being shunted. The situation is that the list's lists/LISTNAME/digest.mbox file is larger than digest_size_threshold, so every post causes an attempt to produce a digest as it is processed by Mailman/Handlers/ToDigest.py. The actual error occurs because somewhere in the earlier messages in digest.mbox there is a message with a Content-Type: message or sub-part header with a charset="... parameter and the " is not an ascii quote; it is a unicode 201c left double quotation mark (position 0 in this case is the first character of the value of the charset= parameter). Also see and perhaps other hits from and the last content paragraph of the FAQ at . You can edit the digest.mbox and fix the defect, or you can just move it aside. Either action will allow the list to start working again. You will want to unshunt the shunted messages because they haven't been archived or delivered, but I think you will need to remove them from the digest.mbox if you intend to repair it or they will be duplicated in the digest. Note that you must have an old Mailman version. Beginning with Mailman 2.1.7, this issue would not stop the list. It would prevent the digest from being produced, but the list posts would be processed normally. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Sun Feb 5 20:59:53 2012 From: mark at msapiro.net (Mark Sapiro) Date: Sun, 5 Feb 2012 11:59:53 -0800 Subject: [Mailman-Users] UsingMailman fortask management In-Reply-To: <1984499079.320475.1328455447538.JavaMail.root@mail.kgisl.org> Message-ID: Sundaram Ramachandran wrote: > >Suppose I create a list, titled todo-$name > >Any new post to this list would get assigned a Task id at the beginning of the subject; for ex: > >Subject: [ToDo-$name] [Task 1] Install and Test Mailman [Created] > >Now when anybody replies to this post, it gets filed under this 'thread'. The initial status is [Created] > >I could have status such as [Assigned],[In Progress] and [Completed]. > >Later I should be able to sort the entire List per status, etc. > >Can this be done using Mailman in its present form? Or should I post this in Developers site to get help? This can be done in Mailman 2.1.x with a custom handler. See the FAQ at for information on custom handlers. Your handler would need to maintain persistent data about tasks and their statuses, and you might need to develop some kind of application, perhaps even a shell script with 'grep', 'sort', etc. to process the Subject: headers from the archive .mbox or something using your task data, to produce your reports. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From sahil at tandon.net Mon Feb 6 01:24:49 2012 From: sahil at tandon.net (Sahil Tandon) Date: Sun, 5 Feb 2012 19:24:49 -0500 Subject: [Mailman-Users] Uncaught runner exception: 'ascii' codec can'tencode character u'\u201c' In-Reply-To: References: Message-ID: On Feb 5, 2012, at 2:37 PM, Mark Sapiro wrote: > Sahil Tandon wrote: > >> I am seeing this error with all mail sent to just one (of several) >> mailman mailing lists that are operating without problems. I found some >> related discussions in the archives, but nothing that (as far as I could >> tell) corresponds to what I am seeing. >> >> Sorry for my MUA's line wrapping: >> >> --- >> >> Feb 04 20:31:51 2012 (1176) Uncaught runner exception: 'ascii' codec >> can't encode character u'\u201c' in position 0: ordinal not in >> range(128) >> Feb 04 20:31:51 2012 (1176) Traceback (most recent call last): >> File "/usr/local/mailman/Mailman/Queue/Runner.py", line 111, in >> _oneloop >> self._onefile(msg, msgdata) >> File "/usr/local/mailman/Mailman/Queue/Runner.py", line 167, in >> _onefile >> keepqueued = self._dispose(mlist, msg, msgdata) >> File "/usr/local/mailman/Mailman/Queue/IncomingRunner.py", line 130, >> in _dispose >> more = self._dopipeline(mlist, msg, msgdata, pipeline) >> File "/usr/local/mailman/Mailman/Queue/IncomingRunner.py", line 153, >> in _dopipeline >> sys.modules[modname].process(mlist, msg, msgdata) >> File "/usr/local/mailman/Mailman/Handlers/ToDigest.py", line 91, in >> process >> send_digests(mlist, mboxfp) >> File "/usr/local/mailman/Mailman/Handlers/ToDigest.py", line 132, in >> send_digests >> send_i18n_digests(mlist, mboxfp) >> File "/usr/local/mailman/Mailman/Handlers/ToDigest.py", line 306, in >> send_i18n_digests >> msg = scrubber(mlist, msg) >> File "/usr/local/mailman/Mailman/Handlers/Scrubber.py", line 182, in >> process >> charset = part.get_content_charset(lcset) >> File "/usr/local/mailman/pythonlib/email/Message.py", line 817, in >> get_content_charset >> charset = unicode(charset[2], pcharset).encode('us-ascii') >> UnicodeEncodeError: 'ascii' codec can't encode character u'\u201c' in >> position 0: ordinal not in range(128) >> >> Feb 04 20:31:51 2012 (1176) SHUNTING: >> 1328387505.157315+73d2286bbd8f34b0f690645d2037aa561e373438 >> >> --- >> >> If I understand the exception correctly, 'position 0' is the first >> character in the shunted pickle file? > > > No. In fact, the problem has nothing to do with any of the messages > being shunted. > > The situation is that the list's lists/LISTNAME/digest.mbox file is > larger than digest_size_threshold, so every post causes an attempt to > produce a digest as it is processed by Mailman/Handlers/ToDigest.py. > > The actual error occurs because somewhere in the earlier messages in > digest.mbox there is a message with a Content-Type: message or > sub-part header with a charset="... parameter and the " is not an > ascii quote; it is a unicode 201c left double quotation mark (position > 0 in this case is the first character of the value of the charset= > parameter). > > Also see > > and perhaps other hits from > > and the last content paragraph of the FAQ at > . > > You can edit the digest.mbox and fix the defect, or you can just move > it aside. Either action will allow the list to start working again. > > You will want to unshunt the shunted messages because they haven't been > archived or delivered, but I think you will need to remove them from > the digest.mbox if you intend to repair it or they will be duplicated > in the digest. My message was in moderation for too long. In the meantime, I figured this out and mv'd the old digest mbox to allow operation of this list. I sent another message to the list noting that but it was rejected as a dupe (which it wasn't). > Note that you must have an old Mailman version. Beginning with Mailman > 2.1.7, this issue would not stop the list. It would prevent the digest > from being produced, but the list posts would be processed normally. You are right! It's an old version I inherited and we cannot for a variety of reasons upgrade. Thanks for your response. Sahil From kaja at science.au.dk Mon Feb 6 11:51:50 2012 From: kaja at science.au.dk (Kaja Podlaska Christiansen) Date: Mon, 06 Feb 2012 11:51:50 +0100 Subject: [Mailman-Users] Change of member address via web fails In-Reply-To: References: Message-ID: <4F2FB0C6.4020908@science.au.dk> Nancy Shoemaker wrote > I'm one of those who does not have access to the command line utilities (Mailman > installed on shared hosting via control panel). Our list admins (we have about 500 lists and 300 admins) are in the same situation: they do not have access to the Mailman server and command line scripts, and thus must administer lists via web. Although I am a site admin and could help by running clone_member script, I'd much prefer that this task is left to list admins. The link provided by Mark Sapiro: Feature Request: Admin change subscriber's e-mail https://bugs.launchpad.net/mailman/+bug/266809 shows that the issue is not a new one, so I am looking forward to this feature in Mailman 3. Last but least: big thank you to Mailman developers for a great system; we've been running it since 1999! -- Kaja Podlaska Christiansen AU IT Systemadministrator Aarhus University Cand. scient. Finlandsgade 2 Phone: +45 8715 6226 8200 Aarhus N - Denmark From wolf at NassRasur.com Mon Feb 6 18:07:36 2012 From: wolf at NassRasur.com (Stefan P. Wolf (NassRasur.com)) Date: Mon, 06 Feb 2012 18:07:36 +0100 Subject: [Mailman-Users] can I use a mailman list address as a (qmail) sender address? In-Reply-To: <87fwfc7vxg.fsf@uwakimon.sk.tsukuba.ac.jp> References: <4F159CD0.5010700@NassRasur.com> <87fwfc7vxg.fsf@uwakimon.sk.tsukuba.ac.jp> Message-ID: <4F3008D8.5090206@NassRasur.com> Stephen J. Turnbull writes: > Stefan P. Wolf writes: > > > Now I would like to be able to create also a *real* mail > > account with the same address, for SENDING (outgoing mail) > > only. > > I think all you need to do is create the mailing list as usual, and > then create the system user with the same name. The mailing list's > explicit alias should take precedence. I was finally able to try it and did not succeed. I created the mailing list address dtest at mydomain.com (using my real domain instead of mydomain, of course) and when I tried to add an email address with the same name through PLESK I got an error message telling me that the email address already existed. Then I tried to add an account (role: mail user) with this email address through PLESK then I got the explicit message that a mailing list with this name already existed in this domain. Anyone another idea? Again,I need the VERY SAME address for the SMTP account because only then will replies to incoming messages (through the mailing list) automatically select the correct sender profile in Thunderbird and other mailers. If I use a different name for the SMTP account, the mailers of the list users will always select the default profile for replies which is exactly what I want to avoid. Best regards, Stefan. From mark at msapiro.net Mon Feb 6 18:48:57 2012 From: mark at msapiro.net (Mark Sapiro) Date: Mon, 6 Feb 2012 09:48:57 -0800 Subject: [Mailman-Users] can I use a mailman list address as a (qmail)sender address? In-Reply-To: <4F3008D8.5090206@NassRasur.com> Message-ID: Stefan P. Wolf (NassRasur.com) wrote: > >I created the mailing list address dtest at mydomain.com (using my >real domain instead of mydomain, of course) and when I tried to >add an email address with the same name through PLESK I got an >error message telling me that the email address already existed. > >Then I tried to add an account (role: mail user) with this email >address through PLESK then I got the explicit message that a >mailing list with this name already existed in this domain. See the FAQ at . >Anyone another idea? Again,I need the VERY SAME address for the >SMTP account because only then will replies to incoming messages >(through the mailing list) automatically select the correct sender >profile in Thunderbird and other mailers. If I use a different >name for the SMTP account, the mailers of the list users will >always select the default profile for replies which is exactly >what I want to avoid. How is it that my MUA is going to select a profile for a reply to a list message based on whether or not the list address is a user on your server? How does my MUA even know whether an address like dtest at mydomain.com is a real user or a Mailman list? -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From wolf at NassRasur.com Mon Feb 6 18:57:32 2012 From: wolf at NassRasur.com (Stefan P. Wolf (NassRasur.com)) Date: Mon, 06 Feb 2012 18:57:32 +0100 Subject: [Mailman-Users] can I use a mailman list address as a (qmail)sender address? In-Reply-To: References: Message-ID: <4F30148C.9030002@NassRasur.com> Mark Sapiro wrote: > How is it that my MUA is going to select a profile for a reply to a > list message based on whether or not the list address is a user on > your server? How does my MUA even know whether an address like > dtest at mydomain.com is a real user or a Mailman list? You misunderstood me -- incoming messages (through the list) have the to-header set to the list address. If I have my MUA set up with a profile that has the *same* email address, then any reply to list messages are sent with this profile. If I really can not create a mail user with the same address on my system (for sending the replies) then the profile is not selected automtically, instead the default profile is used, no matter how "similar" the addresses for sending and receiving are. Best regards, Stefan. From mark at msapiro.net Mon Feb 6 19:26:09 2012 From: mark at msapiro.net (Mark Sapiro) Date: Mon, 06 Feb 2012 10:26:09 -0800 Subject: [Mailman-Users] can I use a mailman list address as a (qmail)sender address? In-Reply-To: <4F30148C.9030002@NassRasur.com> References: <4F30148C.9030002@NassRasur.com> Message-ID: <4F301B41.4000903@msapiro.net> On 2/6/2012 9:57 AM, Stefan P. Wolf (NassRasur.com) wrote: > > You misunderstood me -- incoming messages (through the list) > have the to-header set to the list address. If I have my MUA > set up with a profile that has the *same* email address, then > any reply to list messages are sent with this profile. Exactly. > If > I really can not create a mail user with the same address on > my system (for sending the replies) then the profile is not > selected automtically, instead the default profile is used, > no matter how "similar" the addresses for sending and receiving > are. I do not understand why this would be true? How does your MUA know that the list address is or is not a 'mail user' on your system? -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From Richard at Damon-Family.org Mon Feb 6 19:33:10 2012 From: Richard at Damon-Family.org (Richard Damon) Date: Mon, 06 Feb 2012 13:33:10 -0500 Subject: [Mailman-Users] can I use a mailman list address as a (qmail)sender address? In-Reply-To: <4F30148C.9030002@NassRasur.com> References: <4F30148C.9030002@NassRasur.com> Message-ID: <4F301CE6.6060404@Damon-Family.org> On 2/6/12 12:57 PM, Stefan P. Wolf (NassRasur.com) wrote: > Mark Sapiro wrote: > >> How is it that my MUA is going to select a profile for a reply to a >> list message based on whether or not the list address is a user on >> your server? How does my MUA even know whether an address like >> dtest at mydomain.com is a real user or a Mailman list? > > You misunderstood me -- incoming messages (through the list) > have the to-header set to the list address. If I have my MUA > set up with a profile that has the *same* email address, then > any reply to list messages are sent with this profile. If > I really can not create a mail user with the same address on > my system (for sending the replies) then the profile is not > selected automtically, instead the default profile is used, > no matter how "similar" the addresses for sending and receiving > are. > > Best regards, Stefan. > > You can set up a profile in your MUA with the address of the mailing list without the MTA having an account by that address. You will just need to manually config the SMTP authorization for an account that does exist. This is common enough of a situation that I would expect most MUAs to allow this sort of customization (if only because you need at least to be able to select whether the username for authentication includes the domain or not). Unless your MTA is VERY locked down and doesn't allow for From != Authentication, this should work (and if it was locked down this hard, mailing list mail would be having problems too). Even if it does default to this sort of restriction, it should have some way to override it, but that may not be exposed in the PLESK control panel. -- Richard Damon From brian at emwd.com Mon Feb 6 18:52:50 2012 From: brian at emwd.com (Brian Carpenter) Date: Mon, 06 Feb 2012 12:52:50 -0500 Subject: [Mailman-Users] List not sending out a welcome message Message-ID: <4F301372.60208@emwd.com> Hi All: I have one list that is not sending out it's welcome message to new subscribers and password reminder to its list members. All of the other lists on the server are. I assume it's a db issue but could be wrong. Any suggestion on where to look at what the problem could be? -- -- Brian Carpenter Owner | EMWD& dotList brian at emwd.com | http://www.emwd.com | http://www.mailmanhost.com From mcnutt at utk.edu Mon Feb 6 20:38:41 2012 From: mcnutt at utk.edu (McNutt Jr, William R) Date: Mon, 6 Feb 2012 19:38:41 +0000 Subject: [Mailman-Users] Sudden Halt Message-ID: <0CD7A72044B75D478D36624D96C5D44113B4589E@kmbx2.utk.tennessee.edu> I have been running a 2.1.14 version for quite a few months now with no problems. At some point this weekend, it stopped sending mail. I get neither error messages nor bounces. Can I get some help troubleshooting? Bill McNutt Technology Coordinator Center for Literacy Studies at the University of Tennessee From Ralf.Hildebrandt at charite.de Mon Feb 6 22:06:30 2012 From: Ralf.Hildebrandt at charite.de (Ralf Hildebrandt) Date: Mon, 6 Feb 2012 22:06:30 +0100 Subject: [Mailman-Users] Sudden Halt In-Reply-To: <0CD7A72044B75D478D36624D96C5D44113B4589E@kmbx2.utk.tennessee.edu> References: <0CD7A72044B75D478D36624D96C5D44113B4589E@kmbx2.utk.tennessee.edu> Message-ID: <20120206210629.GQ28261@charite.de> * McNutt Jr, William R : > I have been running a 2.1.14 version for quite a few months now with no > problems. At some point this weekend, it stopped sending mail. I get > neither error messages nor bounces. Can I get some help > troubleshooting? Restart mailman? mailmanctl restart -- Ralf Hildebrandt Charite Universit?tsmedizin Berlin ralf.hildebrandt at charite.de Campus Benjamin Franklin http://www.charite.de Hindenburgdamm 30, 12203 Berlin Gesch?ftsbereich IT, Abt. Netzwerk fon: +49-30-450.570.155 From mark at msapiro.net Mon Feb 6 23:57:27 2012 From: mark at msapiro.net (Mark Sapiro) Date: Mon, 6 Feb 2012 14:57:27 -0800 Subject: [Mailman-Users] List not sending out a welcome message In-Reply-To: <4F301372.60208@emwd.com> Message-ID: Brian Carpenter wrote: > >I have one list that is not sending out it's welcome message to new >subscribers and password reminder to its list members. All of the other >lists on the server are. I assume it's a db issue but could be wrong. >Any suggestion on where to look at what the problem could be? Are the list's General Options settings send_reminders and send_welcome_message set to Yes? If so, you could visit the various member options pages via the email address links on the Membership Management... -> Membership List pages and verify that their "Get password reminder email for this list?" settings are not all No. If they are all No, do bin/config_list -o - LISTNAME | grep new_member_options convert the decimal integer you see to binary and see if it contains the 00100000 (2^5 = 32) bit which is the option to supress password reminder. If it does, also check mm_cfg.py for a DEFAULT_NEW_MEMBER_OPTIONS setting containing this bit. If all of the above indicates reminders and welcome messages should be sent, try running 'cron/mailpasswds -l LISTNAME' and subscribing a new member and check Mailman's 'smtp' log and the MTA logs to see if the messages are being sent and what's happening to them. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From wolf at NassRasur.com Tue Feb 7 09:27:21 2012 From: wolf at NassRasur.com (Stefan P. Wolf (NassRasur.com)) Date: Tue, 07 Feb 2012 09:27:21 +0100 Subject: [Mailman-Users] can I use a mailman list address as a (qmail)sender address? In-Reply-To: <4F301B41.4000903@msapiro.net> References: <4F30148C.9030002@NassRasur.com> <4F301B41.4000903@msapiro.net> Message-ID: <4F30E069.4070905@NassRasur.com> Mark Sapiro wrote: > I do not understand why this would be true? How does your MUA know that > the list address is or is not a 'mail user' on your system? My MUA does not know about the server, my MUA knows about its own mail profiles. If mails are addressed to the list and come in on my PC and I hit "reply" then the MUA looks if it has a mail profile with the very same email address. But if I can not use this email address for *sending* because I can not create this user on my server then this profile is useless and I have to create a different sending address which is not selected by the MUA automatically (instead the default mail profile is selected). In the meantime I found out that despite the error message from PLESK the mail user with the same name as the mailing address was created anyway! It seems I get it to work... Best regards, Stefan. From wolf at NassRasur.com Tue Feb 7 10:00:56 2012 From: wolf at NassRasur.com (Stefan P. Wolf (NassRasur.com)) Date: Tue, 07 Feb 2012 10:00:56 +0100 Subject: [Mailman-Users] Mailman-Users Digest, Vol 96, Issue 9 In-Reply-To: References: Message-ID: <4F30E848.7070202@NassRasur.com> Richard Damon wrote: > You can set up a profile in your MUA with the address of the mailing > list without the MTA having an account by that address. That's interesting, will try that as well because it's much more reliable than fiddling around PLESK errors which might always lead to trouble in future updates! Thanks! Best regards, Stefan. From lstone19 at stonejongleux.com Tue Feb 7 15:53:47 2012 From: lstone19 at stonejongleux.com (Larry Stone) Date: Tue, 7 Feb 2012 08:53:47 -0600 (CST) Subject: [Mailman-Users] can I use a mailman list address as a (qmail)sender address? In-Reply-To: <4F30E069.4070905@NassRasur.com> References: <4F30148C.9030002@NassRasur.com> <4F301B41.4000903@msapiro.net> <4F30E069.4070905@NassRasur.com> Message-ID: On Tue, 7 Feb 2012, Stefan P. Wolf (NassRasur.com) wrote: > > Mark Sapiro wrote: > >> I do not understand why this would be true? How does your MUA know that >> the list address is or is not a 'mail user' on your system? > > My MUA does not know about the server, my MUA knows about its > own mail profiles. If mails are addressed to the list and come > in on my PC and I hit "reply" then the MUA looks if it has a > mail profile with the very same email address. I think there are a couple of issues that are leaving many of us confused. Why do you want to reply to email addressed to the list as the list rather than as you. That is not the way lists are normally used (e.g. I am replying to mail sent to this list as myself, not as the list). > But if I can not > use this email address for *sending* because I can not create > this user on my server then this profile is useless and I have > to create a different sending address which is not selected by the > MUA automatically (instead the default mail profile is selected). Why does the list email address have to exist as a local user for you to send as it? Is your mail server doing a check to prevent mail being sent as from a non-existant user? While such checks (misguided in many cases, IMHO) can be set in many mail servers, it's not the default from my experience. If you have such checks, are they really needed? I don't recall if you described your environment but if it's one where you know all the users (as opposed to a public ISP), you probably don't need such checks. -- Larry Stone lstone19 at stonejongleux.com From susan.c.evans at gmail.com Mon Feb 6 23:59:27 2012 From: susan.c.evans at gmail.com (Susan Evans) Date: Mon, 6 Feb 2012 14:59:27 -0800 Subject: [Mailman-Users] Coworking member mailing list - help! Message-ID: Hello fine Mailman Users! I am one of the owners & operators of Office Nomads, a coworking space in Seattle, WA. We have been using Mailman to manage our internal member mailing list for several years, to enable our members to contact one another about job postings, events going on, and requests for help. It's a fantastic system that is easy to use, but we're running up against a challenge: we've hit the 100 member mark and therefore don't have room for everyone on the mailing list. We are currently hosted at Bluehost, which I recognize is the piece that is responsible for the 100-member limit. Do any of you have recommendations on which hosting provider might not implement 100-member limits? The key here is that we're not looking for an email blast list like Mailchimp. We are looking for a system to use that enables any member to send a message to all of our members in the space. It's one little growing pain for us, but I'd love to hear any recommendations you all might have for how to solve the problem. I checked through the archive of questions adn the FAQ but didn't see any recommendations for alternate places to host our mailing list so we can keep using Mailman. Thanks for any help you can provide! Susan From manuelweiel at gmx.de Tue Feb 7 14:26:13 2012 From: manuelweiel at gmx.de (Manuel Weiel) Date: Tue, 7 Feb 2012 14:26:13 +0100 Subject: [Mailman-Users] iPhone App for moderating mails Message-ID: <4F9BA9B4-69B5-4232-8CD4-644666D42C02@gmx.de> Hello, I don't know if this is appropriate, but I want to share it if someone finds it useful: I have written an app for moderating mails from your mailman lists. You can add multiple lists and get an overview of all the pending moderation requests. The app shows details about every mail like size, preview of the mail and moderation reason and you can approve/reject/discard the mail(s). iMailModerate is available on the AppStore for 0,99$. http://cl.ly/DyCl Best regards, Manuel Weiel From stephen at xemacs.org Tue Feb 7 17:31:58 2012 From: stephen at xemacs.org (Stephen J. Turnbull) Date: Wed, 08 Feb 2012 01:31:58 +0900 Subject: [Mailman-Users] can I use a mailman list address as a (qmail)sender address? In-Reply-To: References: <4F30148C.9030002@NassRasur.com> <4F301B41.4000903@msapiro.net> <4F30E069.4070905@NassRasur.com> Message-ID: <87vcniy58h.fsf@uwakimon.sk.tsukuba.ac.jp> Larry Stone writes: > Why do you want to reply to email addressed to the list as the list rather > than as you. That is not the way lists are normally used (e.g. I am > replying to mail sent to this list as myself, not as the list). Yup. But he explained this. The list is the public face of a committee, and at least some outgoing mail should appear to be from the committee. Whether that's a good idea or not, well, mostly I'd say "not a great idea". But that's for him to decide. From lstone19 at stonejongleux.com Tue Feb 7 18:28:29 2012 From: lstone19 at stonejongleux.com (Larry Stone) Date: Tue, 7 Feb 2012 11:28:29 -0600 (CST) Subject: [Mailman-Users] can I use a mailman list address as a (qmail)sender address? In-Reply-To: <87vcniy58h.fsf@uwakimon.sk.tsukuba.ac.jp> References: <4F30148C.9030002@NassRasur.com> <4F301B41.4000903@msapiro.net> <4F30E069.4070905@NassRasur.com> <87vcniy58h.fsf@uwakimon.sk.tsukuba.ac.jp> Message-ID: On Wed, 8 Feb 2012, Stephen J. Turnbull wrote: > Larry Stone writes: > > > Why do you want to reply to email addressed to the list as the list rather > > than as you. That is not the way lists are normally used (e.g. I am > > replying to mail sent to this list as myself, not as the list). > > Yup. But he explained this. The list is the public face of a > committee, and at least some outgoing mail should appear to be from > the committee. I must have missed where he mentioned that. I started to wonder about about setting it as an anonymous list but that would affect all posts - both from user to the committee as well as responses from the committee. But maybe something could be done with two lists - one for the users to send to that is normal and a second that the committee replies via that is anonymous and has the main list as its only member (I think this is an umbrella list but having never used umbrella lists, I'm unsure). -- Larry Stone lstone19 at stonejongleux.com From chris at westnet.com Tue Feb 7 19:03:12 2012 From: chris at westnet.com (Christopher X. Candreva) Date: Tue, 7 Feb 2012 13:03:12 -0500 (EST) Subject: [Mailman-Users] Setting hard limit on message size for mailman Message-ID: Is there a setting I could use to limit the size of a message mailman will process, that even a list owner can't approve to get around ? ========================================================== Chris Candreva -- chris at westnet.com -- (914) 948-3162 WestNet Internet Services of Westchester http://www.westnet.com/ From brian at emwd.com Tue Feb 7 20:00:17 2012 From: brian at emwd.com (Brian Carpenter) Date: Tue, 07 Feb 2012 14:00:17 -0500 Subject: [Mailman-Users] List not sending out a welcome message In-Reply-To: References: Message-ID: <4F3174C1.6040100@emwd.com> On 2/6/2012 5:57 PM, Mark Sapiro wrote: > Brian Carpenter wrote: >> I have one list that is not sending out it's welcome message to new >> subscribers and password reminder to its list members. All of the other >> lists on the server are. I assume it's a db issue but could be wrong. >> Any suggestion on where to look at what the problem could be? > > Are the list's General Options settings send_reminders and > send_welcome_message set to Yes? > > If so, you could visit the various member options pages via the email > address links on the Membership Management... -> Membership List pages > and verify that their "Get password reminder email for this list?" > settings are not all No. If they are all No, do > > bin/config_list -o - LISTNAME | grep new_member_options > > convert the decimal integer you see to binary and see if it contains > the 00100000 (2^5 = 32) bit which is the option to supress password > reminder. If it does, also check mm_cfg.py for a > DEFAULT_NEW_MEMBER_OPTIONS setting containing this bit. > > If all of the above indicates reminders and welcome messages should be > sent, try running 'cron/mailpasswds -l LISTNAME' and subscribing a new > member and check Mailman's 'smtp' log and the MTA logs to see if the > messages are being sent and what's happening to them. Thanks Mark for the reply. It turned out having the "Send password reminders to, eg, "-owner" address instead of directly to user. " set to yes on the General Options page caused the welcome message and password reminder message from being sent out. Changing it to no fixed it. -- Brian Carpenter Owner | EMWD& dotList brian at emwd.com | http://www.emwd.com | http://www.mailmanhost.com From mark at msapiro.net Tue Feb 7 20:40:23 2012 From: mark at msapiro.net (Mark Sapiro) Date: Tue, 7 Feb 2012 11:40:23 -0800 Subject: [Mailman-Users] iPhone App for moderating mails In-Reply-To: <4F9BA9B4-69B5-4232-8CD4-644666D42C02@gmx.de> Message-ID: Manuel Weiel wrote: > >I don't know if this is appropriate, but I want to share it if someone finds it useful: I think I could find it useful if it were for android. Any thoughts about an android app? -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Tue Feb 7 20:43:17 2012 From: mark at msapiro.net (Mark Sapiro) Date: Tue, 7 Feb 2012 11:43:17 -0800 Subject: [Mailman-Users] Setting hard limit on message size for mailman In-Reply-To: Message-ID: Christopher X. Candreva wrote: > >Is there a setting I could use to limit the size of a message mailman will >process, that even a list owner can't approve to get around ? You could do this with a custom handler , but short of something like that there is no setting or configuration option for this. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Tue Feb 7 20:50:58 2012 From: mark at msapiro.net (Mark Sapiro) Date: Tue, 7 Feb 2012 11:50:58 -0800 Subject: [Mailman-Users] Coworking member mailing list - help! In-Reply-To: Message-ID: Susan Evans wrote: > >Do any of you have recommendations on which hosting provider might not >implement 100-member limits? See . In particular, one of the principals of EMWD and Mailmanhost.com is active on this list and seems highly conscientious about supporting Mailman. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From l.schimmer at cgv.tugraz.at Wed Feb 8 10:24:00 2012 From: l.schimmer at cgv.tugraz.at (Lars Schimmer) Date: Wed, 08 Feb 2012 10:24:00 +0100 Subject: [Mailman-Users] iPhone App for moderating mails In-Reply-To: <4F9BA9B4-69B5-4232-8CD4-644666D42C02@gmx.de> References: <4F9BA9B4-69B5-4232-8CD4-644666D42C02@gmx.de> Message-ID: <4F323F30.30309@cgv.tugraz.at> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2012-02-07 14:26, Manuel Weiel wrote: > Hello, > > I don't know if this is appropriate, but I want to share it if > someone finds it useful: > > I have written an app for moderating mails from your mailman > lists. You can add multiple lists and get an overview of all the > pending moderation requests. The app shows details about every mail > like size, preview of the mail and moderation reason and you can > approve/reject/discard the mail(s). > > iMailModerate is available on the AppStore for 0,99$. So basicly it is the same job you can do via a usual webbrowser? Just optimized for the small screen of a mobile? > http://cl.ly/DyCl > > Best regards, Manuel Weiel MfG, Lars Schimmer - -- - ------------------------------------------------------------- TU Graz, Institut f?r ComputerGraphik & WissensVisualisierung Tel: +43 316 873-5405 E-Mail: l.schimmer at cgv.tugraz.at Fax: +43 316 873-5402 PGP-Key-ID: 0x4A9B1723 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk8yPzAACgkQmWhuE0qbFyMoygCggNsFhs/feyJ0qAR8bvtgPin5 t/kAn1cXN+q6b3QiR6O8qEfSajJwkivq =jsdD -----END PGP SIGNATURE----- From manuelweiel at gmx.de Wed Feb 8 16:49:44 2012 From: manuelweiel at gmx.de (Manuel Weiel) Date: Wed, 8 Feb 2012 16:49:44 +0100 Subject: [Mailman-Users] iPhone App for moderating mails In-Reply-To: <4F323F30.30309@cgv.tugraz.at> References: <4F9BA9B4-69B5-4232-8CD4-644666D42C02@gmx.de> <4F323F30.30309@cgv.tugraz.at> Message-ID: Am 08.02.2012 um 10:24 schrieb Lars Schimmer: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 2012-02-07 14:26, Manuel Weiel wrote: >> Hello, >> >> I don't know if this is appropriate, but I want to share it if >> someone finds it useful: >> >> I have written an app for moderating mails from your mailman >> lists. You can add multiple lists and get an overview of all the >> pending moderation requests. The app shows details about every mail >> like size, preview of the mail and moderation reason and you can >> approve/reject/discard the mail(s). >> >> iMailModerate is available on the AppStore for 0,99$. > > So basicly it is the same job you can do via a usual webbrowser? Just > optimized for the small screen of a mobile? That's correct. A bit more technical detail: It parses the /mailman/admindb/ page and some others to obtain the needed data. It also adds the functionality of multiple mailing lists in one place. Makes it easy to go through multiple lists without always entering the passwords. > >> http://cl.ly/DyCl >> >> Best regards, Manuel Weiel > > MfG, > Lars Schimmer > - -- > - ------------------------------------------------------------- > TU Graz, Institut f?r ComputerGraphik & WissensVisualisierung > Tel: +43 316 873-5405 E-Mail: l.schimmer at cgv.tugraz.at > Fax: +43 316 873-5402 PGP-Key-ID: 0x4A9B1723 MfG, Manuel Weiel From manuelweiel at gmx.de Wed Feb 8 16:52:45 2012 From: manuelweiel at gmx.de (Manuel Weiel) Date: Wed, 8 Feb 2012 16:52:45 +0100 Subject: [Mailman-Users] iPhone App for moderating mails In-Reply-To: References: Message-ID: <358A282B-0F87-4364-9307-F831BF264FBA@gmx.de> Am 07.02.2012 um 20:40 schrieb Mark Sapiro: > Manuel Weiel wrote: >> >> I don't know if this is appropriate, but I want to share it if someone finds it useful: > > > I think I could find it useful if it were for android. Any thoughts > about an android app? I personally don't own an Android device. So this would be more difficult. But I will think about it if the app sells well (which is currently not the case). I've seen an alpha version for Android floating somewhere in the web, but I did not look into that further. > > -- > Mark Sapiro The highway is for gamblers, > San Francisco Bay Area, California better use your sense - B. Dylan > From brad at shub-internet.org Wed Feb 8 19:21:45 2012 From: brad at shub-internet.org (Brad Knowles) Date: Wed, 8 Feb 2012 12:21:45 -0600 Subject: [Mailman-Users] iPhone App for moderating mails In-Reply-To: References: <4F9BA9B4-69B5-4232-8CD4-644666D42C02@gmx.de> <4F323F30.30309@cgv.tugraz.at> Message-ID: <80A7ED22-00C8-447F-8505-2F7229AFF9F5@shub-internet.org> On Feb 8, 2012, at 9:49 AM, Manuel Weiel wrote: >> So basicly it is the same job you can do via a usual webbrowser? Just >> optimized for the small screen of a mobile? > That's correct. A bit more technical detail: It parses the /mailman/admindb/ page and some others to obtain the needed data. From what I can see, it also looks like it gives you something of a message preview, and has a few more features than the only other available alternative I can find (). I've done list moderation from my iPhone before, and let's just say that the web interface for Mailman doesn't translate so well to the small screen. Manuel's program looks to make that easier. -- Brad Knowles LinkedIn Profile: From manuelweiel at gmx.de Wed Feb 8 19:27:54 2012 From: manuelweiel at gmx.de (Manuel Weiel) Date: Wed, 8 Feb 2012 19:27:54 +0100 Subject: [Mailman-Users] iPhone App for moderating mails In-Reply-To: <80A7ED22-00C8-447F-8505-2F7229AFF9F5@shub-internet.org> References: <4F9BA9B4-69B5-4232-8CD4-644666D42C02@gmx.de> <4F323F30.30309@cgv.tugraz.at> <80A7ED22-00C8-447F-8505-2F7229AFF9F5@shub-internet.org> Message-ID: <69A775E6-0AFD-4A8D-8806-9F4C8F4142A5@gmx.de> Am 08.02.2012 um 19:21 schrieb Brad Knowles: > On Feb 8, 2012, at 9:49 AM, Manuel Weiel wrote: > >>> So basicly it is the same job you can do via a usual webbrowser? Just >>> optimized for the small screen of a mobile? >> That's correct. A bit more technical detail: It parses the /mailman/admindb/ page and some others to obtain the needed data. > > From what I can see, it also looks like it gives you something of a message preview, and has a few more features than the only other available alternative I can find (). That's true. The missing features were the reason for me to write an alternative. For me it's a "must have" to see the messages size and a preview. I cannot judge over a mail seeing only the subject. The other app wasn't updated for a long time, so I decided to start over and make an alternative. The next features I'm looking into are subscribing and unsubscribing. > > I've done list moderation from my iPhone before, and let's just say that the web interface for Mailman doesn't translate so well to the small screen. Manuel's program looks to make that easier. > > -- > Brad Knowles > LinkedIn Profile: > Manuel Weiel From barry at list.org Wed Feb 8 19:56:09 2012 From: barry at list.org (Barry Warsaw) Date: Wed, 8 Feb 2012 13:56:09 -0500 Subject: [Mailman-Users] iPhone App for moderating mails In-Reply-To: <69A775E6-0AFD-4A8D-8806-9F4C8F4142A5@gmx.de> References: <4F9BA9B4-69B5-4232-8CD4-644666D42C02@gmx.de> <4F323F30.30309@cgv.tugraz.at> <80A7ED22-00C8-447F-8505-2F7229AFF9F5@shub-internet.org> <69A775E6-0AFD-4A8D-8806-9F4C8F4142A5@gmx.de> Message-ID: <20120208135609.2556cc6a@resist.wooz.org> On Feb 08, 2012, at 07:27 PM, Manuel Weiel wrote: >The other app wasn't updated for a long time, so I decided to start over and >make an alternative. Wow, this is really cool. I'm going to buy it and play with it. -Barry From adamsca at gmail.com Wed Feb 8 22:25:01 2012 From: adamsca at gmail.com (Christopher Adams) Date: Wed, 8 Feb 2012 13:25:01 -0800 Subject: [Mailman-Users] non-digest member received message in digest format Message-ID: Hello all, This particular issue has me perplexed. I had a call from a user who is subscribed to a list in regular/non-digest mode. He received a message in digest mode, a day later than when it was sent, which is what should happen with digests. However, as I said, he is not on digest. I checked logs and his status hasn't changed in the last 30 days. Others on the list received it yesterday. What might be going on here? -- Christopher Adams adamsca at gmail.com From manuelweiel at gmx.de Wed Feb 8 23:35:06 2012 From: manuelweiel at gmx.de (Manuel Weiel) Date: Wed, 8 Feb 2012 23:35:06 +0100 Subject: [Mailman-Users] iPhone App for moderating mails In-Reply-To: <20120208135609.2556cc6a@resist.wooz.org> References: <4F9BA9B4-69B5-4232-8CD4-644666D42C02@gmx.de> <4F323F30.30309@cgv.tugraz.at> <80A7ED22-00C8-447F-8505-2F7229AFF9F5@shub-internet.org> <69A775E6-0AFD-4A8D-8806-9F4C8F4142A5@gmx.de> <20120208135609.2556cc6a@resist.wooz.org> Message-ID: <8D335B1F-1945-442C-A004-5E16584342B8@gmx.de> Am 08.02.2012 um 19:56 schrieb Barry Warsaw: > On Feb 08, 2012, at 07:27 PM, Manuel Weiel wrote: > >> The other app wasn't updated for a long time, so I decided to start over and >> make an alternative. > > Wow, this is really cool. I'm going to buy it and play with it. Thanks. I'm happy about every kind of feedback (feature requests, bug reports, etc...). Pro tip: Clicking on the sender in the e-mail detail view will open a mail compose window with subject, recipient and body correctly filled in for an answer. > > -Barry > ------------------------------------------------------ > Mailman-Users mailing list Mailman-Users at 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/manuelweiel%40gmx.de Manuel Weiel iMailModerate for iPhone: http://cl.ly/DyCl From mark at msapiro.net Thu Feb 9 00:31:38 2012 From: mark at msapiro.net (Mark Sapiro) Date: Wed, 8 Feb 2012 15:31:38 -0800 Subject: [Mailman-Users] non-digest member received message in digest format In-Reply-To: Message-ID: Christopher Adams wrote: > >This particular issue has me perplexed. I had a call from a user who >is subscribed to a list in regular/non-digest mode. He received a >message in digest mode, a day later than when it was sent, which is >what should happen with digests. However, as I said, he is not on >digest. I checked logs and his status hasn't changed in the last 30 >days. Others on the list received it yesterday. > >What might be going on here? If he switched his membership from digest to non-digest, or even inadvertently switched from non-digest to digest and then immediately reversed, he would have been flagged for "one_last_digest" and been sent the next digest. These switches would not have been logged by Mailman. However, the digest would have been sent at the same time as everyone else's. If you have access to the actual message he received, check the Received: headers and see how and when it was delivered to him. It could have been sent to him by another list member. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From shop at justbrits.com Thu Feb 9 08:00:09 2012 From: shop at justbrits.com (" Just Brits " Shop) Date: Thu, 09 Feb 2012 01:00:09 -0600 Subject: [Mailman-Users] Coworking member mailing list - help! In-Reply-To: References: Message-ID: <4F336EF9.4070309@justbrits.com> << On 2/6/2012 4:59 PM, Susan Evans wrote: We are currently hosted at Bluehost, which I recognize is the piece that is responsible for the 100-member limit. >> Ditto, Susan. I have NOT ever seen a Member-limit however ?!?!? What level "plan" do you have ?? I'm original Platinum so perhaps that the reason ?!?!? I DO know that [very unfortunately] they are dumber-than-a-rock when it comes to any sort of MailMan problem ! ! ! Due to this List, I have actually gotten out of a problem or two by telling Level 3 Tech WHAT TO DO ! ! ! I have told them several times that they should have some-one [or 3 - 4] ASSIGNED HERE, and that those folks LEARN MM so that they could offer the BEST eMail List Management tool available ! With the BEST "Tech Assistance" available ANYWHERE on the Net !! Ed Please visit MY site at: www.justbrits.com [home of eleven (11) M.M. Lists]. PS: Feel free to write sales at justbrits.com direct if I can assist you further ! ! From nikos at qbit.gr Thu Feb 9 12:31:29 2012 From: nikos at qbit.gr (nikos) Date: Thu, 09 Feb 2012 13:31:29 +0200 Subject: [Mailman-Users] error after migration Message-ID: <4F33AE91.3070302@qbit.gr> Hello list. I have a problem after migration. I move all list to a new centos server with mailman-2.1.12-17.el6.x86_64. Lists seems to works fine, but I in error file I see some IOErrors like: IOError: [Errno 13] Permission denied: '/var/lib/mailman/archives/private/mylist/index.html check_perms -f dont find problems: Warning: Private archive directory is other-executable (o+x). This could allow other users on your system to read private archives. If you're on a shared multiuser system, you should consult the installation manual on how to fix this. No problems found Is something I can do to solve this? Thank you, Nikos From tanstaafl at libertytrek.org Thu Feb 9 13:49:01 2012 From: tanstaafl at libertytrek.org (Tanstaafl) Date: Thu, 09 Feb 2012 07:49:01 -0500 Subject: [Mailman-Users] iPhone App for moderating mails In-Reply-To: <4F9BA9B4-69B5-4232-8CD4-644666D42C02@gmx.de> References: <4F9BA9B4-69B5-4232-8CD4-644666D42C02@gmx.de> Message-ID: <4F33C0BD.8080706@libertytrek.org> On 2012-02-07 8:26 AM, Manuel Weiel wrote: > I don't know if this is appropriate, but I want to share it if > someone finds it useful: > > I have written an app for moderating mails from your mailman lists. > You can add multiple lists and get an overview of all the pending > moderation requests. The app shows details about every mail like > size, preview of the mail and moderation reason and you can > approve/reject/discard the mail(s). > > iMailModerate is available on the AppStore for 0,99$. Very cool, but... any chance for an Android version? From ma at panix.com Thu Feb 9 09:09:52 2012 From: ma at panix.com (malgosia askanas) Date: Thu, 9 Feb 2012 03:09:52 -0500 Subject: [Mailman-Users] Image orientation in scrubbed attachments In-Reply-To: <8D335B1F-1945-442C-A004-5E16584342B8@gmx.de> References: <4F9BA9B4-69B5-4232-8CD4-644666D42C02@gmx.de> <4F323F30.30309@cgv.tugraz.at> <80A7ED22-00C8-447F-8505-2F7229AFF9F5@shub-internet.org> <69A775E6-0AFD-4A8D-8806-9F4C8F4142A5@gmx.de> <20120208135609.2556cc6a@resist.wooz.org> <8D335B1F-1945-442C-A004-5E16584342B8@gmx.de> Message-ID: When scrubbing an image attachment such as a jpeg, Mailman seems to always orient it into landscape mode - irrespective of the orientation of the original. Is there some way to prevent this? With many thanks in advance, malgosia askanas From mark at msapiro.net Thu Feb 9 17:42:49 2012 From: mark at msapiro.net (Mark Sapiro) Date: Thu, 9 Feb 2012 08:42:49 -0800 Subject: [Mailman-Users] error after migration In-Reply-To: <4F33AE91.3070302@qbit.gr> Message-ID: nikos wrote: >Lists seems to works fine, but I in error file I see some IOErrors like: > >IOError: [Errno 13] Permission denied: >'/var/lib/mailman/archives/private/mylist/index.html Please post the entire Mailman error log entry including the traceback and environment and Python info if applicable. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Thu Feb 9 18:04:30 2012 From: mark at msapiro.net (Mark Sapiro) Date: Thu, 9 Feb 2012 09:04:30 -0800 Subject: [Mailman-Users] Image orientation in scrubbed attachments In-Reply-To: Message-ID: malgosia askanas wrote: >When scrubbing an image attachment such as a jpeg, Mailman seems to always orient it into landscape mode - irrespective of the orientation of the original. Is there some way to prevent this? Whatever is doing what you observe, it's not Mailman. It may be the web browser that opens the link to the scrubbed attachment or something else, but Mailman makes no changes whatsoever to the content of the attachment. Mailman just decodes the (presumably base64 encoded) content and saves it in a file and provides a URL to access the file. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From manuelweiel at gmx.de Thu Feb 9 18:53:13 2012 From: manuelweiel at gmx.de (Manuel Weiel) Date: Thu, 9 Feb 2012 18:53:13 +0100 Subject: [Mailman-Users] iPhone App for moderating mails In-Reply-To: <4A364F80-BD6B-4ED2-B4A0-860A6DF51734@mac.com> References: <4F9BA9B4-69B5-4232-8CD4-644666D42C02@gmx.de> <4A364F80-BD6B-4ED2-B4A0-860A6DF51734@mac.com> Message-ID: <204BB189-9639-433B-923B-46B43AC12417@gmx.de> Am 09.02.2012 um 18:40 schrieb Rob McLear: > I have just purchased the app and am having difficulty with configuration: > > > Mail Address is my address? Or the list's mail address? It's the list's mail address. > > Password is the moderation password? Yes. > > Under Advanced Options: > > URL is the server URL? e.g. server.lists.org? Or does it need to be http://server.lists.org? or even http://server.lists.org/mailman/admin The URL should be the full path to your mailman installation: e.g. http://server.lists.org/mailman/ The software will automatically choose the right page using the mailing list name. > > > Thanks, looking forward to getting this working! I think I will need to bring out an update to clarify these issues. If you don't select the advanced settings, the program tries to detect the right mailman configuration and uses this: if your mail address is test at example.com, it will set the url to http://example.com/mailman/ and the list name to test_example.com. I hope this is helps you. Don't hesitate to contact me if there are any further questions. Manuel > > -Rob > > > On Feb 7, 2012, at 8:26 AM, Manuel Weiel wrote: > >> Hello, >> >> I don't know if this is appropriate, but I want to share it if someone finds it useful: >> >> I have written an app for moderating mails from your mailman lists. >> You can add multiple lists and get an overview of all the pending moderation requests. >> The app shows details about every mail like size, preview of the mail and moderation reason and you can approve/reject/discard the mail(s). >> >> iMailModerate is available on the AppStore for 0,99$. >> >> http://cl.ly/DyCl >> >> Best regards, >> Manuel Weiel >> ------------------------------------------------------ >> Mailman-Users mailing list Mailman-Users at 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/pennguin%40mac.com > From mark at msapiro.net Thu Feb 9 19:15:27 2012 From: mark at msapiro.net (Mark Sapiro) Date: Thu, 9 Feb 2012 10:15:27 -0800 Subject: [Mailman-Users] iPhone App for moderating mails In-Reply-To: <204BB189-9639-433B-923B-46B43AC12417@gmx.de> Message-ID: Manuel Weiel wrote: > >If you don't select the advanced settings, the program tries to detect the right mailman configuration and uses this: > >if your mail address is test at example.com, it will set the url to http://example.com/mailman/ and the list name to test_example.com. Note that the list name test_example.com implies the Mailman installation is cPanel. In non-cPanel Mailman, the list name will usually be just 'test'. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From manuelweiel at gmx.de Thu Feb 9 19:25:41 2012 From: manuelweiel at gmx.de (Manuel Weiel) Date: Thu, 9 Feb 2012 19:25:41 +0100 Subject: [Mailman-Users] iPhone App for moderating mails In-Reply-To: References: Message-ID: Am 09.02.2012 um 19:15 schrieb Mark Sapiro: > Manuel Weiel wrote: >> >> If you don't select the advanced settings, the program tries to detect the right mailman configuration and uses this: >> >> if your mail address is test at example.com, it will set the url to http://example.com/mailman/ and the list name to test_example.com. > > > Note that the list name test_example.com implies the Mailman > installation is cPanel. In non-cPanel Mailman, the list name will > usually be just 'test'. That is a good hint. I did notice, that also 'test' seems to be common. But I did not know in which case what list name is used. In the next update, I will test both when advanced is not checked (should not be that hard...) > > -- > Mark Sapiro The highway is for gamblers, > San Francisco Bay Area, California better use your sense - B. Dylan > From pennguin at mac.com Thu Feb 9 18:40:44 2012 From: pennguin at mac.com (Rob McLear) Date: Thu, 09 Feb 2012 12:40:44 -0500 Subject: [Mailman-Users] iPhone App for moderating mails In-Reply-To: <4F9BA9B4-69B5-4232-8CD4-644666D42C02@gmx.de> References: <4F9BA9B4-69B5-4232-8CD4-644666D42C02@gmx.de> Message-ID: <4A364F80-BD6B-4ED2-B4A0-860A6DF51734@mac.com> I have just purchased the app and am having difficulty with configuration: Mail Address is my address? Or the list's mail address? Password is the moderation password? Under Advanced Options: URL is the server URL? e.g. server.lists.org? Or does it need to be http://server.lists.org? or even http://server.lists.org/mailman/admin Thanks, looking forward to getting this working! -Rob On Feb 7, 2012, at 8:26 AM, Manuel Weiel wrote: > Hello, > > I don't know if this is appropriate, but I want to share it if someone finds it useful: > > I have written an app for moderating mails from your mailman lists. > You can add multiple lists and get an overview of all the pending moderation requests. > The app shows details about every mail like size, preview of the mail and moderation reason and you can approve/reject/discard the mail(s). > > iMailModerate is available on the AppStore for 0,99$. > > http://cl.ly/DyCl > > Best regards, > Manuel Weiel > ------------------------------------------------------ > Mailman-Users mailing list Mailman-Users at 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/pennguin%40mac.com From nikos at qbit.gr Fri Feb 10 08:13:43 2012 From: nikos at qbit.gr (nikos) Date: Fri, 10 Feb 2012 09:13:43 +0200 Subject: [Mailman-Users] error after migration In-Reply-To: References: Message-ID: <4F34C3A7.8090600@qbit.gr> This is one: Feb 08 16:03:11 2012 (15955) Traceback (most recent call last): File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 120, in _oneloop self._onefile(msg, msgdata) File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 191, in _onefile keepqueued = self._dispose(mlist, msg, msgdata) File "/usr/lib/mailman/Mailman/Queue/ArchRunner.py", line 73, in _dispose mlist.ArchiveMail(msg) File "/usr/lib/mailman/Mailman/Archiver/Archiver.py", line 217, in ArchiveMail h.close() File "/usr/lib/mailman/Mailman/Archiver/pipermail.py", line 327, in close self.write_TOC() File "/usr/lib/mailman/Mailman/Archiver/HyperArch.py", line 1105, in write_TOC toc = open(os.path.join(self.basedir, 'index.html'), 'w') IOError: [Errno 13] Permission denied: '/var/lib/mailman/archives/private/mylist/index.html' On 09/02/2012 6:42 ??, Mark Sapiro wrote: > nikos wrote: >> Lists seems to works fine, but I in error file I see some IOErrors like: >> >> IOError: [Errno 13] Permission denied: >> '/var/lib/mailman/archives/private/mylist/index.html > > Please post the entire Mailman error log entry including the traceback > and environment and Python info if applicable. > From montoliu at cnb.csic.es Fri Feb 10 08:53:47 2012 From: montoliu at cnb.csic.es (Lluis Montoliu) Date: Fri, 10 Feb 2012 08:53:47 +0100 Subject: [Mailman-Users] digest-mode not functioning properly Message-ID: <4F34CD0B.7040700@cnb.csic.es> Dear listers, Suddenly, some users of two mailman (version 2.1.11) lists I am administering have started to complain about digest-mode not functioning properly. In brief, messages are not being sent in digest-mode. Settings are 1024 Kb for size before sending a digest message or daily, if this size isn't reached, new digest volumes should be started daily too. No messages sent. I have tried to trigger the "immediate sending digest-mode" from administration settings (Should Mailman send the next digest right now, if it is not empty?) and no way, nothing happened. I even tried myself, registering one of my email addresses a couple of days ago and setting this to digest-mode (normally I don't use this mode) and nothing, does not work. It looks as if digest-mode stopped working for good. However, standard mode works fine. I have contacted my hosting provider and I am currently awaiting their response, but I decided to share this unexpected troubles in this forum, in case someone has seen it before and there is something I could do from the administrative interface. Thanks for your comments. Lluis From gmayes at uoregon.edu Fri Feb 10 18:25:41 2012 From: gmayes at uoregon.edu (Geoff Mayes) Date: Fri, 10 Feb 2012 17:25:41 +0000 Subject: [Mailman-Users] Thoughts about migrating to Mailman instead of Sympa (from Majordomo) In-Reply-To: <6312F7735995824DBDF26DF3C332CCDE713351@ad-cc-mbx01> References: <6312F7735995824DBDF26DF3C332CCDE713351@ad-cc-mbx01> Message-ID: <6312F7735995824DBDF26DF3C332CCDE715982@ad-cc-mbx01> It's been a few weeks since the last posting to this thread, but I nonetheless wanted to follow up to provide some sort of closure around one organization's mailing list migration efforts from Majordomo and to also hopefully provide a few interesting tidbits of information to others. Based in part on the incredible responsiveness and assistance from this thread, we have decided to go with Mailman instead of Sympa. We took a few measures to lock down our instance, including all of the following: - Centralized LDAP authentication via Apache's mod_authnz_ldap (http://httpd.apache.org/docs/2.2/mod/mod_authnz_ldap.html) - Removed all subscriber password form fields from the UI so that only auto-generated passwords are used for subscribers (templates/en/listinfo.html and templates/en/options.html) - Changed the back-end for subscriber passwords too so that a form/CGI password can never become the subscriber password (Mailman/Cgi/subscribe.py) - Removed the "auto-generate password" option from the "Create a New List" form so that users had to choose a password, and then removed the password string from the "Your list has been created" emails (templates/en/newlist.txt) - Change the "Password Reminder" text to "Password Reset" and auto-generate a new random password before emailing the subscriber their password (Mailman/Cgi/options.py) - Don't require a Mailman "list creator" password when creating a new list because the site is already locked down via an Apache LDAP module (Mailman/Cgi/create.py) I also wrote an import script from Majordomo into Mailman, thoroughly referencing the excellent contrib/majordomo2mailman.pl script written in 2002 by Heiko that currently lives in the Mailman2 tarball. I was able to translate most Majordomo settings into Mailman. The script also has a --stats option if you just want to get a sense of the distribution of values across all of your Majordomo lists. The script is only on GitHub right now (https://github.com/mayesgr/import_majordomo_into_mailman), but I plan to post it to Mailman's bug tracker once I'm 100% satisfied with it, in the hopes that, if others find it useful, it makes its way into the tarball as well. If you'd like the script improved in any way, please feel free to let me know. (Apologies to all pythonistas, myself included: the script started out as import_majordomo_into_sympa.pl, which are both written in Perl, and then we changed gears when we decided to go with Mailman instead.) Thanks again to everyone for all of your great information and help, Geoff Mayes > -----Original Message----- > From: mailman-users-bounces+gmayes=uoregon.edu at python.org > [mailto:mailman-users-bounces+gmayes=uoregon.edu at python.org] On > Behalf Of Geoff Mayes > Sent: Thursday, January 19, 2012 10:32 AM > To: mailman-users at python.org > Subject: [Mailman-Users] Thoughts about migrating to Mailman instead of > Sympa (from Majordomo) > > Hello Mailman gurus, > > I hope a general question about Mailman's features and future direction > (along with some Sympa comparisons) are appropriate for this list. > > The University of Oregon is migrating away from Majordomo. We decided > on Sympa because Mailman sends passwords over email while Sympa > provides centralized (e.g. Shibboleth, LDAP, etc) authentication. If Mailman > provided a way around the passwords in the clear issue, I'm pretty sure we'd > go with Mailman because: > - Mailman is more thoroughly used and thus tested (one stat that gets at this > is Alexa Traffic Rank: 165,692 vs 749,729 for Sympa) > - Mailman is more mature (the max bug ID for mailman in its issue-tracking > system is ~913,400; the max bug ID for Sympa is 8,117 and there is still no bug > category for Sympa's latest version -- 6.1.7 -- even though it has been out for > over 4 months) > - Mailman has greater branch stability and code reliability (I noticed that Barry > ran a pre-checkin acceptance suite for the Postgres patch for Mailman 3 > before he checked it in) > - Mailman has a bright and well-documented future (Mailman 3 and its bug > tracker, source code, milestones, etc) > - Mailman has a more active and supportive community, which is very > important in resolving future issues (Mailman had 150 list postings in > December and through mid-January while Sympa had 44; I've been > impressed with Mark Sapiro's responsiveness on this list) > > Does anyone know a way around the emailed passwords issue in Mailman, > clever hacks, certain plugins, or a timeline for Mailman 3's release? I've > written a number of Django apps using my own LDAP module, so I was also > wondering if folks think now is a mature-enough time to perhaps grab > Mailman 3, its Django front-end, and hack together what I'm after? A final, > random question: Mailman 3 is still in alpha, but is it stable given that it's > almost been in alpha for 4 years? > > Many, many thinks for any help, pointers, or information, > > Geoff Mayes > ------------------------------------------------------ > Mailman-Users mailing list Mailman-Users at 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/gmayes%40uoregon.edu From geoff at QuiteLikely.com Fri Feb 10 22:25:29 2012 From: geoff at QuiteLikely.com (Geoff Shang) Date: Fri, 10 Feb 2012 23:25:29 +0200 (IST) Subject: [Mailman-Users] can I use a mailman list address as a (qmail)sender address? In-Reply-To: <87vcniy58h.fsf@uwakimon.sk.tsukuba.ac.jp> References: <4F30148C.9030002@NassRasur.com> <4F301B41.4000903@msapiro.net> <4F30E069.4070905@NassRasur.com> <87vcniy58h.fsf@uwakimon.sk.tsukuba.ac.jp> Message-ID: On Wed, 8 Feb 2012, Stephen J. Turnbull wrote: > Yup. But he explained this. The list is the public face of a > committee, and at least some outgoing mail should appear to be from > the committee. Couldn't this be done by sending from an existing account and spoofing the >From line? Geoff. From montoliu at cnb.csic.es Sat Feb 11 01:23:35 2012 From: montoliu at cnb.csic.es (Lluis Montoliu) Date: Sat, 11 Feb 2012 01:23:35 +0100 Subject: [Mailman-Users] digest-mode not functioning properly In-Reply-To: <4F34CD0B.7040700@cnb.csic.es> References: <4F34CD0B.7040700@cnb.csic.es> Message-ID: <20120211012335.13234uwate05trev@webmail.csic.es> Some more data. Hosting provider can't find anything wrong. I have set a new list, fake users for testing purposes. Set one of them for standard the other for digest-mode and played with size limits and daily and everything worked as expected, in this test list, whereas the two large list are not sending any digest-mode, with the exact same settings, even if I decrease the value to 256 or if I trigger sending a new digest dispatch right now, which does not happen. I'm totally amazed. I've seen the archives of mailman and, unfortunately, the problems with digest-mode appear to be rather common, many reports found, but not really solutions, at least, I could not find the one that will fix my bug. Thanks again for your help and suggestions Lluis Quoting Lluis Montoliu : > Dear listers, > Suddenly, some users of two mailman (version 2.1.11) lists I am > administering have started to complain about digest-mode not > functioning properly. In brief, messages are not being sent in > digest-mode. Settings are 1024 Kb for size before sending a digest > message or daily, if this size isn't reached, new digest volumes > should be started daily too. No messages sent. I have tried to > trigger the "immediate sending digest-mode" from administration > settings (Should Mailman send the next digest right now, if it is > not empty?) and no way, nothing happened. I even tried myself, > registering one of my email addresses a couple of days ago and > setting this to digest-mode (normally I don't use this mode) and > nothing, does not work. > It looks as if digest-mode stopped working for good. However, > standard mode works fine. I have contacted my hosting provider and I > am currently awaiting their response, but I decided to share this > unexpected troubles in this forum, in case someone has seen it > before and there is something I could do from the administrative > interface. > Thanks for your comments. > Lluis > From ma at panix.com Sat Feb 11 03:02:46 2012 From: ma at panix.com (malgosia askanas) Date: Fri, 10 Feb 2012 21:02:46 -0500 Subject: [Mailman-Users] Image orientation in scrubbed attachments In-Reply-To: References: Message-ID: Mark, thank you very much for your help, which got me on the right track. Indeed, the problem is that iPad photos, even when they are taken with a portrait orientation, always carry Exif data that claim a landcape orientation. Web browsers and many mail clients orient pictures according to the Exif information. So, to make a long story short, if I remove the incorrect Exif orientation-info from those pictures before sending them to Mailman, they display correctly after scrubbing. Thanks again, -malgosia At 9:04 AM -0800 2/9/12, Mark Sapiro wrote: >malgosia askanas wrote: > >>When scrubbing an image attachment such as a jpeg, Mailman seems to always orient it into landscape mode - irrespective of the orientation of the original. Is there some way to prevent this? > > >Whatever is doing what you observe, it's not Mailman. It may be the web >browser that opens the link to the scrubbed attachment or something >else, but Mailman makes no changes whatsoever to the content of the >attachment. Mailman just decodes the (presumably base64 encoded) >content and saves it in a file and provides a URL to access the file. > >-- >Mark Sapiro The highway is for gamblers, >San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Sat Feb 11 03:40:59 2012 From: mark at msapiro.net (Mark Sapiro) Date: Fri, 10 Feb 2012 18:40:59 -0800 Subject: [Mailman-Users] digest-mode not functioning properly In-Reply-To: <20120211012335.13234uwate05trev@webmail.csic.es> Message-ID: Lluis Montoliu wrote: >the two large list are not sending any digest-mode, with the exact >same settings, even if I decrease the value to 256 or if I trigger >sending a new digest dispatch right now, which does not happen. I'm >totally amazed. I've seen the archives of mailman and, unfortunately, >the problems with digest-mode appear to be rather common, many reports >found, but not really solutions, at least, I could not find the one >that will fix my bug. There is almost certainly a message or messages in the lists/LISTNAME/digest.mbox files for these lists that is causing an exception to be thrown in the scrubber in it's attempt to process the digest. Ask the hosting provider to look for relevant error messages and tracebacks in Mailman's error log. You may have to have the hosting provider just move the lists/LISTNAME/digest.mbox files aside and abandon the current accumulated digests if the hosting provider can't do anything more selective to find and fix the offending messages. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Sat Feb 11 03:48:31 2012 From: mark at msapiro.net (Mark Sapiro) Date: Fri, 10 Feb 2012 18:48:31 -0800 Subject: [Mailman-Users] error after migration In-Reply-To: <4F34C3A7.8090600@qbit.gr> Message-ID: nikos wrote: > >This is one: > >Feb 08 16:03:11 2012 (15955) Traceback (most recent call last): > File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 120, in _oneloop > self._onefile(msg, msgdata) > File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 191, in _onefile > keepqueued = self._dispose(mlist, msg, msgdata) > File "/usr/lib/mailman/Mailman/Queue/ArchRunner.py", line 73, in _dispose > mlist.ArchiveMail(msg) > File "/usr/lib/mailman/Mailman/Archiver/Archiver.py", line 217, in >ArchiveMail > h.close() > File "/usr/lib/mailman/Mailman/Archiver/pipermail.py", line 327, in close > self.write_TOC() > File "/usr/lib/mailman/Mailman/Archiver/HyperArch.py", line 1105, in >write_TOC > toc = open(os.path.join(self.basedir, 'index.html'), 'w') >IOError: [Errno 13] Permission denied: >'/var/lib/mailman/archives/private/mylist/index.html' My best guess is there is some directory in the full path /var/lib/mailman/archives/private/mylist/ that does not have search permission for Mailman's group or the mylist/ ditectory does not have write permission for Mailman's group or the index.html file exists and doesn't have write permission for Mailman's group or this is a SELinux or other security manager issue. Did you migrate the archives by copying the archives/private/mylist tree? If so, you may be able to fix this by following the recommended procedure which is to only copy the archives/private/mylist.mbox/mylist.mbox files and build the pipermail archive with 'bin/arch --wipe mylist' -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From thanh-tu.nguyen at eleves.ec-nantes.fr Fri Feb 10 16:17:07 2012 From: thanh-tu.nguyen at eleves.ec-nantes.fr (NGUYEN Thanh Tu) Date: Fri, 10 Feb 2012 16:17:07 +0100 Subject: [Mailman-Users] wrong link on the website Message-ID: <4F3534F3.7060603@eleves.ec-nantes.fr> Hello, I just installed a mailgman instance on my server and some of the links are wrong this is the website http://listes.campus.ec-nantes.fr/admin/mailman (sorry, the site is in french) I put a virtual host on listes.campus.ec-nantes.fr and some of my links refer to campus.ec-nantes.fr/something Futhermore, the email seems wrong this is an extract of my mm_cfg.py #------------------------------------------------------------- # The name of the list Mailman uses to send password reminders # and similar. Don't change if you want mailman-owner to be # a valid local part. MAILMAN_SITE_LIST = 'mailman' #------------------------------------------------------------- # If you change these, you have to configure your http server # accordingly (Alias and ScriptAlias directives in most httpds) DEFAULT_URL_PATTERN = 'http://%s/' #DEFAULT_URL_PATTERN = 'http://%s/cgi-bin/mailman/' PRIVATE_ARCHIVE_URL = '/cgi-bin/mailman/private' IMAGE_LOGOS = '/images/mailman/' #------------------------------------------------------------- # Default domain for email addresses of newly created MLs DEFAULT_EMAIL_HOST = 'campus.ec-nantes.fr' #------------------------------------------------------------- # Default host for web interface of newly created MLs DEFAULT_URL_HOST = 'listes.campus.ec-nantes.fr' #------------------------------------------------------------- # Required when setting any of its arguments. add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST) From mark at msapiro.net Sun Feb 12 01:29:48 2012 From: mark at msapiro.net (Mark Sapiro) Date: Sat, 11 Feb 2012 16:29:48 -0800 Subject: [Mailman-Users] wrong link on the website In-Reply-To: <4F3534F3.7060603@eleves.ec-nantes.fr> Message-ID: NGUYEN Thanh Tu wrote: > >I just installed a mailgman instance on my server and some of the links >are wrong > >this is the website >http://listes.campus.ec-nantes.fr/admin/mailman (sorry, the site is in >french) >I put a virtual host on listes.campus.ec-nantes.fr >and some of my links refer to campus.ec-nantes.fr/something >Futhermore, the email seems wrong Run fix_url. See the FAQ at . Also see comment below. >this is an extract of my mm_cfg.py > [...] >PRIVATE_ARCHIVE_URL = '/cgi-bin/mailman/private' I don't know what you are trying to accomplish with the above, but there is no reference in Mailman to mm_cfg.PRIVATE_ARCHIVE_URL, so it does nothing. Private archives are accessed via the private CGI which with your DEFAULT_URL_PATTERN has a URL like http://list's_url_host/private/listname or in the case of your 'mailman' list, http://listes.campus.ec-nantes.fr/private/mailman. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From montoliu at cnb.csic.es Sun Feb 12 12:48:45 2012 From: montoliu at cnb.csic.es (Lluis Montoliu) Date: Sun, 12 Feb 2012 12:48:45 +0100 Subject: [Mailman-Users] digest-mode not functioning properly (issued fixed!) In-Reply-To: References: Message-ID: <20120212124845.7695587zwm8gf1ul@webmail.csic.es> Dear Mark, excellent suggestion, indeed there were messages heavily formatted which apparently affected mailman and its normal processing of digest buffer. There was no need to remove these messages. Re-starting the list server did the miracle and both lists are now working fine, dispatching the digest-mode messages as intended. Thanks again for your help. Issue fixed and closed. regards Lluis Quoting Mark Sapiro : > Lluis Montoliu wrote: > >> the two large list are not sending any digest-mode, with the exact >> same settings, even if I decrease the value to 256 or if I trigger >> sending a new digest dispatch right now, which does not happen. I'm >> totally amazed. I've seen the archives of mailman and, unfortunately, >> the problems with digest-mode appear to be rather common, many reports >> found, but not really solutions, at least, I could not find the one >> that will fix my bug. > > > There is almost certainly a message or messages in the > lists/LISTNAME/digest.mbox files for these lists that is causing an > exception to be thrown in the scrubber in it's attempt to process the > digest. > > Ask the hosting provider to look for relevant error messages and > tracebacks in Mailman's error log. > > You may have to have the hosting provider just move the > lists/LISTNAME/digest.mbox files aside and abandon the current > accumulated digests if the hosting provider can't do anything more > selective to find and fix the offending messages. > > -- > Mark Sapiro The highway is for gamblers, > San Francisco Bay Area, California better use your sense - B. Dylan > > From stephen at xemacs.org Mon Feb 13 06:55:08 2012 From: stephen at xemacs.org (Stephen J. Turnbull) Date: Mon, 13 Feb 2012 14:55:08 +0900 Subject: [Mailman-Users] can I use a mailman list address as a (qmail)sender address? In-Reply-To: References: <4F30148C.9030002@NassRasur.com> <4F301B41.4000903@msapiro.net> <4F30E069.4070905@NassRasur.com> <87vcniy58h.fsf@uwakimon.sk.tsukuba.ac.jp> Message-ID: <87wr7re0qr.fsf@uwakimon.sk.tsukuba.ac.jp> Geoff Shang writes: > On Wed, 8 Feb 2012, Stephen J. Turnbull wrote: > > > Yup. But he explained this. The list is the public face of a > > committee, and at least some outgoing mail should appear to be from > > the committee. > > Couldn't this be done by sending from an existing account and spoofing the > >From line? Sure. The question is whether the committee members can reasonably asked to do that. A lot of software doesn't make that easy; it might be easier to log in to a common account and send from there. As I implied earlier, I don't really think this is a good idea, but without more information from the OP, it's hard to recommend something better. From wolf at NassRasur.com Mon Feb 13 12:29:06 2012 From: wolf at NassRasur.com (Stefan P. Wolf (NassRasur.com)) Date: Mon, 13 Feb 2012 12:29:06 +0100 Subject: [Mailman-Users] can I use a mailman list address as a (qmail)sender address? In-Reply-To: References: Message-ID: <4F38F402.9070600@NassRasur.com> Hi! Someone already suggested this (use of an existing account and spoof the From-Line) and I replied to (and thanked) him over the list -- we will do it this way, it's the easiest solution. It also has the advantage of an individual account for each admin, so if someone quits we simply delete his account. With the single account of the "correct" mail user we would have only one username/password for each and every admin and would have to change the password after every parting admin. Best regards, Stefan. From harry.g.george at boeing.com Mon Feb 13 17:50:57 2012 From: harry.g.george at boeing.com (George, Harry G) Date: Mon, 13 Feb 2012 08:50:57 -0800 Subject: [Mailman-Users] reverse "anonymous" list Message-ID: <211837C19B28D54BB57136C35CC59CA817765D11D4@XCH-NW-17V.nw.nos.boeing.com> I'm a long time happy user/admin for mailman lists, but am stumped on a new request. User wants to do a send-only list, where neither "mailman" or the list's name appears in mailings. It would look like a simple email from poster, and bcc'd to receivers who could reply to that poster (but not to the list). (Sometimes the very existence of a list, or the name of a list, can be sensitive - even if just exposed to members of the list.) I was tempted to just do it as a batch python email app, but am trying mailman first. So far we've configured for: a) Everyone on list is moderated, and mailings from moderated are discarded b) The valid senders are non-members and are listed on non-member- approved-to-send config list. c) Reply to "Poster" But "mailman" and the listname still appear in headers and footers. I looked at Default.py (and mm_cfg.py), the template txt files, Handlers.CookedHeaders.py, and Handlers.Decorate. I think I *need* to doctor the Decorate.decorate "SafeDict". Is that the right approach? Is there a way to do this via mm_cfg? Any way to make it list-specific? Anybody try this before? Thanks in advance. If I don't hear from you, I'll make a separate mailman installation (on a separate VM) and hack the Decorate module. Since the users want to do dozens of lists configured this way, a separate installation makes sense. Harry G. George harry.g.george at boeing.com 425-717-7403 From see at prodigy.net Mon Feb 13 16:16:31 2012 From: see at prodigy.net (scott ewing) Date: Mon, 13 Feb 2012 07:16:31 -0800 (PST) Subject: [Mailman-Users] Issue with ISP limiting email Message-ID: <1329146191.65465.YahooMailRC@web181011.mail.ne1.yahoo.com> My ISP limits email sent from our server to 250 / hr. We have 258 subscribers to our list. They have recently upgraded the limit to 300 / hr. This means we can send out 1 email / hr Does mailman offer any functionality to help with this problem? For example, we could approve the messages as they come in and?mailman could send them out as allowed? As of now, we have to "remember" when the last email was approved for distribution. Kinda?cumbersome all around. Sincerely, Scott Ewing see at prodigy.net From mark at msapiro.net Mon Feb 13 19:30:51 2012 From: mark at msapiro.net (Mark Sapiro) Date: Mon, 13 Feb 2012 10:30:51 -0800 Subject: [Mailman-Users] Issue with ISP limiting email In-Reply-To: <1329146191.65465.YahooMailRC@web181011.mail.ne1.yahoo.com> References: <1329146191.65465.YahooMailRC@web181011.mail.ne1.yahoo.com> Message-ID: <4F3956DB.7010303@msapiro.net> On 2/13/2012 7:16 AM, scott ewing wrote: > My ISP limits email sent from our server to 250 / hr. We have 258 subscribers to > our list. > > They have recently upgraded the limit to 300 / hr. This means we can send out 1 > email / hr > > Does mailman offer any functionality to help with this problem? For example, we > could approve the messages as they come in and mailman could send them out as > allowed? See the FAQ at . If Mailman is running on your own server and only sending via your ISP, installing the throttle.patch attached to that FAQ may help. Also see . -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From brian at emwd.com Mon Feb 13 19:38:50 2012 From: brian at emwd.com (Brian Carpenter) Date: Mon, 13 Feb 2012 13:38:50 -0500 Subject: [Mailman-Users] Issue with ISP limiting email In-Reply-To: <1329146191.65465.YahooMailRC@web181011.mail.ne1.yahoo.com> References: <1329146191.65465.YahooMailRC@web181011.mail.ne1.yahoo.com> Message-ID: <4F3958BA.8080104@emwd.com> On 2/13/2012 10:16 AM, scott ewing wrote: > My ISP limits email sent from our server to 250 / hr. We have 258 subscribers to > our list. > > They have recently upgraded the limit to 300 / hr. This means we can send out 1 > email / hr > > Does mailman offer any functionality to help with this problem? For example, we > could approve the messages as they come in and mailman could send them out as > allowed? > > As of now, we have to "remember" when the last email was approved for > distribution. Kinda cumbersome all around. > > Sincerely, > Scott Ewing > see at prodigy.net > > ------------------------------------------------------ > Mailman-Users mailing list Mailman-Users at 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/brian%40emwd.com Hi Scott: Mailman does not offer such a feature. My suggestion is to look for an ISP such as ours that does not impose any sending limits on its mailman users. You can get more information about our mailman hosting at http://www.emwd.com/mailman.html -- Brian Carpenter Owner | EMWD& dotList brian at emwd.com | http://www.emwd.com | http://www.mailmanhost.com From mark at msapiro.net Mon Feb 13 19:49:24 2012 From: mark at msapiro.net (Mark Sapiro) Date: Mon, 13 Feb 2012 10:49:24 -0800 Subject: [Mailman-Users] reverse "anonymous" list In-Reply-To: <211837C19B28D54BB57136C35CC59CA817765D11D4@XCH-NW-17V.nw.nos.boeing.com> References: <211837C19B28D54BB57136C35CC59CA817765D11D4@XCH-NW-17V.nw.nos.boeing.com> Message-ID: <4F395B34.10006@msapiro.net> On 2/13/2012 8:50 AM, George, Harry G wrote: > I'm a long time happy user/admin for mailman lists, but am stumped on > a new request. User wants to do a send-only list, where neither > "mailman" or the list's name appears in mailings. It would look > like a simple email from poster, and bcc'd to receivers who could > reply to that poster (but not to the list). (Sometimes the very > existence of a list, or the name of a list, can be sensitive - even > if just exposed to members of the list.) > > I was tempted to just do it as a batch python email app, but am > trying mailman first. So far we've configured for: That may be the better way. > a) Everyone on list is moderated, and mailings from moderated > are discarded > > b) The valid senders are non-members and are listed on > non-member- approved-to-send config list. It is much more secure to have the authorized posters post using an Approved: header. Then it doesn't matter if they are moderated members or not, and spoofing doesn't work. > c) Reply to "Poster" But "mailman" and the listname still > appear in headers and footers. > > I looked at Default.py (and mm_cfg.py), the template txt files, > Handlers.CookedHeaders.py, and Handlers.Decorate. I think I > *need* to doctor the Decorate.decorate "SafeDict". Decorate only replaces variables in msg_header, msg_footer, digest_header and digest_footer. Unless you want to create new replacements, you should be able to make msg_header, msg_footer, etc. what you want by just changing those list attributes. If you make set the list's personalize setting 'Full Personalization' (see the FAQ at ), that will set the To: header to the recipient. It will also put the list address in a Cc: which you don't want. I suggest you address this and perhaps other issues such as Received: headers by creating a custom handler to be inserted in the pipeline of this list only following CookHeaders. This handler would remove or mung any header information you don't want on the list such as the Cc: added by CookHeaders. See the FAQ at for info on custom handlers. > Is that the right approach? Is there a way to do this via mm_cfg? > Any way to make it list-specific? Anybody try this before? The custom handler can be list specific and everything else that I suggest is standard list configuration. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From anotheranne at fables.co.za Mon Feb 13 19:49:38 2012 From: anotheranne at fables.co.za (Anne Wainwright) Date: Mon, 13 Feb 2012 20:49:38 +0200 Subject: [Mailman-Users] Issue with ISP limiting email In-Reply-To: <1329146191.65465.YahooMailRC@web181011.mail.ne1.yahoo.com> References: <1329146191.65465.YahooMailRC@web181011.mail.ne1.yahoo.com> Message-ID: <20120213184938.GA27812@fables.co.za> On Mon, Feb 13, 2012 at 07:16:31AM -0800, scott ewing wrote: > My ISP limits email sent from our server to 250 / hr. We have 258 subscribers to > our list. > > They have recently upgraded the limit to 300 / hr. This means we can send out 1 > email / hr Is this a one-way list? No? Does your daily email input exceed 27.91? In which case you have a problem. I would comment that 300/h is low, mine allows 2000/h There is a patch available to mailman that will allow you to throttle the mailman output. See the url http://wiki.list.org/pages/viewpage.action?pageId=4030607 This at least will automate the despatch process for you. You must be running Mailman as a relay, same as myself, and I find that this patch does the job with no fuss although a fix in postfix may be preferred if that is what you are using. regards Anne > > Does mailman offer any functionality to help with this problem? For example, we > could approve the messages as they come in and?mailman could send them out as > allowed? > > As of now, we have to "remember" when the last email was approved for > distribution. Kinda?cumbersome all around. > > Sincerely, > Scott Ewing > see at prodigy.net > > ------------------------------------------------------ > Mailman-Users mailing list Mailman-Users at 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/anotheranne%40fables.co.za From beyerg at bellsouth.net Tue Feb 14 13:52:58 2012 From: beyerg at bellsouth.net (Gregory Beyer) Date: Tue, 14 Feb 2012 07:52:58 -0500 Subject: [Mailman-Users] How to show Human Name but not email address Message-ID: <4F3A592A.6020102@bellsouth.net> Hello, Been using mailman for many years, but have a configuration need that I don't see in the GUI. I've searched, but also don't find in the documentation. I would like for my users to be able, in the Web Admin interface, to be able to see the HUMAN name of subscribers, but not the actual email address. For example, if I mass add addresses, in this format Bob Smith I would like "Bob Smith" to show, but not expose"robert.Smith at somemail.com" Now, I know I can turn hidden off and on, but that is all or nothing. OFF = no information about subscribers shows at all ON=their email addresses are shown. Of course, those are then easily harversted and expoited. I don't want that, but my users want to be able to see who they are mailing with. Thanks much, Greg From adam-mailman at amyl.org.uk Tue Feb 14 18:38:15 2012 From: adam-mailman at amyl.org.uk (Adam McGreggor) Date: Tue, 14 Feb 2012 17:38:15 +0000 Subject: [Mailman-Users] How to show Human Name but not email address In-Reply-To: <4F3A592A.6020102@bellsouth.net> References: <4F3A592A.6020102@bellsouth.net> Message-ID: <20120214173815.GP3090@hendricks.amyl.org.uk> On Tue, Feb 14, 2012 at 07:52:58AM -0500, Gregory Beyer wrote: > I would like for my users to be able, in the Web Admin interface, to be > able to see the HUMAN name of subscribers, but not the actual email > address. For example, if I mass add addresses, in this format Bob > Smith I would like "Bob Smith" to show, but > not expose"robert.Smith at somemail.com" > > Now, I know I can turn hidden off and on, but that is all or nothing. > OFF = no information about subscribers shows at all ON=their email > addresses are shown. Of course, those are then easily harversted and > expoited. I don't want that, but my users want to be able to see who > they are mailing with. What's wrong with them using their MUAs for that? Not everyone on a list has the inclination/confidence/whatever to mail, after all. I suspect you'll need to add something yourself for this: most of my lists have large percentages of just email addresses, which is something you may need to factor in, should you do this; or add in a "plus n others". -- DRINK COFFEE -- Do stupid things faster with more energy! From mark at msapiro.net Tue Feb 14 20:48:00 2012 From: mark at msapiro.net (Mark Sapiro) Date: Tue, 14 Feb 2012 11:48:00 -0800 Subject: [Mailman-Users] How to show Human Name but not email address In-Reply-To: <4F3A592A.6020102@bellsouth.net> Message-ID: Gregory Beyer wrote: > >I would like for my users to be able, in the Web Admin interface, to be >able to see the HUMAN name of subscribers, but not the actual email >address. For example, if I mass add addresses, in this format Bob >Smith I would like "Bob Smith" to show, but >not expose"robert.Smith at somemail.com" You can only do this by patching the Mailman/HTMLFormatter.py module. I have added a patch which will do this in comment #4 of the bug report at . Note that this is a global patch and will affect all lists in the installation. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From harry.g.george at boeing.com Wed Feb 15 20:24:08 2012 From: harry.g.george at boeing.com (George, Harry G) Date: Wed, 15 Feb 2012 11:24:08 -0800 Subject: [Mailman-Users] custom handler Message-ID: <211837C19B28D54BB57136C35CC59CA817765D120A@XCH-NW-17V.nw.nos.boeing.com> I'm stuck on the basic development cycle for "custom handlers". Symptom is that it is remembering an early attempt and not loading the latest version of my handler. Also, I'm now trying to use syslog (to post or to error) as a way to get/read/understand msg and msgdata -- is there a better way? I have a list (dlms_1) that I want to use with no hint of mailman being invloved (no listnames, not "mailman"). At Mark Sapiro's recommendation, I've been looking at custom handler: http://wiki.list.org/pages/viewpage.action?pageId=4030615 I've made a working directory within the mailman context: /usr3/mailman/ bin/ Mailman/ Handlers/ (Custom__dlms_1.py goes here) custom/ dlms_1/ go #cp handler and run config_list custpipe__dlms_1.py #set mlist.pipeline Custom__dlms_1.py #where I'll do my work ... Process: 1. Edit Custom__dlms_1.py. 2. Run "go" 3. Send email from MS outlook to dlms_1 list. 4. No response or posting, so check post and error logs 5. Nothing new in post, but erro log has #----------------------- File "/usr3/mailman/Mailman/Queue/Runner.py", line 170, in _onefile keepqueued = self._dispose(mlist, msg, msgdata) File "/usr3/mailman/Mailman/Queue/IncomingRunner.py", line 130, in _dispose more = self._dopipeline(mlist, msg, msgdata, pipeline) File "/usr3/mailman/Mailman/Queue/IncomingRunner.py", line 153, in _dopipelin sys.modules[modname].process(mlist, msg, msgdata) File "/usr3/mailman/Mailman/Handlers/Custom__dlms_1.py", line 66, in process AttributeError: 'str' object has no attribute 'append' Feb 15 09:00:17 2012 (3662) SHUNTING: 1329325217.251622+f51327464d18dafebf2da57 ede3fbc086fd8fcc #--------------------------- There is no line 66 in the current Custom_dlms_1.py. I did try several variations before trimming to the current skeleton. #---go--- #================================================= # Install handler #================================================= cp Custom__dlms_1.py /usr3/mailman/Mailman/Handlers #================================================= # Config for new pipe #================================================= /usr3/mailman/bin/config_list -i custpipe__dlms_1.py dlms_1 #---custpipe__dlms_1.py--- mlist.pipeline= [ # These are the modules that do tasks common to all delivery paths. 'SpamDetect', 'Approve', 'Replybot', 'Moderate', 'Hold', 'MimeDel', 'Scrubber', 'Emergency', 'Tagger', 'CalcRecips', 'AvoidDuplicates', 'Cleanse', 'Custom__dlms_1', #<--- custom here 'CleanseDKIM', 'CookHeaders', # And now we send the message to the digest mbox file, and to the arch and # news queues. Runners will provide further processing of the message, # specific to those delivery paths. 'ToDigest', 'ToArchive', 'ToUsenet', # Now we'll do a few extra things specific to the member delivery # (outgoing) path, finally leaving the message in the outgoing queue. 'AfterDelivery', 'Acknowledge', 'ToOutgoing', ] #---Custom__dlms_1.py--- #I started with MyHandler, Decorate, and CookedHeaders as exemplars, but backtracked to this skeleton import re from Mailman import Utils from Mailman import Errors from Mailman.i18n import _ from Mailman.Handlers import Hold from Mailman.Handlers import Moderate from Mailman.Logging.Syslog import syslog def process(mlist, msg, msgdata): syslog('post','msgdata=%s' % msgdata) #----------------------------------------------- Harry G. George harry.g.george at boeing.com 425-717-7403 From jeremy at fairbrass.co.nz Thu Feb 16 00:53:44 2012 From: jeremy at fairbrass.co.nz (Jezz) Date: Thu, 16 Feb 2012 00:53:44 +0100 Subject: [Mailman-Users] =?utf-8?q?Using_a_different_domain_for_the_URL?= =?utf-8?b?4oCP?= Message-ID: Hi all, Is it possible to have a Mailman list which has a list address @example.COM but which is running on another domain for its URL (eg. http://www.example.NET/mailman/...)? Therefore variables such as 'host_name' and 'web_page_url' would refer to the example.NET domain, and only the list email address itself would be using example.COM. Is there some way to achieve this, preferably on a per-list basis rather than site-wide? From jeremy at fairbrass.co.nz Thu Feb 16 00:47:46 2012 From: jeremy at fairbrass.co.nz (Jezz) Date: Thu, 16 Feb 2012 00:47:46 +0100 Subject: [Mailman-Users] =?utf-8?q?Editable_template_files=E2=80=8F?= Message-ID: Hi all, I have a question regarding the editing of public HTML pages and text files within a Mailman list. I'm using Mailman 2.1.14 which is hosted with cPanel. On this particular setup, when I log into the GUI (as list owner) with the list's admin password and go to "Edit the public HTML pages and text files", I only have the following four template files listed there for me to edit: * General list information page * Subscribe results page * User specific options page * Welcome email text file However, in the past I've seen other implementations of Mailman hosted elsewhere (not using cPanel), which have a number of other template files available for editing in the same place - in particular the various email templates used by the system can be edited there. For example I've seen the following files available for editing via the "Edit the public HTML pages and text files" location, on other implimentations of Mailman: * approve.txt * cronpass.txt * disabled.txt * help.txt * invite.txt * postheld.txt * unsub.txt * userpass.txt * verify.txt * masthead.txt So this tells me that it's somehow possible to have those additional files available for editing, and for some reason they are hidden or unavailable with the cPanel Mailman setup that I'm currently using. What I'd love to figure out is how (if possible) to enable those extra files so they can be visible and editable. Is there some master switch or setting in one of the Mailman site files which controls this? Or a per-list setting? As you may have gathered, I'm not the site owner, just a list owner within this particular site. But if I can learn how the above is changed, I can let the site owner know and ask him to make the change. I have no idea what factor cPanel plays in this, but hopefully that's not a limitation. Can anyone offer some pointers? Thanks, Jeremy From mark at msapiro.net Thu Feb 16 01:00:07 2012 From: mark at msapiro.net (Mark Sapiro) Date: Wed, 15 Feb 2012 16:00:07 -0800 Subject: [Mailman-Users] custom handler In-Reply-To: <211837C19B28D54BB57136C35CC59CA817765D120A@XCH-NW-17V.nw.nos.boeing.com> Message-ID: George, Harry G wrote: >I'm stuck on the basic development cycle for "custom handlers". Symptom is that it is remembering an early attempt and not loading the latest version of my handler. Also, I'm now trying to use syslog (to post or to error) as a way to get/read/understand msg and msgdata -- is there a better way? Every time you modify your handler, you have to restart Mailman. For logging, use Mailman's syslog. Include from Mailman.Logging.Syslog import syslog in your handler and then use statements of the form syslog('debug', format, var1, var2, ...) to write to Mailman's 'debug' log, e.g. to report the values of variables like listname, hostname, url and filepath, you might use syslog('debug', 'listname: %s, hostname: %s, url: %s, path: %s', listname, hostname, url, filepath) >I have a list (dlms_1) that I want to use with no hint of mailman being invloved (no listnames, not "mailman"). > >At Mark Sapiro's recommendation, I've been looking at custom handler: >http://wiki.list.org/pages/viewpage.action?pageId=4030615 > >I've made a working directory within the mailman context: >/usr3/mailman/ > bin/ > Mailman/ > Handlers/ > (Custom__dlms_1.py goes here) > custom/ > dlms_1/ > go #cp handler and run config_list > custpipe__dlms_1.py #set mlist.pipeline > Custom__dlms_1.py #where I'll do my work > ... > >Process: >1. Edit Custom__dlms_1.py. >2. Run "go" >3. Send email from MS outlook to dlms_1 list. >4. No response or posting, so check post and error logs >5. Nothing new in post, but erro log has >#----------------------- > File "/usr3/mailman/Mailman/Queue/Runner.py", line 170, in _onefile > keepqueued = self._dispose(mlist, msg, msgdata) > File "/usr3/mailman/Mailman/Queue/IncomingRunner.py", line 130, in _dispose > more = self._dopipeline(mlist, msg, msgdata, pipeline) > File "/usr3/mailman/Mailman/Queue/IncomingRunner.py", line 153, in _dopipelin > > sys.modules[modname].process(mlist, msg, msgdata) > File "/usr3/mailman/Mailman/Handlers/Custom__dlms_1.py", line 66, in process >AttributeError: 'str' object has no attribute 'append' > >Feb 15 09:00:17 2012 (3662) SHUNTING: 1329325217.251622+f51327464d18dafebf2da57 >ede3fbc086fd8fcc >#--------------------------- > >There is no line 66 in the current Custom_dlms_1.py. Are there 65 lines? If so, the error is not detected until end of file is reached. Also, see below. >I did try several variations before trimming to the current skeleton. > >#---go--- >#================================================= ># Install handler >#================================================= >cp Custom__dlms_1.py /usr3/mailman/Mailman/Handlers > >#================================================= ># Config for new pipe >#================================================= >/usr3/mailman/bin/config_list -i custpipe__dlms_1.py dlms_1 > >#---custpipe__dlms_1.py--- >mlist.pipeline= [ > # These are the modules that do tasks common to all delivery paths. > 'SpamDetect', > 'Approve', > 'Replybot', > 'Moderate', > 'Hold', > 'MimeDel', > 'Scrubber', > 'Emergency', > 'Tagger', > 'CalcRecips', > 'AvoidDuplicates', > 'Cleanse', > 'Custom__dlms_1', #<--- custom here > 'CleanseDKIM', > 'CookHeaders', > # And now we send the message to the digest mbox file, and to the arch and > # news queues. Runners will provide further processing of the message, > # specific to those delivery paths. > 'ToDigest', > 'ToArchive', > 'ToUsenet', > # Now we'll do a few extra things specific to the member delivery > # (outgoing) path, finally leaving the message in the outgoing queue. > 'AfterDelivery', > 'Acknowledge', > 'ToOutgoing', > ] I would suggest putting your handler after CookHeaders to deal with the headers it may add. Also, I didn't mention this previously, but the sending process in SMTPDirect.py will add Sender: and Errors-To: headers and set the envelope sender to dlms_1-bounces at list_domain. If you don't want that, you can set a different address in your handler by setting msgdata.envsender = 'address at example.com' but this will break automated bounce processing for the list. >#---Custom__dlms_1.py--- >#I started with MyHandler, Decorate, and CookedHeaders as exemplars, but backtracked to this skeleton > >import re > >from Mailman import Utils >from Mailman import Errors >from Mailman.i18n import _ >from Mailman.Handlers import Hold >from Mailman.Handlers import Moderate >from Mailman.Logging.Syslog import syslog > > >def process(mlist, msg, msgdata): > syslog('post','msgdata=%s' % msgdata) Since msgdata is a dictionary, %s is not the best format to use. Also syslog will interpolate arguments 3 - n into the format (arg 2). What you have will work, but I would write syslog('debug', 'msgdata=%r', msgdata) or syslog('debug', 'msgdata=%s', repr(msgdata)) >#----------------------------------------------- If the above was the entire content of /usr3/mailman/Mailman/Handlers/Custom__dlms_1.py when you got the above traceback, that kind of issue often results from Python incompatibilities. Is it possible that /usr3/mailman/Mailman/Handlers/Custom__dlms_1.pyc exists and was created by other than by the import in Mailman's IncomingRunner process using a different Python? -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Thu Feb 16 01:05:38 2012 From: mark at msapiro.net (Mark Sapiro) Date: Wed, 15 Feb 2012 16:05:38 -0800 Subject: [Mailman-Users] Using a different domain for the URL4oCP In-Reply-To: Message-ID: Jezz wrote: > >Is it possible to have a Mailman list which has a list address @example.COM >but which is running on another domain for its URL (eg. >http://www.example.NET/mailman/...)? > >Therefore variables such as 'host_name' and 'web_page_url' would refer to >the example.NET domain, and only the list email address itself would be >using example.COM. Actually, the host_name is the email domain and the host in web_page_url is the web domain, so what you want is host_name = 'example.COM' and web_page_url = 'http://www.example.NET/mailman/' for this list. Or do I misunderstand? -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Thu Feb 16 01:15:09 2012 From: mark at msapiro.net (Mark Sapiro) Date: Wed, 15 Feb 2012 16:15:09 -0800 Subject: [Mailman-Users] Editable template files? In-Reply-To: Message-ID: Jezz wrote: > >I'm using Mailman 2.1.14 which is hosted with cPanel. On this particular >setup, when I log into the GUI (as list owner) with the list's admin >password and go to "Edit the public HTML pages and text files", I only have >the following four template files listed there for me to edit: > >* General list information page >* Subscribe results page >* User specific options page >* Welcome email text file > >However, in the past I've seen other implementations of Mailman hosted >elsewhere (not using cPanel), which have a number of other template files >available for editing in the same place - in particular the various email >templates used by the system can be edited there. [...] >What I'd love to figure out is how (if possible) to enable those extra files >so they can be visible and editable. Is there some master switch or setting >in one of the Mailman site files which controls this? Or a per-list setting? The list is defined in the module Mailman/Cgi/edithtml.py by the statement template_data = ( ('listinfo.html', _('General list information page')), ('subscribe.html', _('Subscribe results page')), ('options.html', _('User specific options page')), ('subscribeack.txt', _('Welcome email text file')), ('masthead.txt', _('Digest masthead')), ) You can add any list specific templates you want to this list (actually, a Python tuple of tuples, not a Python list), just as ('masthead.txt', _('Digest masthead')), was added for Mailman 2.1.15. Note that you can actually add any template to this list, but edited templates such as cronpass.txt which are not used in a list context will not be used. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From jeremy at fairbrass.co.nz Thu Feb 16 01:31:28 2012 From: jeremy at fairbrass.co.nz (Jezz) Date: Thu, 16 Feb 2012 01:31:28 +0100 Subject: [Mailman-Users] Editable template files? In-Reply-To: References: Message-ID: "Mark Sapiro" wrote in message news:PC19520120215161509029698e012b1 at MSAPIRO... > Jezz wrote: >> >>I'm using Mailman 2.1.14 which is hosted with cPanel. On this particular >>setup, when I log into the GUI (as list owner) with the list's admin >>password and go to "Edit the public HTML pages and text files", I only >>have >>the following four template files listed there for me to edit: >> >>* General list information page >>* Subscribe results page >>* User specific options page >>* Welcome email text file >> >>However, in the past I've seen other implementations of Mailman hosted >>elsewhere (not using cPanel), which have a number of other template files >>available for editing in the same place - in particular the various email >>templates used by the system can be edited there. > [...] >>What I'd love to figure out is how (if possible) to enable those extra >>files >>so they can be visible and editable. Is there some master switch or >>setting >>in one of the Mailman site files which controls this? Or a per-list >>setting? > > > The list is defined in the module Mailman/Cgi/edithtml.py by the > statement > > template_data = ( > ('listinfo.html', _('General list information page')), > ('subscribe.html', _('Subscribe results page')), > ('options.html', _('User specific options page')), > ('subscribeack.txt', _('Welcome email text file')), > ('masthead.txt', _('Digest masthead')), > ) > > > You can add any list specific templates you want to this list > (actually, a Python tuple of tuples, not a Python list), just as > > ('masthead.txt', _('Digest masthead')), > > was added for Mailman 2.1.15. Note that you can actually add any > template to this list, but edited templates such as cronpass.txt which > are not used in a list context will not be used. > > -- Awesome, thanks! I'm not quite sure what you mean about cronpass.txt. Isn't that used for the monthly password reminder? What do you mean about it not being used? BTW could you kindly give me a complete list of the possible templates (or at least the default or standard templates) and their "friendly" names, from the edithtml.py file, as you did above with those first five entries? That would be very helpful. :) Cheers, Jeremy From mark at msapiro.net Thu Feb 16 02:03:12 2012 From: mark at msapiro.net (Mark Sapiro) Date: Wed, 15 Feb 2012 17:03:12 -0800 Subject: [Mailman-Users] Editable template files? In-Reply-To: Message-ID: Jezz wrote: > >I'm not quite sure what you mean about cronpass.txt. Isn't that used for the >monthly password reminder? What do you mean about it not being used? The monthly password reminder is a single reminder for all lists in the installation of which the recipient is a member. Thus it is not "for" a single list, even if it only contains one password for one list. Thus, it always uses either the default cronpass.txt template or a sitewide edited cronpass.txt template if any. It does not use a domain specific or list specific version of the template even if there is one. >BTW could you kindly give me a complete list of the possible templates (or >at least the default or standard templates) and their "friendly" names, from >the edithtml.py file, as you did above with those first five entries? That >would be very helpful. :) All the templates are listed at . Their "friendly" names for edithtml.py are any name you want to make up to describe them. I think the only ones which are used without a list context and for which editing via edithtml.py is ineffective are cronpass.txt and nomoretoday.txt. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Thu Feb 16 02:09:15 2012 From: mark at msapiro.net (Mark Sapiro) Date: Wed, 15 Feb 2012 17:09:15 -0800 Subject: [Mailman-Users] custom handler In-Reply-To: Message-ID: Mark Sapiro wrote: > >Also, I didn't mention this previously, but the >sending process in SMTPDirect.py will add Sender: and Errors-To: >headers and set the envelope sender to dlms_1-bounces at list_domain. If >you don't want that, you can set a different address in your handler >by setting > > msgdata.envsender = 'address at example.com' > >but this will break automated bounce processing for the list. Sorry, there was a brain cramp there. that should be msgdata['envsender'] = 'address at example.com' -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From jeremy at fairbrass.co.nz Thu Feb 16 01:49:44 2012 From: jeremy at fairbrass.co.nz (Jezz) Date: Thu, 16 Feb 2012 01:49:44 +0100 Subject: [Mailman-Users] Using a different domain for the URL4oCP In-Reply-To: References: Message-ID: "Mark Sapiro" wrote in message news:PC19520120215160538054698e013c8 at MSAPIRO... > Jezz wrote: >> >>Is it possible to have a Mailman list which has a list address >>@example.COM >>but which is running on another domain for its URL (eg. >>http://www.example.NET/mailman/...)? >> >>Therefore variables such as 'host_name' and 'web_page_url' would refer to >>the example.NET domain, and only the list email address itself would be >>using example.COM. > > > Actually, the host_name is the email domain and the host in > web_page_url is the web domain, so what you want is > > host_name = 'example.COM' > > and > > web_page_url = 'http://www.example.NET/mailman/' > > for this list. > > Or do I misunderstand? > > -- Hmm - yes, you're right - I was misled by the help text on the "msg_footer" page in the GUI, which says that host_name is "The fully qualified domain name that the list server runs on", rather than the email domain. However I believe host_name is actually meant to be the email's domain, as you've noted. Obviously by default they are normally one and the same thing though. Anyway, what I want basically is for all web URLs to reference example.NET, but for the list's email addresses (post/owner/bounce addresses etc) to all use example.COM (a completely different domain). So the list's email addresses are independent of the web URL. This should ideally also affect any other applicable variables such as listinfo_url, optionsurl and so on, as well as any hard-coded (absolute) links in the admin GUI. I don't want to use example.COM for the web URL, because I want to use that elsewhere for another website and not have it used for the Mailman web interface. I know that sounds complicated, but I'm just wondering if this is possible (and not difficult) to accomplish. Cheers, Jeremy From mark at msapiro.net Thu Feb 16 07:57:06 2012 From: mark at msapiro.net (Mark Sapiro) Date: Wed, 15 Feb 2012 22:57:06 -0800 Subject: [Mailman-Users] Using a different domain for the URL4oCP In-Reply-To: Message-ID: Jezz wrote: > >Hmm - yes, you're right - I was misled by the help text on the "msg_footer" >page in the GUI, which says that host_name is "The fully qualified domain >name that the list server runs on", rather than the email domain. However I >believe host_name is actually meant to be the email's domain, as you've >noted. Obviously by default they are normally one and the same thing though. Yes, that text is misleading, but help text for the list's host_name attribute on the General Options page is more clear. Also, I wouldn't say the two hosts are "normally" the same. In the simplest case, host_name comes from DEFAULT_EMAIL_HOST and the web_page_url host comes from DEFAULT_URL_HOST and these are often different even if only in that DEFAULT_URL_HOST is prefixed with www. >Anyway, what I want basically is for all web URLs to reference example.NET, >but for the list's email addresses (post/owner/bounce addresses etc) to all >use example.COM (a completely different domain). So the list's email >addresses are independent of the web URL. That's why every list has a web host (the host part of web_page_url) and an email host (host_name). >This should ideally also affect any other applicable variables such as >listinfo_url, optionsurl and so on, as well as any hard-coded (absolute) >links in the admin GUI. It does. >I don't want to use example.COM for the web URL, because I want to use that >elsewhere for another website and not have it used for the Mailman web >interface. I know that sounds complicated, but I'm just wondering if this is >possible (and not difficult) to accomplish. Yes. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From jeremy at fairbrass.co.nz Thu Feb 16 08:03:09 2012 From: jeremy at fairbrass.co.nz (Jezz) Date: Thu, 16 Feb 2012 08:03:09 +0100 Subject: [Mailman-Users] Using a different domain for the URL4oCP In-Reply-To: References: Message-ID: "Mark Sapiro" wrote in message news:PC195201202152257060671e67fe865 at MSAPIRO... > Jezz wrote: >> >>Hmm - yes, you're right - I was misled by the help text on the >>"msg_footer" >>page in the GUI, which says that host_name is "The fully qualified domain >>name that the list server runs on", rather than the email domain. However >>I >>believe host_name is actually meant to be the email's domain, as you've >>noted. Obviously by default they are normally one and the same thing >>though. > > > Yes, that text is misleading, but help text for the list's host_name > attribute on the General Options page is more clear. > > Also, I wouldn't say the two hosts are "normally" the same. In the > simplest case, host_name comes from DEFAULT_EMAIL_HOST and the > web_page_url host comes from DEFAULT_URL_HOST and these are often > different even if only in that DEFAULT_URL_HOST is prefixed with www. > > >>Anyway, what I want basically is for all web URLs to reference >>example.NET, >>but for the list's email addresses (post/owner/bounce addresses etc) to >>all >>use example.COM (a completely different domain). So the list's email >>addresses are independent of the web URL. > > > That's why every list has a web host (the host part of web_page_url) > and an email host (host_name). > > >>This should ideally also affect any other applicable variables such as >>listinfo_url, optionsurl and so on, as well as any hard-coded (absolute) >>links in the admin GUI. > > > It does. > > >>I don't want to use example.COM for the web URL, because I want to use >>that >>elsewhere for another website and not have it used for the Mailman web >>interface. I know that sounds complicated, but I'm just wondering if this >>is >>possible (and not difficult) to accomplish. > > > Yes. > > -- Good to know it's possible! So how is this done? I'm deducing that I accomplish this by modifying DEFAULT_EMAIL_HOST and/or DEFAULT_URL_HOST? If so, where do I find those values exactly? Is it possible to make these two variables editable via the GUI, or can they only be modified via some setting file on the server? From mark at msapiro.net Thu Feb 16 08:17:12 2012 From: mark at msapiro.net (Mark Sapiro) Date: Wed, 15 Feb 2012 23:17:12 -0800 Subject: [Mailman-Users] Using a different domain for the URL4oCP In-Reply-To: References: Message-ID: <4F3CAD78.9090401@msapiro.net> On 2/15/2012 11:03 PM, Jezz wrote: > > Good to know it's possible! So how is this done? I'm deducing that I > accomplish this by modifying DEFAULT_EMAIL_HOST and/or DEFAULT_URL_HOST? > If so, where do I find those values exactly? > > Is it possible to make these two variables editable via the GUI, or can > they only be modified via some setting file on the server? host_name is visible and settable in the GUI on the General Options page. web_page_url is not settable in the GUI, but it can be set in various ways if you have sufficient access to the server. Start with the FAQ at . -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From cstalberg at web-analysts.net Fri Feb 17 16:20:33 2012 From: cstalberg at web-analysts.net (christian stalberg) Date: Fri, 17 Feb 2012 10:20:33 -0500 Subject: [Mailman-Users] errors References: Message-ID: <0FB6D74438CD4C07957C13F8BDFC02CB@D3J1MNH1> Moved list to another server. What is the problem here? # bin/withlist -l -r fix_url listname -v -u domainname.com Importing fix_url... Running fix_url.fix_url()... Loading list stoptortureflights (locked) Traceback (most recent call last): File "bin/withlist", line 302, in main() File "bin/withlist", line 280, in main r = do_list(listname, args, func) File "bin/withlist", line 198, in do_list m = MailList.MailList(listname, lock=LOCK) File "/usr/lib/mailman/Mailman/MailList.py", line 128, in __init__ self.Lock() File "/usr/lib/mailman/Mailman/MailList.py", line 161, in Lock self.__lock.lock(timeout) File "/usr/lib/mailman/Mailman/LockFile.py", line 243, in lock self.__write() File "/usr/lib/mailman/Mailman/LockFile.py", line 422, in __write fp = open(self.__tmpfname, 'w') IOError: [Errno 2] No such file or directory: '/var/lock/mailman/listname.lock.server.domainname.com.22719.0' # From mrathi at meetingexpectations.com Thu Feb 16 15:14:03 2012 From: mrathi at meetingexpectations.com (Mahesh Rathi) Date: Thu, 16 Feb 2012 09:14:03 -0500 Subject: [Mailman-Users] Need help with bug after changing archives from public to private Message-ID: <8C537D3D894FEF449495309CC37A65140160F21A@Mercury.MeetingExpectations.corp> Hello, Please, can someone help me? I have the root access to the VPS, but am not familiar with SSH commands. The hosting company has failed to help saying that they do not help with 3rd part software. This was the last email I had sent to the hosting company: Let's see if I can explain in details: http://lists.aisnet.org/mailman/admin/aisworld_lists.aisnet.org (Broken) password: ##### I have a mailing list that was migrated to HostV from other hosting company. The list was set to archive publicly. However, I noticed that when clicked on "Go to Archives", the archives were not current. So in the archive URL, I changed the pipermail to private and the archives showed just fine. That is why I tried to change the option from public to private for the aisworld list and it broke with the bug in Mailman message. Finally, this morning, HostV managed to fix it, but here are the new problems: 1. Looks like they had backed up to initial migration, where all my pending moderator requests are lost. 2. The "Go to archives" still do not show current and now changing the url from pipermail to private brings a blank page. I really hope someone can help me. Thank You! Mahesh From Traiano.Welcome at mtnbusiness.co.za Fri Feb 17 13:56:44 2012 From: Traiano.Welcome at mtnbusiness.co.za (Traiano Welcome) Date: Fri, 17 Feb 2012 12:56:44 +0000 Subject: [Mailman-Users] Emails (Of a specific Subject/From type) Vanishing between Submission by Postfix and Posting to a Mailman List Message-ID: Hi List I have a very strange issue where emails from (only) a particular sender, with a particular subject to a particular list "vanish" once the mta (Postfix) has handed it off to the mailman post command. For example: Mail handed off from postfix to mailman: --- Feb 17 10:34:44 listserver postfix/smtpd[5221]: DB3EC7EA7A: client=mx01.mtnbusiness.co.za[xx.yy.zz.oo] Feb 17 10:34:44 listserver postfix/cleanup[4002]: DB3EC7EA7A: message-id=<> Feb 17 10:34:44 listserver postfix/qmgr[396]: DB3EC7EA7A: from=, size=12244, nrcpt=2 (queue active) Feb 17 10:34:44 listserver postfix/local[4998]: DB3EC7EA7A: to=, relay=local, delay=0.09, delays=0.01/0/0/0.08, dsn=2.0.0, status=sent (delivered to command: /usr/local/mailman/mail/mailman post monkeynuts) Feb 17 10:34:44 listserver postfix/qmgr[396]: DB3EC7EA7A: removed --- When I look for this mail logged in the post log, I see nothing at all. Next, I create a wrapper script to grab the mail from the mta when handed off to mailman and the email out to a debug file, just to confirm that the mail is in fact being handed off to the mailman post command: --- /usr/local/mailman/mail/mailman-wrapper.pl --- This script takes the mail and dumps it into a temp file. So, when a mail from the sender in question is sent, it's spooled to a temp file, confirming that the MTA is successfully posting mails to mailman. However I cannot find how to debug this to a deeper level in order to figure out exactly where and why this mail is not getting posted to the list. I'd like to be able to maybe increase the mailman log level to "verbose debug" but I can't find such an option. Any other means of tracking exactly how a message is getting treated after the post set would be useful. I tried checking for debug switches on the binary "/usr/local/mailman/mail/mailman" so that I could perhaps modify the post command to be more verbose, but I can't seem to find documentation on any useful flags. (Note that mails from other senders are posted and distributed correctly) Please could someone point me in the right direction w.r.t debugging issues of this type ? Many thanks in advance, Traiano Welcome From mark at msapiro.net Fri Feb 17 22:46:53 2012 From: mark at msapiro.net (Mark Sapiro) Date: Fri, 17 Feb 2012 13:46:53 -0800 Subject: [Mailman-Users] errors In-Reply-To: <0FB6D74438CD4C07957C13F8BDFC02CB@D3J1MNH1> Message-ID: christian stalberg wrote: >Moved list to another server. What is the problem here? > ># bin/withlist -l -r fix_url listname -v -u domainname.com >Importing fix_url... >Running fix_url.fix_url()... >Loading list stoptortureflights (locked) >Traceback (most recent call last): > File "bin/withlist", line 302, in > main() > File "bin/withlist", line 280, in main > r = do_list(listname, args, func) > File "bin/withlist", line 198, in do_list > m = MailList.MailList(listname, lock=LOCK) > File "/usr/lib/mailman/Mailman/MailList.py", line 128, in __init__ > self.Lock() > File "/usr/lib/mailman/Mailman/MailList.py", line 161, in Lock > self.__lock.lock(timeout) > File "/usr/lib/mailman/Mailman/LockFile.py", line 243, in lock > self.__write() > File "/usr/lib/mailman/Mailman/LockFile.py", line 422, in __write > fp = open(self.__tmpfname, 'w') >IOError: [Errno 2] No such file or directory: >'/var/lock/mailman/listname.lock.server.domainname.com.22719.0' ># It appears that this Mailman expects it's locks directory is /var/lock/mailman/ and that directory doesn't exist. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Fri Feb 17 23:04:01 2012 From: mark at msapiro.net (Mark Sapiro) Date: Fri, 17 Feb 2012 14:04:01 -0800 Subject: [Mailman-Users] Need help with bug after changing archives frompublic to private In-Reply-To: <8C537D3D894FEF449495309CC37A65140160F21A@Mercury.MeetingExpectations.corp> Message-ID: Mahesh Rathi wrote: > > >I have a mailing list that was migrated to HostV from other hosting >company. The list was set to archive publicly. However, I noticed that >when clicked on "Go to Archives", the archives were not current. So in >the archive URL, I changed the pipermail to private and the archives >showed just fine. That is why I tried to change the option from public >to private for the aisworld list and it broke with the bug in Mailman >message. First of all, all the archives, both public and private, are in the archives/private/ tree. Public archives also have symlinks in the archives/public/ tree. Thus the pipermail alias should always point to the archives/public/ directory. By pointing it to archives/private, you have made all archives publicly accessible via the pipermail URL regardless of list setting. You should make the pipermail alias point to archives/public/ and if necessary, fix permissions on that directory and remove any structure other than symlinks that you "migrated". >Finally, this morning, HostV managed to fix it, but here are the new >problems: > >1. Looks like they had backed up to initial migration, where all >my pending moderator requests are lost. I'm sorry, but if your moderator request data is lost, it's lost. You could try asking them to restore only the lists/LISTNAME/ directory with the most recen content they have, but I would advise you to bite the bullet and accept what you have, because it sounds like the more you have them do, the more they screw it up. >2. The "Go to archives" still do not show current and now changing >the url from pipermail to private brings a blank page. Fix your pipermail alias to point to archives/public/ Then make sure that archives/public/aisworld_lists.aisnet.org is a symlink to archives/private/aisworld_lists.aisnet.org and not a directory. Then look at archives/private/aisworld_lists.aisnet.org/. If the archives are not there, Maybe the hosting service lost them. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Fri Feb 17 23:19:42 2012 From: mark at msapiro.net (Mark Sapiro) Date: Fri, 17 Feb 2012 14:19:42 -0800 Subject: [Mailman-Users] Emails (Of a specific Subject/From type) Vanishingbetween Submission by Postfix and Posting to a Mailman List In-Reply-To: Message-ID: Traiano Welcome wrote: > >I have a very strange issue where emails from (only) a particular sender, with a particular subject to a particular list "vanish" once the mta (Postfix) has handed it off to the mailman post command. For example: > >Mail handed off from postfix to mailman: > >--- >Feb 17 10:34:44 listserver postfix/smtpd[5221]: DB3EC7EA7A: client=mx01.mtnbusiness.co.za[xx.yy.zz.oo] >Feb 17 10:34:44 listserver postfix/cleanup[4002]: DB3EC7EA7A: message-id=<> >Feb 17 10:34:44 listserver postfix/qmgr[396]: DB3EC7EA7A: from=, size=12244, nrcpt=2 (queue active) >Feb 17 10:34:44 listserver postfix/local[4998]: DB3EC7EA7A: to=, relay=local, delay=0.09, delays=0.01/0/0/0.08, dsn=2.0.0, status=sent (delivered to command: /usr/local/mailman/mail/mailman post monkeynuts) >Feb 17 10:34:44 listserver postfix/qmgr[396]: DB3EC7EA7A: removed >--- > >When I look for this mail logged in the post log, I see nothing at all. What's in Mailman's vette log? The most likely explanation is the message is discarded by header_filter_rules or maybe content filtering. All such handler discards are logged in the 'vette' log with the rather cryptic Message discarded, msgid: ... entry. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From cstalberg at web-analysts.net Sat Feb 18 00:09:38 2012 From: cstalberg at web-analysts.net (christian stalberg) Date: Fri, 17 Feb 2012 18:09:38 -0500 Subject: [Mailman-Users] errors In-Reply-To: References: <0FB6D74438CD4C07957C13F8BDFC02CB@D3J1MNH1> Message-ID: <23A47BFE30004B05ACF605482329040A@D3J1MNH1> Ok I created the locks directory but now I am getting this error: Feb 17 17:16:01 2012 post(19147): Traceback (most recent call last): post(19147): File "/usr/lib/mailman/scripts/post", line 69, in post(19147): main() post(19147): File "/usr/lib/mailman/scripts/post", line 64, in main post(19147): tolist=1, _plaintext=1) post(19147): File "/usr/lib/mailman/Mailman/Queue/Switchboard.py", line 136, in enqueue post(19147): fp = open(tmpfile, 'w') post(19147): IOError : [Errno 13] Permission denied: '/var/spool/mailman/in/1329516961.022899+e4ad547ef709f92bc2c43e86b88543fd2b8 7d705.pck.tmp' -----Original Message----- From: Mark Sapiro [mailto:mark at msapiro.net] Sent: Friday, February 17, 2012 4:47 PM To: christian stalberg; mailman-users at python.org Subject: Re: [Mailman-Users] errors christian stalberg wrote: >Moved list to another server. What is the problem here? > ># bin/withlist -l -r fix_url listname -v -u domainname.com Importing >fix_url... >Running fix_url.fix_url()... >Loading list stoptortureflights (locked) Traceback (most recent call >last): > File "bin/withlist", line 302, in > main() > File "bin/withlist", line 280, in main > r = do_list(listname, args, func) > File "bin/withlist", line 198, in do_list > m = MailList.MailList(listname, lock=LOCK) > File "/usr/lib/mailman/Mailman/MailList.py", line 128, in __init__ > self.Lock() > File "/usr/lib/mailman/Mailman/MailList.py", line 161, in Lock > self.__lock.lock(timeout) > File "/usr/lib/mailman/Mailman/LockFile.py", line 243, in lock > self.__write() > File "/usr/lib/mailman/Mailman/LockFile.py", line 422, in __write > fp = open(self.__tmpfname, 'w') >IOError: [Errno 2] No such file or directory: >'/var/lock/mailman/listname.lock.server.domainname.com.22719.0' ># It appears that this Mailman expects it's locks directory is /var/lock/mailman/ and that directory doesn't exist. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Sat Feb 18 02:08:18 2012 From: mark at msapiro.net (Mark Sapiro) Date: Fri, 17 Feb 2012 17:08:18 -0800 Subject: [Mailman-Users] errors In-Reply-To: <23A47BFE30004B05ACF605482329040A@D3J1MNH1> Message-ID: christian stalberg wrote: >Ok I created the locks directory but now I am getting this error: > >Feb 17 17:16:01 2012 post(19147): Traceback (most recent call last): >post(19147): File "/usr/lib/mailman/scripts/post", line 69, in >post(19147): main() >post(19147): File "/usr/lib/mailman/scripts/post", line 64, in main >post(19147): tolist=1, _plaintext=1) >post(19147): File "/usr/lib/mailman/Mailman/Queue/Switchboard.py", line >136, in enqueue >post(19147): fp = open(tmpfile, 'w') >post(19147): IOError : [Errno 13] Permission denied: >'/var/spool/mailman/in/1329516961.022899+e4ad547ef709f92bc2c43e86b88543fd2b8 >7d705.pck.tmp' Mailman doesn't have permission to write in the qfiles directories. Try running Mailman's "bin/check_perms -f" as root. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From maspsr at sdu.dk Mon Feb 20 12:29:37 2012 From: maspsr at sdu.dk (=?iso-8859-1?Q?Peter_S=F8rensen?=) Date: Mon, 20 Feb 2012 12:29:37 +0100 Subject: [Mailman-Users] run script when virtual-mailman is updated Message-ID: <07734B44E9BBED4EAAD1F6968D18C004CA87AE248F@ADM-EXMBX0AB.adm.c.sdu.dk> Hi, I have a script that take email addresses from virtual-mailman and write them to my postfix relay_recipients table This to avoid handling any address that mailman don't know of. I would like to have this script run whenever the virtual-mailman is updated. I can of course run bin/genaliases to rebuild completely but is it possible to put this In somwhere ?? Best regards Peter S?rensen/Univ.Of.Southern Denmark/email: maspsr at sdu.dk From jdanield at free.fr Mon Feb 20 10:43:06 2012 From: jdanield at free.fr (jdd) Date: Mon, 20 Feb 2012 10:43:06 +0100 Subject: [Mailman-Users] No mail going out to lists members Message-ID: <4F4215AA.30400@free.fr> Hello, This is my first mail to this list, fogive me if i miss some netiquette :-( I have the problem in subject (No mail going out to lists members) on a new mailman install, using openSUSE 12.1 server mailman receives mails and archive them: http://culte.org/pipermail/linux-31/2012-February/thread.html I scanned all the instructions in the page http://wiki.list.org/display/DOC/4.78+Troubleshooting-+No+mail+going+out+to+lists+members without finding any problem, but I may have misunderstood some part of it as this did not fix my problems. I documented my work here (sorry, in french) http://dodin.org/wordpress/?p=13 last thing I did is scan the mailman log messages. In openSUSE, mailman is spread between ~mailman in the usual /var/lib/mailman place and /usrLib/mailman. MTA postfix (perfectly running, I can send a mail from the mailman account) I blanked out the log files (renaming the log folder, creating a new one and using check_perm to fix the permissions) I send a message to the linux-31 mailing list, I got this error message: Feb 20 10:27:58 2012 (10832) Uncaught runner exception: Use of the Sendmail.py delivery module is highly discouraged Feb 20 10:27:58 2012 (10832) Traceback (most recent call last): File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 120, in _oneloop self._onefile(msg, msgdata) File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 191, in _onefile keepqueued = self._dispose(mlist, msg, msgdata) File "/usr/lib/mailman/Mailman/Queue/OutgoingRunner.py", line 74, in _dispose self._func(mlist, msg, msgdata) File "/usr/lib/mailman/Mailman/Handlers/Sendmail.py", line 71, in process assert 0, 'Use of the Sendmail.py delivery module is highly discouraged' AssertionError: Use of the Sendmail.py delivery module is highly discouraged Feb 20 10:27:58 2012 (10832) SHUNTING: 1329730077.990159+731f2f19a770d9f674f4bc34e0d3328b894fc605 grunner logs say: Feb 20 10:26:13 2012 (10832) OutgoingRunner qrunner started. NOTICE: I tried to paste the mailman aliases in /etc/alias, because this looked like an alias problem. doing so I got an answer from mailman saying : Command died with status 2: "/usr/lib/mailman/mail/mailman post linux-31". Command output: Failure to exec script. WANTED gid 67, GOT gid 65533. so I reverted to the dual alias system where I have already mailman: root mailman-owner: mailman any idea? thanks jdd -- Jean-Daniel Dodin From mark at msapiro.net Mon Feb 20 16:55:33 2012 From: mark at msapiro.net (Mark Sapiro) Date: Mon, 20 Feb 2012 07:55:33 -0800 Subject: [Mailman-Users] No mail going out to lists members In-Reply-To: <4F4215AA.30400@free.fr> Message-ID: jdd wrote: > >I send a message to the linux-31 mailing list, I got this error message: > >Feb 20 10:27:58 2012 (10832) Uncaught runner exception: Use of the >Sendmail.py delivery module is highly discouraged >Feb 20 10:27:58 2012 (10832) Traceback (most recent call last): > File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 120, in _oneloop > self._onefile(msg, msgdata) > File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 191, in _onefile > keepqueued = self._dispose(mlist, msg, msgdata) > File "/usr/lib/mailman/Mailman/Queue/OutgoingRunner.py", line 74, >in _dispose > self._func(mlist, msg, msgdata) > File "/usr/lib/mailman/Mailman/Handlers/Sendmail.py", line 71, in >process > assert 0, 'Use of the Sendmail.py delivery module is highly >discouraged' >AssertionError: Use of the Sendmail.py delivery module is highly >discouraged > >Feb 20 10:27:58 2012 (10832) SHUNTING: >1329730077.990159+731f2f19a770d9f674f4bc34e0d3328b894fc605 Remove the line DELIVERY_MODULE = 'Sendmail' from mm_cfg.py. Then if you want the shunted messages to be delivered, run /usr/lib/mailman/bin/unshunt Otherwise rm /var/lib/mailman/qfiles/shunt/* >NOTICE: >I tried to paste the mailman aliases in /etc/alias, because this >looked like an alias problem. It is not an alias problem. Aliases have to do with delivery of incoming mail to Mailman. Your problem was with sending outgoing mail from Mailman. >doing so I got an answer from mailman saying > >: Command died with status 2: > "/usr/lib/mailman/mail/mailman post linux-31". Command output: >Failure to > exec script. WANTED gid 67, GOT gid 65533. > >so I reverted to the dual alias system where I have already >mailman: root >mailman-owner: mailman Good. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Mon Feb 20 17:19:27 2012 From: mark at msapiro.net (Mark Sapiro) Date: Mon, 20 Feb 2012 08:19:27 -0800 Subject: [Mailman-Users] run script when virtual-mailman is updated In-Reply-To: <07734B44E9BBED4EAAD1F6968D18C004CA87AE248F@ADM-EXMBX0AB.adm.c.sdu.dk> References: <07734B44E9BBED4EAAD1F6968D18C004CA87AE248F@ADM-EXMBX0AB.adm.c.sdu.dk> Message-ID: <4F42728F.1060205@msapiro.net> On 2/20/2012 3:29 AM, Peter S?rensen wrote: > > I would like to have this script run whenever the virtual-mailman is updated. Add /usr/sbin/postmap $1 to the beginning of your script and put POSTFIX_MAP_CMD = '/path/to/your script' in mm_cfg/py. This will invoke your script with argument equal the path to virtual-mailman whenever lists are created or deleted. Your script will then run the default postmap command to update virtual-mailman.db and can then do whatever you do do update relay_recipients. The FAQ at has more details on this kind of process. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From jdanield at free.fr Mon Feb 20 19:55:16 2012 From: jdanield at free.fr (jdd) Date: Mon, 20 Feb 2012 19:55:16 +0100 Subject: [Mailman-Users] No mail going out to lists members In-Reply-To: References: Message-ID: <4F429714.30605@free.fr> Le 20/02/2012 16:55, Mark Sapiro a ?crit : > Remove the line > > DELIVERY_MODULE = 'Sendmail' > > from mm_cfg.py. done (commented out) even after rstarting mailman, this do not change the result (no delivery) but I still have Feb 20 19:38:44 2012 (10832) Uncaught runner exception: Use of the Sendmail.py delivery module is highly discouraged > > Then if you want the shunted messages to be delivered, run > > /usr/lib/mailman/bin/unshunt don't work (messages still in the shunt folder) > > Otherwise > > rm /var/lib/mailman/qfiles/shunt/* this works, for sure. done. I had also messages in /var/lib/mailman/data like "heldmsg-linux-31-11.pck". I also removed them I posted a couple of messages on the list, no return I have Feb 20 19:42:00 2012 (28177) post to linux-31 from jdanield at free.fr, size=1607, message-id=<4F4293F1.4090705 at free.fr>, 2 failures in post log file Feb 20 19:42:00 2012 (28177) delivery to jdd at dodin.org failed with code -1: [Errno -2] Name or service not known on smtp logs I have this in mm_cfg.py: DEFAULT_URL_PATTERN = 'http://%s/mailman/' DEFAULT_NNTP_HOST = 'culte.org' DEFAULT_EMAIL_HOST = 'culte.org' DEFAULT_URL_HOST = 'culte.org' MTA = 'Postfix' POSTFIX_ALIAS_CMD = '/usr/sbin/postalias' POSTFIX_MAP_CMD = '/usr/sbin/postmap' #DELIVERY_MODULE = 'Sendmail' what can i do else? thanks jdd -- Jean-Daniel Dodin From mark at msapiro.net Mon Feb 20 22:05:24 2012 From: mark at msapiro.net (Mark Sapiro) Date: Mon, 20 Feb 2012 13:05:24 -0800 Subject: [Mailman-Users] No mail going out to lists members In-Reply-To: <4F429714.30605@free.fr> References: <4F429714.30605@free.fr> Message-ID: <4F42B594.7030903@msapiro.net> On 2/20/2012 10:55 AM, jdd wrote: > > I posted a couple of messages on the list, no return > > I have > Feb 20 19:42:00 2012 (28177) post to linux-31 from jdanield at free.fr, > size=1607, message-id=<4F4293F1.4090705 at free.fr>, 2 failures > > in post log file > > Feb 20 19:42:00 2012 (28177) delivery to jdd at dodin.org failed with code > -1: [Errno -2] Name or service not known > > on smtp logs See the FAQs at and . -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From maspsr at sdu.dk Tue Feb 21 09:25:27 2012 From: maspsr at sdu.dk (=?iso-8859-1?Q?Peter_S=F8rensen?=) Date: Tue, 21 Feb 2012 09:25:27 +0100 Subject: [Mailman-Users] run script when virtual-mailman is updated In-Reply-To: <4F42728F.1060205@msapiro.net> References: <07734B44E9BBED4EAAD1F6968D18C004CA87AE248F@ADM-EXMBX0AB.adm.c.sdu.dk> <4F42728F.1060205@msapiro.net> Message-ID: <07734B44E9BBED4EAAD1F6968D18C004CA87AE253F@ADM-EXMBX0AB.adm.c.sdu.dk> Thanks Mark - exactly what I needed. Not quite sure on the $1. This I could'nt make work. Best regards Peter -----Oprindelig meddelelse----- Fra: Mark Sapiro [mailto:mark at msapiro.net] Sendt: 20. februar 2012 17:19 Til: Peter S?rensen Cc: mailman-users at python.org Emne: Re: [Mailman-Users] run script when virtual-mailman is updated On 2/20/2012 3:29 AM, Peter S?rensen wrote: > > I would like to have this script run whenever the virtual-mailman is updated. Add /usr/sbin/postmap $1 to the beginning of your script and put POSTFIX_MAP_CMD = '/path/to/your script' in mm_cfg/py. This will invoke your script with argument equal the path to virtual-mailman whenever lists are created or deleted. Your script will then run the default postmap command to update virtual-mailman.db and can then do whatever you do do update relay_recipients. The FAQ at has more details on this kind of process. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From jdanield at free.fr Tue Feb 21 11:19:36 2012 From: jdanield at free.fr (jdd) Date: Tue, 21 Feb 2012 11:19:36 +0100 Subject: [Mailman-Users] No mail going out to lists members In-Reply-To: <4F42B594.7030903@msapiro.net> References: <4F429714.30605@free.fr> <4F42B594.7030903@msapiro.net> Message-ID: <4F436FB8.9050207@free.fr> thanks to your answers, but none give result. I was even obliged to revert to a previous (virtualbox) snapshot because after reboot I couldn't configure the network :-) that said, trying as many things, I finally got a cleaner mailman folder. Clean logs, shunts, helds... Now, sending a couple of mails to a list (archives here http://culte.org/pipermail/linux-31/2012-February/thread.html), still not sent to the list members, I only find in ~mailman/qfiles files in "retry", *including the test files* (with lot of spam) these files are binary, but with many human readable parts. The one corresponding to the problematic mail keep changing name (looks like mailman try to send it and fails each time) I can understand the content but it's only 2.8k, so I join it to this post, may be it will give clues thanks jdd -- Jean-Daniel Dodin From jdanield at free.fr Tue Feb 21 11:23:40 2012 From: jdanield at free.fr (jdd) Date: Tue, 21 Feb 2012 11:23:40 +0100 Subject: [Mailman-Users] No mail going out to lists members In-Reply-To: <4F436FB8.9050207@free.fr> References: <4F429714.30605@free.fr> <4F42B594.7030903@msapiro.net> <4F436FB8.9050207@free.fr> Message-ID: <4F4370AC.1010201@free.fr> Le 21/02/2012 11:19, jdd a ?crit : > I can understand the content but it's only 2.8k, so I join it to this > post, may be it will give clues do not pass the list. It's here: http://dodin.org/temp/mailproblem.pck thanks jdd -- Jean-Daniel Dodin From jdanield at free.fr Tue Feb 21 11:39:17 2012 From: jdanield at free.fr (jdd) Date: Tue, 21 Feb 2012 11:39:17 +0100 Subject: [Mailman-Users] No mail going out to lists members In-Reply-To: <4F4370AC.1010201@free.fr> References: <4F429714.30605@free.fr> <4F42B594.7030903@msapiro.net> <4F436FB8.9050207@free.fr> <4F4370AC.1010201@free.fr> Message-ID: <4F437455.8040601@free.fr> got it... for some obscure reason, the openSUSE config utility did *not* update the mm_cfg.py config file (and copied the good one next with an extension) using this config file solved the problem. the local config (good) is: DEFAULT_URL_PATTERN = 'http://%s/mailman/' DEFAULT_NNTP_HOST = 'savage-reborn' DEFAULT_EMAIL_HOST = 'culte.org' DEFAULT_URL_HOST = 'culte.org' MTA = 'Postfix' POSTFIX_ALIAS_CMD = '/usr/sbin/postalias' POSTFIX_MAP_CMD = '/usr/sbin/postmap' DELIVERY_MODULE = 'SMTPDirect' SMTPHOST = 'localhost' SMTPPORT = '25' add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST) IMAGE_LOGOS = '/mailmanicons/' thanks jdd -- Jean-Daniel Dodin From hamilton at accesswave.ca Tue Feb 21 13:21:15 2012 From: hamilton at accesswave.ca (Robert (Bob) Hamilton) Date: Tue, 21 Feb 2012 08:21:15 -0400 Subject: [Mailman-Users] Archives not updating Message-ID: <6dcaac$1215f0d@ip05.eastlink.ca> Hello, Back in 2005 I installed Mailman on a hosting server and until now the Archiving feature has worked flawlessly archiving all the messages sent to the list until January 27th, 2012 when it stopped. I have looked at all the setup features and everything is fine so I am not sure why this has happened as I have lots of unused space on the server. I am hoping this is an easy fix as I am not very familiar with programming so if it does involves editing a script, I am almost useless. Anyone have a suggestion? The hosts only provide the program and not into solving problems with 3rd party software. Thanks in advance, Bob From mark at msapiro.net Tue Feb 21 18:10:10 2012 From: mark at msapiro.net (Mark Sapiro) Date: Tue, 21 Feb 2012 09:10:10 -0800 Subject: [Mailman-Users] run script when virtual-mailman is updated In-Reply-To: <07734B44E9BBED4EAAD1F6968D18C004CA87AE253F@ADM-EXMBX0AB.adm.c.sdu.dk> References: <07734B44E9BBED4EAAD1F6968D18C004CA87AE248F@ADM-EXMBX0AB.adm.c.sdu.dk> <4F42728F.1060205@msapiro.net> <07734B44E9BBED4EAAD1F6968D18C004CA87AE253F@ADM-EXMBX0AB.adm.c.sdu.dk> Message-ID: <4F43CFF2.5000308@msapiro.net> On 2/21/2012 12:25 AM, Peter S?rensen wrote: > Thanks Mark - exactly what I needed. Not quite sure on the $1. > This I could'nt make work. Mailman invokes the POSTFIX_MAP_CMD command with one argument equal to the path to the virtual-mailman file. The intent is that this will run /usr/sbin/postmap /path/to/data/virtual-mailman which will update virtual-mailman.db with the changed virtual-mailman. Presumably, when you replace /usr/sbin/postmap with /path/to/your/script, you still want virtual-mailman.db to be updated so you need /usr/sbin/postmap $1 somewhere in your script so when Mailman invokes /path/to/your/script /path/to/data/virtual-mailman The $1 inside the script is replaced with the first argument and the script runs /usr/sbin/postmap /path/to/data/virtual-mailman You could of course hard code the path to virtual-mailman in the postmap command in your script instead of using $1 to get it from the invoking command, but the $1 is more general. If it failed when you tested your script by hand, that is because you didn't invoke the script with the /path/to/data/virtual-mailman argument as Mailman does. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Tue Feb 21 18:31:57 2012 From: mark at msapiro.net (Mark Sapiro) Date: Tue, 21 Feb 2012 09:31:57 -0800 Subject: [Mailman-Users] No mail going out to lists members In-Reply-To: <4F436FB8.9050207@free.fr> Message-ID: jdd wrote: > >I can understand the content but it's only 2.8k, so I join it to this >post, may be it will give clues You can examine Mailman's saved Python pickle (.pck) files with Mailman's bin/dumpdb. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Tue Feb 21 18:35:10 2012 From: mark at msapiro.net (Mark Sapiro) Date: Tue, 21 Feb 2012 09:35:10 -0800 Subject: [Mailman-Users] No mail going out to lists members In-Reply-To: <4F437455.8040601@free.fr> Message-ID: jdd wrote: >got it... >for some obscure reason, the openSUSE config utility did *not* update >the mm_cfg.py config file (and copied the good one next with an extension) A Mailman install/upgrade should never replace an existing mm_cfg.py as that is where you put your site customization of Mailman's defaults and you wouldn't want an upgrade to overwrite your site settings. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Tue Feb 21 18:42:14 2012 From: mark at msapiro.net (Mark Sapiro) Date: Tue, 21 Feb 2012 09:42:14 -0800 Subject: [Mailman-Users] Archives not updating In-Reply-To: <6dcaac$1215f0d@ip05.eastlink.ca> Message-ID: Robert (Bob) Hamilton wrote: > >Back in 2005 I installed Mailman on a hosting server and until now >the Archiving feature has worked flawlessly archiving all the >messages sent to the list until January 27th, 2012 when it stopped. I >have looked at all the setup features and everything is fine so I am >not sure why this has happened as I have lots of unused space on the server. > >I am hoping this is an easy fix as I am not very familiar with >programming so if it does involves editing a script, I am almost >useless. Anyone have a suggestion? The hosts only provide the program >and not into solving problems with 3rd party software. Is ArchRunner running? Have you tried stopping and starting (as opposed to restarting) Mailman? Have you looked in Mailman's 'error' and 'qrunner' logs? See items 6.b. and 8. in the FAQ at . -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From jdanield at free.fr Tue Feb 21 19:02:44 2012 From: jdanield at free.fr (jdd) Date: Tue, 21 Feb 2012 19:02:44 +0100 Subject: [Mailman-Users] No mail going out to lists members In-Reply-To: References: Message-ID: <4F43DC44.2060606@free.fr> Le 21/02/2012 18:35, Mark Sapiro a ?crit : > jdd wrote: > >> got it... >> for some obscure reason, the openSUSE config utility did *not* update >> the mm_cfg.py config file (and copied the good one next with an extension) > > > A Mailman install/upgrade should never replace an existing mm_cfg.py as > that is where you put your site customization of Mailman's defaults > and you wouldn't want an upgrade to overwrite your site settings. > it was a first time install. I beg I got a look to the file before beginning config. learning is sometime hard :-) thanks for help jdd -- Jean-Daniel Dodin From ianprietz at usf.edu Tue Feb 21 21:21:02 2012 From: ianprietz at usf.edu (Ian Prietz) Date: Tue, 21 Feb 2012 14:21:02 -0600 Subject: [Mailman-Users] Message delivery and Logs Message-ID: <4F43FCAE.7030909@usf.edu> Hi, We have multiple lists set up with our Mailman host. We have had some delivery issues recently. Until a few weeks ago, we did not have DomainKeys or SPF records properly configured for our domain. A few of the lists have been active for, I believe, 2 or so years; for this example, we will call one of these lists "LIST A". Messages sent to these lists seem to deliver fine. In October, we added 5 brand new lists. One of the new lists has had some real trouble getting the messages delivered. However, there are members of "LIST A" that are also member of the problem list, "LIST B". They receive messages from "LIST A" fine, but messages from "LIST B" never even seem to reach the front door. I spoke with one local postmaster, and he did not see the first message from "LIST B" in his logs anywhere. I am a member of all of the lists, and I think I receive every single email. Even when others do not receive messages from "LIST B", I do. To the best of my knowledge, every single list is configured identically, except for its name. Any ideas as to what could be causing it? I believe that members of LIST B who had been having issues have had their issues clear up after configuring the SPF records and what not properly. Thanks, and hope that was not too confusing. Ian From mark at msapiro.net Tue Feb 21 21:48:06 2012 From: mark at msapiro.net (Mark Sapiro) Date: Tue, 21 Feb 2012 12:48:06 -0800 Subject: [Mailman-Users] Message delivery and Logs In-Reply-To: <4F43FCAE.7030909@usf.edu> Message-ID: Ian Prietz wrote: > >We have multiple lists set up with our Mailman host. We have had some >delivery issues recently. Until a few weeks ago, we did not have >DomainKeys or SPF records properly configured for our domain. > >A few of the lists have been active for, I believe, 2 or so years; for >this example, we will call one of these lists "LIST A". Messages sent to >these lists seem to deliver fine. In October, we added 5 brand new >lists. One of the new lists has had some real trouble getting the >messages delivered. However, there are members of "LIST A" that are also >member of the problem list, "LIST B". They receive messages from "LIST >A" fine, but messages from "LIST B" never even seem to reach the front >door. I spoke with one local postmaster, and he did not see the first >message from "LIST B" in his logs anywhere. Things like SPF and DomainKeys/DKIM tend to affect all mail from the server. It is unlikely that they would be related to an issue of a member receiving mail from one list and not another on the same server. Such an issue might possibly be related to a recipient's having list_a-bounces at example.com but not list_b-bounces at example.com in her address book. What is in your server's MTA logs? Are the messages to LIST B recipients being sent and accepted by the respective recipient MX servers? -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From maspsr at sdu.dk Wed Feb 22 08:15:21 2012 From: maspsr at sdu.dk (=?iso-8859-1?Q?Peter_S=F8rensen?=) Date: Wed, 22 Feb 2012 08:15:21 +0100 Subject: [Mailman-Users] run script when virtual-mailman is updated In-Reply-To: <4F43CFF2.5000308@msapiro.net> References: <07734B44E9BBED4EAAD1F6968D18C004CA87AE248F@ADM-EXMBX0AB.adm.c.sdu.dk> <4F42728F.1060205@msapiro.net> <07734B44E9BBED4EAAD1F6968D18C004CA87AE253F@ADM-EXMBX0AB.adm.c.sdu.dk> <4F43CFF2.5000308@msapiro.net> Message-ID: <07734B44E9BBED4EAAD1F6968D18C004CA87AE2635@ADM-EXMBX0AB.adm.c.sdu.dk> Once again - thanks for being so patient :-) My fault . My script is written in Perl so need to change the $1 to $ARGV[0] then It worked. Best regards Peter -----Oprindelig meddelelse----- Fra: Mark Sapiro [mailto:mark at msapiro.net] Sendt: 21. februar 2012 18:10 Til: Peter S?rensen Cc: mailman-users at python.org Emne: Re: [Mailman-Users] run script when virtual-mailman is updated On 2/21/2012 12:25 AM, Peter S?rensen wrote: > Thanks Mark - exactly what I needed. Not quite sure on the $1. > This I could'nt make work. Mailman invokes the POSTFIX_MAP_CMD command with one argument equal to the path to the virtual-mailman file. The intent is that this will run /usr/sbin/postmap /path/to/data/virtual-mailman which will update virtual-mailman.db with the changed virtual-mailman. Presumably, when you replace /usr/sbin/postmap with /path/to/your/script, you still want virtual-mailman.db to be updated so you need /usr/sbin/postmap $1 somewhere in your script so when Mailman invokes /path/to/your/script /path/to/data/virtual-mailman The $1 inside the script is replaced with the first argument and the script runs /usr/sbin/postmap /path/to/data/virtual-mailman You could of course hard code the path to virtual-mailman in the postmap command in your script instead of using $1 to get it from the invoking command, but the $1 is more general. If it failed when you tested your script by hand, that is because you didn't invoke the script with the /path/to/data/virtual-mailman argument as Mailman does. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From anilj at me.com Thu Feb 23 00:29:00 2012 From: anilj at me.com (Anil Jangity) Date: Wed, 22 Feb 2012 15:29:00 -0800 Subject: [Mailman-Users] slow "out" queue In-Reply-To: References: Message-ID: <0117F59C-C953-4FC2-9FA9-1ECC6D4A300C@me.com> Mark, thanks for the very detailed info below. I am still stuck on this. This sendmail server is setup to relay the mail to smarthost. When I inject a test mail on port 25 with RCPT and FROM to be a made up junk domain, the email is still delivered *immediately* to the smarthost, there is no resolver issues. If sendmail was really doing DNS lookups, I would think it would be stuck locally or throw a bounce/error right away. It just seems like it's running serially, and not dequeueing multiple messages to the smarthost at a time. Anil PS: Putting a local DNS cacheing server is a possibility, but not yet. On Feb 1, 2012, at 10:56 PM, Mark Sapiro wrote: > Anil Jangity wrote: > >> Does mailman actually (if it works) send to 15 recipients at a time - per SMTP session? > > > Mailman's use of the term session is not consistent with the RFCs. What > Mailman calls SMTP_MAX_SESSIONS_PER_CONNECTION is actually in RFC 821, > 2821, 5321 terms, max transactions per session. I.e. one session is > one connection from HELO/EHLO to QUIT and one transaction is one MAIL > FROM and everything that follows up to the next MAIL FROM. > > Unless you have some specific MTA reason for setting > SMTP_MAX_SESSIONS_PER_CONNECTION, you should leave it at the default > value of 0 meaning unlimited. > > If a message is personalized or VERPd, SMTP_MAX_RCPTS is ignored > because you can't send a personalized or VERPd message to more than > one recipient. Otherwize, SMTP_MAX_RCPTS is the maximum number of RCPT > TO recipients in one MAIL FROM transaction. > > Note that 6000 users per 35 minutes is less than 3 per second. This is > extremely slow. I typically see 30 to over 60 recipients per second on > a rather ordinary production server with full VERP. > > See my reply to your original post in this thread at > > and look at the FAQs linked in that post for hints. In particular, do > not do DNS verification of RCPT TO domains during SMTP from Mailman. > > -- > Mark Sapiro The highway is for gamblers, > San Francisco Bay Area, California better use your sense - B. Dylan > From mark at msapiro.net Thu Feb 23 03:53:40 2012 From: mark at msapiro.net (Mark Sapiro) Date: Wed, 22 Feb 2012 18:53:40 -0800 Subject: [Mailman-Users] slow "out" queue In-Reply-To: <0117F59C-C953-4FC2-9FA9-1ECC6D4A300C@me.com> Message-ID: Anil Jangity wrote: > >This sendmail server is setup to relay the mail to smarthost. When I inject a test mail on port 25 with RCPT and FROM to be a made up junk domain, the email is still delivered *immediately* to the smarthost, there is no resolver issues. > >If sendmail was really doing DNS lookups, I would think it would be stuck locally or throw a bounce/error right away. >It just seems like it's running serially, and not dequeueing multiple messages to the smarthost at a time. This issue is not a Mailman issue per se. It is either a Sendmail configuration issue or something to do with the interaction of Sendmail with the smarthost. We have given you all the information we have to help you with this. If that isn't sufficient, you'll have to pursue this using Sendmail support resources. See . -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From william at donnelly-house.net Thu Feb 23 00:08:49 2012 From: william at donnelly-house.net (William Donnelly) Date: Wed, 22 Feb 2012 15:08:49 -0800 Subject: [Mailman-Users] English "translation" Message-ID: <4F457581.8050505@donnelly-house.net> I'm using mailman version 2.1.13. I've seen some web references to "English translation" files in /messages/en/LC_MESSAGES/ But there is no such directory, or mailman.po and mailman.mo files. Is this some option, or something some people have set up themselves, or what is going on? Why isn't that used so we can change text without having to modify mailman python code and recompile, etc.? I want to modify the page "code-generated" known as "Confirm subscription request", among others. Hints, help, support appreciated. TIA From port_manteau at live.com Wed Feb 22 20:11:37 2012 From: port_manteau at live.com (=?Windows-1252?B?Q29ub3IglpaWlpaW?=) Date: Wed, 22 Feb 2012 14:11:37 -0500 Subject: [Mailman-Users] Digest distribution time problem Message-ID: Hello, After having read several different threads in the archives about altering the crontab file entry to change when the senddigests script is run, effectively distributing each list's daily digest, I am still at a loss. I've changed the entry so it appears it would distribute the digests at 9AM each day, but, no matter what I do, the digests still distribute at the installation default time of noon. For example, here is what the entry looks like now: # 9AM, mail digests for lists that do periodic as well as threshold delivery. 0 9 * * * /usr/bin/python -S /var/lib/mailman/cron/senddigests Is there perhaps another issue taking place here that I am not aware of? Thank you in advance, Conor From mark at msapiro.net Thu Feb 23 08:40:01 2012 From: mark at msapiro.net (Mark Sapiro) Date: Wed, 22 Feb 2012 23:40:01 -0800 Subject: [Mailman-Users] English "translation" In-Reply-To: <4F457581.8050505@donnelly-house.net> Message-ID: William Donnelly wrote: >I'm using mailman version 2.1.13. > >I've seen some web references to "English translation" files in > >/messages/en/LC_MESSAGES/ > >But there is no such directory, or mailman.po and mailman.mo files. > >Is this some option, or something some people have set up themselves, or >what is going on? There has never been an "English translation" in the Mailman distributed by the GNU Mailman project. For more information ask the people responsible for the web references you have seen. >Why isn't that used so we can change text without having to >modify mailman python code and recompile, etc.? Because no one ever took the trouble to create and maintain it and modify, or if anyone did, they apparently never submitted back to the project. >I want to modify the page "code-generated" known as >"Confirm subscription request", among others. > >Hints, help, support appreciated. This script ------------------------------------------------------Cut #! /usr/bin/python import re cre = re.compile('msgid (.*?)^msgstr ""$', re.MULTILINE|re.DOTALL) potfile = open('mailman.pot') pofile = open('en/LC_MESSAGES/mailman.po', 'w') txt = potfile.read() txt = cre.sub(r'msgid \1msgstr \1', txt) pofile.write(txt) ------------------------------------------------------Cut will convert the mailman.pot into an almost usable mailman.po. You will still have to edit some of the front matter, in particular, change "Content-Type: text/plain; charset=CHARSET\n" "Content-Transfer-Encoding: ENCODING\n" to "Content-Type: text/plain; charset=us-ascii\n" "Content-Transfer-Encoding: 7bit\n" and then you can make your other translations and run Mailman's bin/msgfmt.py or the standard msgfmt command to create mailman.mo. Alternatively, you could make an abbreviated mailman.po containing only those strings you want to change since any strings not found in the message catalog will just be untranslated. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Thu Feb 23 08:59:29 2012 From: mark at msapiro.net (Mark Sapiro) Date: Wed, 22 Feb 2012 23:59:29 -0800 Subject: [Mailman-Users] Digest distribution time problem In-Reply-To: References: Message-ID: <4F45F1E1.90809@msapiro.net> On 2/22/2012 11:11 AM, Conor ?????? wrote: > > After having read several different threads in the archives about > altering the crontab file entry to change when the senddigests script > is run, effectively distributing each list's daily digest, I am still > at a loss. I've changed the entry so it appears it would distribute > the digests at 9AM each day, but, no matter what I do, the digests > still distribute at the installation default time of noon. For > example, here is what the entry looks like now: > > # 9AM, mail digests for lists that do periodic as well as threshold > delivery. 0 9 * * * /usr/bin/python -S > /var/lib/mailman/cron/senddigests > > Is there perhaps another issue taking place here that I am not aware > of? What file are you changing? If you are changing Mailman's cron/crontab.in, that will have no effect until you do crontab cron/crontab.in either as the mailman user or as root with the -u option. Note that if your Mailman is installed from a package, it might be using a 'system' crontab. You should check if the actual mailman crontab is a user crontab in /var/spool/cron/mailman or a system crontab in some place like /etc/cron.d/mailman. If it is a user crontab, you can list it, edit it or install it from a file using the crontab command (see man crontab). If it is a system crontab, you have to edit it directly and it will also have an additional field for the user to run as between the days/times fields and the command. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mailman at tengu.ch Thu Feb 23 12:41:51 2012 From: mailman at tengu.ch (=?UTF-8?Q?C=C3=A9dric_Jeanneret?=) Date: Thu, 23 Feb 2012 13:41:51 +0200 Subject: [Mailman-Users] mailman and virtual mailboxes on same domain Message-ID: <1725bb2bc322da382dbf5a889b4db625@webmail.tengu.ch> Hello people! I'm having big troubles with a special setup: one server, one domain (say foo.bar.com), virtual mailboxes (managed by ldap), and a mailman I'm using postfix and dovecot for the "standard" mail part, and this works well. My problem is for mailman: While trying to send email to my-list at foo.bar.com, postfix tells me this: Feb 23 09:49:25 sqdf3 postfix/smtpd[14760]: connect from myHost[myIP] Feb 23 09:49:25 sqdf3 postfix/smtpd[14760]: 1CAECBE69AC: client=myHost[myIP] Feb 23 09:49:25 sqdf3 postfix/cleanup[14765]: 1CAECBE69AC: message-id=<20120223084925.0B86537AAEF at mail.myhost> Feb 23 09:49:25 sqdf3 postfix/qmgr[14759]: 1CAECBE69AC: from=, size=513, nrcpt=1 (queue active) Feb 23 09:49:25 sqdf3 postfix/smtpd[14760]: disconnect from myHost[myIP] Feb 23 09:49:25 sqdf3 postfix/virtual[14766]: 1CAECBE69AC: to=<|/var/lib/mailman/mail/mailman post my-list at foo.bar.com>, orig_to=, relay=virtual, delay=0.03, delays=0.02/0/0/0.01, dsn=5.1.1, status=bounced (unknown user: "|/var/lib/mailman/mail/mailman post my-list at foo.bar.com") Feb 23 09:49:25 sqdf3 postfix/cleanup[14765]: 23D50BE69F5: message-id=<20120223084925.23D50BE69F5 at foo.bar.com> Feb 23 09:49:25 sqdf3 postfix/qmgr[14759]: 23D50BE69F5: from=<>, size=2585, nrcpt=1 (queue active) Feb 23 09:49:25 sqdf3 postfix/bounce[14767]: 1CAECBE69AC: sender non-delivery notification: 23D50BE69F5 Feb 23 09:49:25 sqdf3 postfix/qmgr[14759]: 1CAECBE69AC: removed (and it sends me back a delivery failure due to unknown user) Here's my postfix configuration: smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU) biff = no # appending .domain is the MUA's job. append_dot_mydomain = no # Uncomment the next line to generate "delayed mail" warnings #delay_warning_time = 4h alias_maps = hash:/etc/aliases alias_database = hash:/etc/aliases mydestination = foo.bar.com, localhost mynetworks = 127.0.0.0/8 inet_interfaces = all recipient_delimiter = + smtpd_sasl_security_options = noanonymous myorigin = foo.bar.com smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache smtpd_sasl_path = private/auth owner_request_special = no smtpd_tls_CAfile = /etc/postfix/ssl/foo_bundle.crt smtpd_tls_cert_file = /etc/postfix/ssl/foo.crt smtpd_use_tls = yes smtpd_sasl_tls_security_options = $smtpd_sasl_security_options smtpd_sasl_auth_enable = yes default_process_limit = 5 smtpd_recipient_restrictions = check_recipient_access hash:/etc/postfix/access, permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination, reject_unlisted_recipient smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache broken_sasl_auth_clients = yes smtpd_tls_key_file = /etc/postfix/ssl/keyForApache2.key transport_maps = hash:/etc/postfix/transport virtual_transport = virtual virtual_transport_maps = hash:/etc/postfix/transport virtual_alias_maps = hash:/etc/aliases, ldap:/etc/postfix/ldap-aliases.cf, hash:/etc/postfix/virtual virtual_alias_mbox = ldap:/etc/postfix/ldap-mbox.cf virtual_mailbox_maps = ldap:/etc/postfix/ldap-accounts.cf virtual_gid_maps = static:104 virtual_minimum_uid = 8 virtual_uid_maps = static:8 virtual_mailbox_domains = foo.bar.com virtual_mailbox_base = / mailman_destination_recipient_limit = 1 smtpd_sasl_type = dovecot The virtual user delivery works just fine. Here's a sniped of my transport hash: my-list at foo.bar.com mailman: @foo.bar.com virtual: Any help is welcome, if you need any other information regarding the postfix configuration, please ask - I'm pretty sure it's obvious, but I must be blind :(. Mailman version: 1:2.1.13-5 (on debian squeeze) Postfix version: 2.7.1-1+squeeze1 Dovecot version: 1:1.2.15-7 Cheers, C. From hone at ohio.edu Thu Feb 23 20:22:25 2012 From: hone at ohio.edu (Hone, Don) Date: Thu, 23 Feb 2012 14:22:25 -0500 Subject: [Mailman-Users] finding moderators of a list Message-ID: <05D7DE477FE818429792EFFFC43DEBB412732D4863@EXMAIL1.ohio.edu> Is there a way as list owner or as system admin, to sort a mailman membership list based on whether someone's moderation flag is set, or perhaps export that list into a format that includes all of the various option columns that could then dump into Excel? We have a list of over 700 members and it would take some time to click through and look at each page manually to find out who has the Mod box unchecked. Using Mailman version: 2.1.9 Don Hone Office of Information Technology Ohio University From port_manteau at live.com Thu Feb 23 20:32:41 2012 From: port_manteau at live.com (=?Windows-1252?B?Q29ub3IglpaWlpaW?=) Date: Thu, 23 Feb 2012 14:32:41 -0500 Subject: [Mailman-Users] Digest distribution time problem In-Reply-To: <4F45F1E1.90809@msapiro.net> References: , <4F45F1E1.90809@msapiro.net> Message-ID: This worked perfectly. I changed both the user's crontab as well as the system's cron.d/mailman file and now I seem to be able to manipulate the time at which the digests distribute. As a quick aside though: would I be able to just duplicate that particular line in both of those files and make the second line, say, 3pm, so digests distribute both at 9am and 3pm everyday? Either way, thank you very much! - Conor > Date: Wed, 22 Feb 2012 23:59:29 -0800 > From: mark at msapiro.net > To: port_manteau at live.com > CC: mailman-users at python.org > Subject: Re: [Mailman-Users] Digest distribution time problem > > On 2/22/2012 11:11 AM, Conor ?????? wrote: > > > > After having read several different threads in the archives about > > altering the crontab file entry to change when the senddigests script > > is run, effectively distributing each list's daily digest, I am still > > at a loss. I've changed the entry so it appears it would distribute > > the digests at 9AM each day, but, no matter what I do, the digests > > still distribute at the installation default time of noon. For > > example, here is what the entry looks like now: > > > > # 9AM, mail digests for lists that do periodic as well as threshold > > delivery. 0 9 * * * /usr/bin/python -S > > /var/lib/mailman/cron/senddigests > > > > Is there perhaps another issue taking place here that I am not aware > > of? > > > What file are you changing? If you are changing Mailman's > cron/crontab.in, that will have no effect until you do > > crontab cron/crontab.in > > either as the mailman user or as root with the -u option. > > Note that if your Mailman is installed from a package, it might be using > a 'system' crontab. You should check if the actual mailman crontab is a > user crontab in /var/spool/cron/mailman or a system crontab in some > place like /etc/cron.d/mailman. If it is a user crontab, you can list > it, edit it or install it from a file using the crontab command (see man > crontab). If it is a system crontab, you have to edit it directly and it > will also have an additional field for the user to run as between the > days/times fields and the command. > > -- > Mark Sapiro The highway is for gamblers, > San Francisco Bay Area, California better use your sense - B. Dylan > From mark at msapiro.net Thu Feb 23 20:35:22 2012 From: mark at msapiro.net (Mark Sapiro) Date: Thu, 23 Feb 2012 11:35:22 -0800 Subject: [Mailman-Users] finding moderators of a list In-Reply-To: <05D7DE477FE818429792EFFFC43DEBB412732D4863@EXMAIL1.ohio.edu> Message-ID: Hone, Don wrote: >Is there a way as list owner or as system admin, to sort a mailman membership list based on whether someone's moderation flag is set, or perhaps export that list into a format that includes all of the various option columns that could then dump into Excel? We have a list of over 700 members and it would take some time to click through and look at each page manually to find out who has the Mod box unchecked. See and (mirrored at and ). -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From adam-mailman at amyl.org.uk Thu Feb 23 20:40:55 2012 From: adam-mailman at amyl.org.uk (Adam McGreggor) Date: Thu, 23 Feb 2012 19:40:55 +0000 Subject: [Mailman-Users] finding moderators of a list In-Reply-To: <05D7DE477FE818429792EFFFC43DEBB412732D4863@EXMAIL1.ohio.edu> References: <05D7DE477FE818429792EFFFC43DEBB412732D4863@EXMAIL1.ohio.edu> Message-ID: <20120223194055.GM10111@hendricks.amyl.org.uk> On Thu, Feb 23, 2012 at 02:22:25PM -0500, Hone, Don wrote: > Is there a way as list owner or as system admin, to sort a mailman > membership list based on whether someone's moderation flag is set, or > perhaps export that list into a format that includes all of the > various option columns that could then dump into Excel? moderators (per your Subject: line) != moderated bit. For list-moderators, `list_owners -wm` may be useful. (pipe it through tr(1), maybe) To list those with moderated bits set, http://www.msapiro.net/scripts/list_mod.py might be what you're after. -- "Many people would sooner die than think. In fact, they do." -- Bertrand Russell From ges+lists at wingfoot.org Thu Feb 23 20:33:56 2012 From: ges+lists at wingfoot.org (Glenn Sieb) Date: Thu, 23 Feb 2012 14:33:56 -0500 Subject: [Mailman-Users] finding moderators of a list In-Reply-To: <05D7DE477FE818429792EFFFC43DEBB412732D4863@EXMAIL1.ohio.edu> References: <05D7DE477FE818429792EFFFC43DEBB412732D4863@EXMAIL1.ohio.edu> Message-ID: <4F4694A4.8050006@wingfoot.org> On 2/23/12 2:22 PM, Hone, Don wrote: > Is there a way as list owner or as system admin, to sort a mailman membership list based on whether someone's moderation flag is set, or perhaps export that list into a format that includes all of the various option columns that could then dump into Excel? We have a list of over 700 members and it would take some time to click through and look at each page manually to find out who has the Mod box unchecked. > > Using Mailman version: 2.1.9 There is no "mod box" in Mailman 2. If you have access to the shell on the box that Mailman is running on, you can do this: $ list_owners -wm That will give you the lists, who the owners and the moderators are. Best, --Glenn From mark at msapiro.net Thu Feb 23 20:47:59 2012 From: mark at msapiro.net (Mark Sapiro) Date: Thu, 23 Feb 2012 11:47:59 -0800 Subject: [Mailman-Users] Digest distribution time problem In-Reply-To: References: , <4F45F1E1.90809@msapiro.net> Message-ID: <4F4697EF.5090900@msapiro.net> On 2/23/2012 11:32 AM, Conor ?????? wrote: > > This worked perfectly. I changed both the user's crontab as well as > the system's cron.d/mailman file and now I seem to be able to > manipulate the time at which the digests distribute. You absolutely do not want both the user and the system crontabs. Either one will do, but both will run every job twice. This won't matter much for senddigests because the first one will send a digest and the second won't have a digest to send, but, for example, two checkdbs will each send the "nn moderator requests" email so recipients will receive two copies. > As a quick aside > though: would I be able to just duplicate that particular line in > both of those files and make the second line, say, 3pm, so digests > distribute both at 9am and 3pm everyday? As I said, you only want one of the two files. taking the user's crontab as an example, you could have two entries 0 9 * * * /usr/bin/python -S /var/lib/mailman/cron/senddigests and 0 15 * * * /usr/bin/python -S /var/lib/mailman/cron/senddigests but the normal way to do this is with one entry 0 9,15 * * * /usr/bin/python -S /var/lib/mailman/cron/senddigests See 'man 5 crontab'. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From ges+lists at wingfoot.org Thu Feb 23 20:52:48 2012 From: ges+lists at wingfoot.org (Glenn Sieb) Date: Thu, 23 Feb 2012 14:52:48 -0500 Subject: [Mailman-Users] finding moderators of a list In-Reply-To: References: Message-ID: <4F469910.6080308@wingfoot.org> On 2/23/12 2:35 PM, Mark Sapiro wrote: > Hone, Don wrote: > >> Is there a way as list owner or as system admin, to sort a mailman >> membership list based on whether someone's moderation flag is set, >> or perhaps export that list into a format that includes all of the >> various option columns that could then dump into Excel? We have a >> list of over 700 members and it would take some time to click >> through and look at each page manually to find out who has the Mod >> box unchecked. > > > See and > (mirrored at > and > ). > D'oh. I misread that as "someone who is a moderator" not "someone who is moderated" :) --Glenn From hone at ohio.edu Thu Feb 23 20:57:21 2012 From: hone at ohio.edu (Hone, Don) Date: Thu, 23 Feb 2012 14:57:21 -0500 Subject: [Mailman-Users] finding moderators of a list In-Reply-To: References: <05D7DE477FE818429792EFFFC43DEBB412732D4863@EXMAIL1.ohio.edu> Message-ID: <05D7DE477FE818429792EFFFC43DEBB412732D4894@EXMAIL1.ohio.edu> Thanks for the solution and for reading past my mistake in the subject line. Don Hone Office of Information Technology Ohio University > -----Original Message----- > From: Mark Sapiro [mailto:mark at msapiro.net] > Sent: Thursday, February 23, 2012 2:35 PM > To: Hone, Don; Mailman-Users at python.org > Subject: Re: [Mailman-Users] finding moderators of a list > > Hone, Don wrote: > > >Is there a way as list owner or as system admin, to sort a mailman > membership list based on whether someone's moderation flag is set, or > perhaps export that list into a format that includes all of the various > option columns that could then dump into Excel? We have a list of > over 700 members and it would take some time to click through and look > at each page manually to find out who has the Mod box unchecked. > > > See and > (mirrored at > and > ). > > -- > Mark Sapiro The highway is for gamblers, > San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Thu Feb 23 21:02:11 2012 From: mark at msapiro.net (Mark Sapiro) Date: Thu, 23 Feb 2012 12:02:11 -0800 Subject: [Mailman-Users] finding moderators of a list In-Reply-To: <4F469910.6080308@wingfoot.org> Message-ID: Glenn Sieb wrote: > >D'oh. I misread that as "someone who is a moderator" not "someone who is >moderated" :) Not surprising since the Subject: said moderators, not moderated. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From manuelweiel at gmx.de Thu Feb 23 21:05:03 2012 From: manuelweiel at gmx.de (Manuel Weiel) Date: Thu, 23 Feb 2012 21:05:03 +0100 Subject: [Mailman-Users] iPhone App for moderating mails In-Reply-To: References: Message-ID: <542E2074-9923-40EE-BB97-DA883277BAA8@gmx.de> Am 09.02.2012 um 19:25 schrieb Manuel Weiel: > > Am 09.02.2012 um 19:15 schrieb Mark Sapiro: > >> Manuel Weiel wrote: >>> >>> If you don't select the advanced settings, the program tries to detect the right mailman configuration and uses this: >>> >>> if your mail address is test at example.com, it will set the url to http://example.com/mailman/ and the list name to test_example.com. >> >> >> Note that the list name test_example.com implies the Mailman >> installation is cPanel. In non-cPanel Mailman, the list name will >> usually be just 'test'. > That is a good hint. I did notice, that also 'test' seems to be common. But I did not know in which case what list name is used. In the next update, I will test both when advanced is not checked (should not be that hard...) I've released an updated, that checks both common list names (test and test_example.com in this example), clarifies the settings and fixes some small things. Also it allows the reordering of lists. The update is now live in the AppStore. http://cl.ly/DyCl I'm currently working on adding the ability to add people to the list (including address-book support) and also modifying/deleting someone. Best regards, Manuel Weiel >> >> -- >> Mark Sapiro The highway is for gamblers, >> San Francisco Bay Area, California better use your sense - B. Dylan >> > > ------------------------------------------------------ > Mailman-Users mailing list Mailman-Users at 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/manuelweiel%40gmx.de From pennguin at mac.com Thu Feb 23 21:07:13 2012 From: pennguin at mac.com (Rob McLear) Date: Thu, 23 Feb 2012 15:07:13 -0500 Subject: [Mailman-Users] iPhone App for moderating mails In-Reply-To: <542E2074-9923-40EE-BB97-DA883277BAA8@gmx.de> References: <542E2074-9923-40EE-BB97-DA883277BAA8@gmx.de> Message-ID: On Feb 23, 2012, at 3:05 PM, Manuel Weiel wrote: > > I've released an updated, that checks both common list names (test and test_example.com in this example), clarifies the settings and fixes some small things. > Also it allows the reordering of lists. > > The update is now live in the AppStore. > http://cl.ly/DyCl > > I'm currently working on adding the ability to add people to the list (including address-book support) and also modifying/deleting someone. > > Best regards, > Manuel Weiel > > Keep up the great work, I'm using the app daily now! -Rob From pc2a at pi4cc.nl Thu Feb 23 21:25:48 2012 From: pc2a at pi4cc.nl (Peter) Date: Thu, 23 Feb 2012 21:25:48 +0100 Subject: [Mailman-Users] No archive Message-ID: <4F46A0CC.4030305@pi4cc.nl> Hi I did upgrade from Debian5 to 6 and running mailman version 2.1.13 I have postfix running with aliases in mysql. I move the aliases tabel to the new server To move the list to the new server did the next steps: newlist ping, give the needed info, add the members. Then I import the old mbox files and create the archive with: bin/arch ping archives/private/ping.mbox/ping.mbox So far so good. I can send and receive email to and receive them from the list. I see the old archive, BUT there are no new emails archieved anymore While creating the newlist I saw on the end to at the the aliass tabel: ping: "|/var/lib/mailman/mail/mailman post ping" ping-admin: "|/var/lib/mailman/mail/mailman admin ping" ping-bounces: "|/var/lib/mailman/mail/mailman bounces ping" ping-confirm: "|/var/lib/mailman/mail/mailman confirm ping" ping-join: "|/var/lib/mailman/mail/mailman join ping" ping-leave: "|/var/lib/mailman/mail/mailman leave ping" ping-owner: "|/var/lib/mailman/mail/mailman owner ping" ping-request: "|/var/lib/mailman/mail/mailman request ping" ping-subscribe: "|/var/lib/mailman/mail/mailman subscribe ping" ping-unsubscribe: "|/var/lib/mailman/mail/mailman unsubscribe ping" But how can I handle this in mysql? I use the old style: ping at example.com ping at lists.example.com ping-admin at example.com ping-admin at lists.example.com ping-bounces at example.com ping-bounces at lists.example.com ping-confirm at example.com ping-confirm at lists.example.com ping-join at example.com ping-join at lists.example.com ping-leave at example.com ping-leave at lists.example.com ping-owner at example.com ping-owner at lists.example.com ping-request at example.com ping-request at lists.example.com ping-subscribe at example.com ping-subscribe at lists.example.com ping-unsubscribe at example.com ping-unsubscribe at lists.example.com Has this a relation with the no archiving at the moment? peter From mark at msapiro.net Fri Feb 24 08:18:07 2012 From: mark at msapiro.net (Mark Sapiro) Date: Thu, 23 Feb 2012 23:18:07 -0800 Subject: [Mailman-Users] No archive In-Reply-To: <4F46A0CC.4030305@pi4cc.nl> Message-ID: Peter wrote: > >I did upgrade from Debian5 to 6 and running mailman version 2.1.13 >I have postfix running with aliases in mysql. >I move the aliases tabel to the new server >To move the list to the new server did the next steps: >newlist ping, give the needed info, add the members. > >Then I import the old mbox files and create the archive with: > bin/arch ping archives/private/ping.mbox/ping.mbox > >So far so good. >I can send and receive email to and receive them from the list. >I see the old archive, BUT there are no new emails archieved anymore Have you checked whether ArchRunner is running and looked at Mailman's error log? >While creating the newlist I saw on the end to at the the aliass tabel: >ping: "|/var/lib/mailman/mail/mailman post ping" >ping-admin: "|/var/lib/mailman/mail/mailman admin ping" >ping-bounces: "|/var/lib/mailman/mail/mailman bounces ping" >ping-confirm: "|/var/lib/mailman/mail/mailman confirm ping" >ping-join: "|/var/lib/mailman/mail/mailman join ping" >ping-leave: "|/var/lib/mailman/mail/mailman leave ping" >ping-owner: "|/var/lib/mailman/mail/mailman owner ping" >ping-request: "|/var/lib/mailman/mail/mailman request ping" >ping-subscribe: "|/var/lib/mailman/mail/mailman subscribe ping" >ping-unsubscribe: "|/var/lib/mailman/mail/mailman unsubscribe ping" > >But how can I handle this in mysql? > >I use the old style: >ping at example.com ping at lists.example.com >ping-admin at example.com ping-admin at lists.example.com >ping-bounces at example.com ping-bounces at lists.example.com >ping-confirm at example.com ping-confirm at lists.example.com >ping-join at example.com ping-join at lists.example.com >ping-leave at example.com ping-leave at lists.example.com >ping-owner at example.com ping-owner at lists.example.com >ping-request at example.com ping-request at lists.example.com >ping-subscribe at example.com ping-subscribe at lists.example.com >ping-unsubscribe at example.com ping-unsubscribe at lists.example.com You could see the FAQ at for some hints. Also, see the FAQ at . >Has this a relation with the no archiving at the moment? No. It is not related. Aliases and other Postfix configuration mostly has to do with delivery of incoming mail to Mailman. It can also have an effect on outgoing mail from Mailman, but this generally at least works if Postfix is working at all. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Fri Feb 24 08:33:37 2012 From: mark at msapiro.net (Mark Sapiro) Date: Thu, 23 Feb 2012 23:33:37 -0800 Subject: [Mailman-Users] mailman and virtual mailboxes on same domain In-Reply-To: <1725bb2bc322da382dbf5a889b4db625@webmail.tengu.ch> Message-ID: C?dric Jeanneret wrote: > >I'm having big troubles with a special setup: > >one server, one domain (say foo.bar.com), virtual mailboxes (managed by >ldap), and a mailman > >I'm using postfix and dovecot for the "standard" mail part, and this >works well. My problem is for mailman: > >While trying to send email to my-list at foo.bar.com, postfix tells me >this: > >Feb 23 09:49:25 sqdf3 postfix/smtpd[14760]: connect from myHost[myIP] >Feb 23 09:49:25 sqdf3 postfix/smtpd[14760]: 1CAECBE69AC: >client=myHost[myIP] >Feb 23 09:49:25 sqdf3 postfix/cleanup[14765]: 1CAECBE69AC: >message-id=<20120223084925.0B86537AAEF at mail.myhost> >Feb 23 09:49:25 sqdf3 postfix/qmgr[14759]: 1CAECBE69AC: >from=, size=513, nrcpt=1 (queue active) >Feb 23 09:49:25 sqdf3 postfix/smtpd[14760]: disconnect from >myHost[myIP] >Feb 23 09:49:25 sqdf3 postfix/virtual[14766]: 1CAECBE69AC: >to=<|/var/lib/mailman/mail/mailman post my-list at foo.bar.com>, >orig_to=, relay=virtual, delay=0.03, >delays=0.02/0/0/0.01, dsn=5.1.1, status=bounced (unknown user: >"|/var/lib/mailman/mail/mailman post my-list at foo.bar.com") So you have an alias in a virtual mapping. Aliases only work with 'local' delivery. [...] >transport_maps = hash:/etc/postfix/transport > >virtual_transport = virtual >virtual_transport_maps = hash:/etc/postfix/transport What is this for? >virtual_alias_maps = hash:/etc/aliases, >ldap:/etc/postfix/ldap-aliases.cf, hash:/etc/postfix/virtual /etc/aliases is not in the correct format for virtual_alias_maps. It should not be there. >virtual_alias_mbox = ldap:/etc/postfix/ldap-mbox.cf >virtual_mailbox_maps = ldap:/etc/postfix/ldap-accounts.cf >virtual_gid_maps = static:104 >virtual_minimum_uid = 8 >virtual_uid_maps = static:8 >virtual_mailbox_domains = foo.bar.com >virtual_mailbox_base = / >mailman_destination_recipient_limit = 1 >smtpd_sasl_type = dovecot > > >The virtual user delivery works just fine. Here's a sniped of my >transport hash: >my-list at foo.bar.com mailman: So mail to my-list at foo.bar.com should use a 'mailman' transport, presumably defined in master.cf as postfix_to_mailman.py. If you want to use this, there should be no aliases for Mailman at all there should only be transport maps entries of the form my-list at foo.bar.com mailman: my-list-admin at foo.bar.com mailman: my-list-bounces at foo.bar.com mailman: etc. A total of 10 per list since non-list mail for this domain should be handled by the 'virtual' transport. The FAQ at may help. >@foo.bar.com virtual: > >Any help is welcome, if you need any other information regarding the >postfix configuration, please ask - I'm pretty sure it's obvious, but I >must be blind :(. > >Mailman version: 1:2.1.13-5 (on debian squeeze) >Postfix version: 2.7.1-1+squeeze1 >Dovecot version: 1:1.2.15-7 Please also see the FAQ at . -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From pc2a at pi4cc.nl Fri Feb 24 15:01:28 2012 From: pc2a at pi4cc.nl (Peter) Date: Fri, 24 Feb 2012 15:01:28 +0100 Subject: [Mailman-Users] No archive In-Reply-To: References: Message-ID: <4F479838.8010502@pi4cc.nl> Mark Sapiro schreef: > Peter wrote: > >> I did upgrade from Debian5 to 6 and running mailman version 2.1.13 >> I have postfix running with aliases in mysql. >> I move the aliases tabel to the new server >> To move the list to the new server did the next steps: >> newlist ping, give the needed info, add the members. >> >> Then I import the old mbox files and create the archive with: >> bin/arch ping archives/private/ping.mbox/ping.mbox >> >> So far so good. >> I can send and receive email to and receive them from the list. >> I see the old archive, BUT there are no new emails archieved anymore >> > > > Have you checked whether ArchRunner is running and looked at Mailman's > error log? > > > Oops, first thing to check and i has done that. \Found the error: IOError: [Errno 13] Permission denied: '/var/lib/mailman/archives/private/ping.mbox/ping.mbox' That clear! Check the new list and Debian6 set users to root:www-data. I changed it tot list:www-data and now added to the archive Thanks Peter From montoliu at cnb.csic.es Sat Feb 25 12:24:03 2012 From: montoliu at cnb.csic.es (Lluis Montoliu) Date: Sat, 25 Feb 2012 12:24:03 +0100 Subject: [Mailman-Users] digest-mode not functioning properly In-Reply-To: References: Message-ID: <20120225122403.945910kpk1iyrjdf@webmail.csic.es> Dear Mark, dear listers, I responded much too quickly that the issues with digest-mode were fixed. In reality they are not fixed, they reproduced and it is being a pain. In collaboration with our host, we have cleared, several times, the buffer, discarding repeteadly volumes (to get rid of potentially offending messages), reinitiate the mailman several times (in case it would be frozen somehow) and, still, is not sending any volume daily or when it reaches 250 kb, as it should, according to current settings. We have set new lists in the server and they seem to work normally, distributing volumes daily, as they should. The problems seems to be associated with these two lists, one with 600 other with 1700 registered members. Most of the 600 email addresses are also represented in the 1700 ones. The only way we found it can work is by triggering, daily, manually, from administrative panel, the distribution of a new volume digest, if it is not empty. This works, nicely, and the digests are distributed normally and do not appear to have any problem. Of course, as you can imagine, this is suboptimal and it is not an acceptable solution. Even though we use a dedicated web server this is administered by host and, thus, we have no root privileges and our administrator, at the hosting, is not able to provide any additional help beyond clearing volumes or reinitiating mailman nor it would allow us to access the mailman folder to explore for any additional problems. The found an email address they thought was causing some problems, although it is a standard email address used normally by his owner outside mailman context. Nonetheless we removed this address, but problems continued. Could it be that we have still, somewhere, an email address, someone that is registered in both lists for digest mode, triggering these troubles and limiting the distribution of volumes? At hosting level they keep indicating that mailman is outdated, no longer maintained and that we should consider moving to other programs, like phplists, which I checked and doesn't do, at all, the same function as mailman. Phplist is for newsletter distributions not for email-based discussions, as mailman does nicely. I'm happy with mailman, and I'd like to keep using it but when I come across these troubles, like now, where it seems nothing can be done to fix this no-digest-volume-dispatching it is really disappointing. What else could I do? Thanks again for ideas or suggestions. best regards Lluis Quoting Mark Sapiro : > Lluis Montoliu wrote: > >> the two large list are not sending any digest-mode, with the exact >> same settings, even if I decrease the value to 256 or if I trigger >> sending a new digest dispatch right now, which does not happen. I'm >> totally amazed. I've seen the archives of mailman and, unfortunately, >> the problems with digest-mode appear to be rather common, many reports >> found, but not really solutions, at least, I could not find the one >> that will fix my bug. > > > There is almost certainly a message or messages in the > lists/LISTNAME/digest.mbox files for these lists that is causing an > exception to be thrown in the scrubber in it's attempt to process the > digest. > > Ask the hosting provider to look for relevant error messages and > tracebacks in Mailman's error log. > > You may have to have the hosting provider just move the > lists/LISTNAME/digest.mbox files aside and abandon the current > accumulated digests if the hosting provider can't do anything more > selective to find and fix the offending messages. > > -- > Mark Sapiro The highway is for gamblers, > San Francisco Bay Area, California better use your sense - B. Dylan > > From stephen at xemacs.org Sat Feb 25 15:32:08 2012 From: stephen at xemacs.org (Stephen J. Turnbull) Date: Sat, 25 Feb 2012 23:32:08 +0900 Subject: [Mailman-Users] digest-mode not functioning properly In-Reply-To: <20120225122403.945910kpk1iyrjdf@webmail.csic.es> References: <20120225122403.945910kpk1iyrjdf@webmail.csic.es> Message-ID: <87ty2fkmqf.fsf@uwakimon.sk.tsukuba.ac.jp> Lluis Montoliu writes: > At hosting level they keep indicating that mailman is outdated, no > longer maintained and that we should consider moving to other > programs Your hosting service is either really failing to do their homework, or outright lying to you. Mailman is very much maintained, although 21.1.14 is *very* stable, so almost all development activity is on Mailman 3. You should consider moving to a more honest and competent service. > >> the problems with digest-mode appear to be rather common, many reports > >> found, but not really solutions, at least, I could not find the one > >> that will fix my bug. Problems with digest mode that I can remember in about a decade of Mailman use and participation in these lists (and *never* experienced personally! just seen on the lists) generally are problems with the digest messages themselves, and the fact that Windows mail clients often do a horrible job of handling them. As far as I can remember, problems with collecting and sending digests are pretty rare, and usually due to misconfiguration. Such problems are usually quickly resolved if the Mailman admin has root. The principal cause of *ongoing* problems is that the Mailman admin doesn't have root, and the hosting service is either unable or unwilling to configure Mailman properly. Sorry I cannot be of more immediate help, but it really angers me that so many hosting services offer Mailman, and then turn around and cripple it with lack of support. From montoliu at cnb.csic.es Sat Feb 25 16:35:22 2012 From: montoliu at cnb.csic.es (Lluis Montoliu) Date: Sat, 25 Feb 2012 16:35:22 +0100 Subject: [Mailman-Users] digest-mode not functioning properly In-Reply-To: <87ty2fkmqf.fsf@uwakimon.sk.tsukuba.ac.jp> References: <20120225122403.945910kpk1iyrjdf@webmail.csic.es> <87ty2fkmqf.fsf@uwakimon.sk.tsukuba.ac.jp> Message-ID: <20120225163522.15321dmsbu5iojp6@webmail.csic.es> Thanks for support Stephen. I'm using version 2.1.11 and you've got it right. Our main problem is lack of access at root level, therefore we are limited to what we can do through the mailman admin panel and to suggest our hosting service to do this or that, which they can choose to do or not. The fact that two of my lists are experiencing these problems and not the rest suggest me that some email addresses that could be shared among the two could be the culprit. I'm investigating this. And, yes Windows-email clients can result in unexpected consequences. Also, heavily formatted messages, with complex signatures and graphics embedded. We recently discovered messages were either filtered or blocking the list because of that. Currently, problems can't be related to digest messages themselves, because when I trigger their distribution, manually, from admin panel, they are indeed distributed. Simply they are not distributed daily, or when they reach 256 kb, as current settings indicate and sort of keep accummulating messages in an endless manner. Very intriguing.... Lluis Quoting "Stephen J. Turnbull" : > Lluis Montoliu writes: > > > At hosting level they keep indicating that mailman is outdated, no > > longer maintained and that we should consider moving to other > > programs > > Your hosting service is either really failing to do their homework, or > outright lying to you. Mailman is very much maintained, although > 21.1.14 is *very* stable, so almost all development activity is on > Mailman 3. You should consider moving to a more honest and competent > service. > > > >> the problems with digest-mode appear to be rather common, many reports > > >> found, but not really solutions, at least, I could not find the one > > >> that will fix my bug. > > Problems with digest mode that I can remember in about a decade of > Mailman use and participation in these lists (and *never* experienced > personally! just seen on the lists) generally are problems with the > digest messages themselves, and the fact that Windows mail clients > often do a horrible job of handling them. As far as I can remember, > problems with collecting and sending digests are pretty rare, and > usually due to misconfiguration. Such problems are usually quickly > resolved if the Mailman admin has root. > > The principal cause of *ongoing* problems is that the Mailman admin > doesn't have root, and the hosting service is either unable or > unwilling to configure Mailman properly. > > Sorry I cannot be of more immediate help, but it really angers me that > so many hosting services offer Mailman, and then turn around and > cripple it with lack of support. > From cjeanneret at internux.ch Fri Feb 24 10:51:01 2012 From: cjeanneret at internux.ch (Cedric Jeanneret) Date: Fri, 24 Feb 2012 10:51:01 +0100 Subject: [Mailman-Users] mailman and virtual mailboxes on same domain In-Reply-To: References: <1725bb2bc322da382dbf5a889b4db625@webmail.tengu.ch> Message-ID: <20120224105101.2929efdc@cholatse.wrk.lsn.camptocamp.com> Oh, thanks a lot ! it's now working just fine :) Cheers, C. On Thu, 23 Feb 2012 23:33:37 -0800 Mark Sapiro wrote: > C?dric Jeanneret wrote: > > > >I'm having big troubles with a special setup: > > > >one server, one domain (say foo.bar.com), virtual mailboxes (managed by > >ldap), and a mailman > > > >I'm using postfix and dovecot for the "standard" mail part, and this > >works well. My problem is for mailman: > > > >While trying to send email to my-list at foo.bar.com, postfix tells me > >this: > > > >Feb 23 09:49:25 sqdf3 postfix/smtpd[14760]: connect from myHost[myIP] > >Feb 23 09:49:25 sqdf3 postfix/smtpd[14760]: 1CAECBE69AC: > >client=myHost[myIP] > >Feb 23 09:49:25 sqdf3 postfix/cleanup[14765]: 1CAECBE69AC: > >message-id=<20120223084925.0B86537AAEF at mail.myhost> > >Feb 23 09:49:25 sqdf3 postfix/qmgr[14759]: 1CAECBE69AC: > >from=, size=513, nrcpt=1 (queue active) > >Feb 23 09:49:25 sqdf3 postfix/smtpd[14760]: disconnect from > >myHost[myIP] > >Feb 23 09:49:25 sqdf3 postfix/virtual[14766]: 1CAECBE69AC: > >to=<|/var/lib/mailman/mail/mailman post my-list at foo.bar.com>, > >orig_to=, relay=virtual, delay=0.03, > >delays=0.02/0/0/0.01, dsn=5.1.1, status=bounced (unknown user: > >"|/var/lib/mailman/mail/mailman post my-list at foo.bar.com") > > > So you have an alias in a virtual mapping. Aliases only work with > 'local' delivery. > > > [...] > >transport_maps = hash:/etc/postfix/transport > > > >virtual_transport = virtual > >virtual_transport_maps = hash:/etc/postfix/transport > > > What is this for? > > > > >virtual_alias_maps = hash:/etc/aliases, > >ldap:/etc/postfix/ldap-aliases.cf, hash:/etc/postfix/virtual > > > /etc/aliases is not in the correct format for virtual_alias_maps. It > should not be there. > > > >virtual_alias_mbox = ldap:/etc/postfix/ldap-mbox.cf > >virtual_mailbox_maps = ldap:/etc/postfix/ldap-accounts.cf > >virtual_gid_maps = static:104 > >virtual_minimum_uid = 8 > >virtual_uid_maps = static:8 > >virtual_mailbox_domains = foo.bar.com > >virtual_mailbox_base = / > >mailman_destination_recipient_limit = 1 > >smtpd_sasl_type = dovecot > > > > > >The virtual user delivery works just fine. Here's a sniped of my > >transport hash: > >my-list at foo.bar.com mailman: > > > So mail to my-list at foo.bar.com should use a 'mailman' transport, > presumably defined in master.cf as postfix_to_mailman.py. If you want > to use this, there should be no aliases for Mailman at all there > should only be transport maps entries of the form > > my-list at foo.bar.com mailman: > my-list-admin at foo.bar.com mailman: > my-list-bounces at foo.bar.com mailman: > etc. A total of 10 per list since non-list mail for this domain should > be handled by the 'virtual' transport. The FAQ at > may help. > > > >@foo.bar.com virtual: > > > >Any help is welcome, if you need any other information regarding the > >postfix configuration, please ask - I'm pretty sure it's obvious, but I > >must be blind :(. > > > >Mailman version: 1:2.1.13-5 (on debian squeeze) > >Postfix version: 2.7.1-1+squeeze1 > >Dovecot version: 1:1.2.15-7 > > > Please also see the FAQ at . > From mark at msapiro.net Sat Feb 25 19:53:37 2012 From: mark at msapiro.net (Mark Sapiro) Date: Sat, 25 Feb 2012 10:53:37 -0800 Subject: [Mailman-Users] digest-mode not functioning properly In-Reply-To: <20120225163522.15321dmsbu5iojp6@webmail.csic.es> Message-ID: Lluis Montoliu wrote: > >The fact that two of my lists are experiencing these problems and not >the rest suggest me that some email addresses that could be shared >among the two could be the culprit. I'm investigating this. This doesn't seem likely. >Currently, problems can't be related to digest messages themselves, >because when I trigger their distribution, manually, from admin panel, >they are indeed distributed. Simply they are not distributed daily, or >when they reach 256 kb, as current settings indicate and sort of keep >accummulating messages in an endless manner. It is difficult to imagine what could be causing this. Digests are working as expected for some lists so cron/senddigests is running. Digests can be sent manually from the web admin GUI for the affected lists only they are not sent periodically (via cron/senddigests) or when triggered on size. This is very mysterious. You could try to go to the web admin Digest options page for the affected lists and set digestable to No and Submit Your Changes. This will produce a warning about digest members not receiving mail which you can ignore. Then set digestable back to Yes and Submit Your Changes again. This entire process should have no net effect, but it may clear some strange condition if there is one. It is unfortunate that the hosting service isn't more interested. They say Mailman is outdated, yet there are releases from 2.1.12 through 2.1.14 that are significantly newer than the 2.1.11 release they are running. In any case, if you could get them to look at Mailman's error log to see if there are any errors related to these digests, maybe we could figure out what's going on. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From montoliu at cnb.csic.es Sat Feb 25 21:25:42 2012 From: montoliu at cnb.csic.es (Lluis Montoliu) Date: Sat, 25 Feb 2012 21:25:42 +0100 Subject: [Mailman-Users] digest-mode not functioning properly In-Reply-To: References: Message-ID: <20120225212542.21214f2sw2sn08ue@webmail.csic.es> Thanks Mark, just tried what you suggested, and toggled off and back on the digestable options. Will see how it goes on the next couple of days, whether digest will be dispatched automatically or not. Found only 13 addresses shared by the two lists from users that had selected digest-mode. None of these addresses is associated with bounces or known unexpected behaviour, therefore you are probably right, and these are not the cause. In addition, will try convincing my hosting to upgrade our mailman installation to 2.1.14. Will let you know. Lluis Quoting Mark Sapiro : > Lluis Montoliu wrote: >> >> The fact that two of my lists are experiencing these problems and not >> the rest suggest me that some email addresses that could be shared >> among the two could be the culprit. I'm investigating this. > > > This doesn't seem likely. > > >> Currently, problems can't be related to digest messages themselves, >> because when I trigger their distribution, manually, from admin panel, >> they are indeed distributed. Simply they are not distributed daily, or >> when they reach 256 kb, as current settings indicate and sort of keep >> accummulating messages in an endless manner. > > > It is difficult to imagine what could be causing this. Digests are > working as expected for some lists so cron/senddigests is running. > Digests can be sent manually from the web admin GUI for the affected > lists only they are not sent periodically (via cron/senddigests) or > when triggered on size. This is very mysterious. > > You could try to go to the web admin Digest options page for the > affected lists and set digestable to No and Submit Your Changes. This > will produce a warning about digest members not receiving mail which > you can ignore. Then set digestable back to Yes and Submit Your > Changes again. This entire process should have no net effect, but it > may clear some strange condition if there is one. > > It is unfortunate that the hosting service isn't more interested. They > say Mailman is outdated, yet there are releases from 2.1.12 through > 2.1.14 that are significantly newer than the 2.1.11 release they are > running. In any case, if you could get them to look at Mailman's error > log to see if there are any errors related to these digests, maybe we > could figure out what's going on. > > -- > Mark Sapiro The highway is for gamblers, > San Francisco Bay Area, California better use your sense - B. Dylan > > From jj5 at progclub.org Sun Feb 26 05:40:37 2012 From: jj5 at progclub.org (John Elliot) Date: Sun, 26 Feb 2012 15:40:37 +1100 Subject: [Mailman-Users] Link to web archive in footer Message-ID: <4F49B7C5.3060902@progclub.org> Hi there. I'm trying to configure my mailman msg_footer so that it includes a link to the pipermail message stored in the web archive. So that if I'm looking at a message in my inbox I can easily find a link to refer to that message. I've read the documentation concerning msg_footer but it only lists real_name, list_name, host_name, web_page_url, description, info and cgiext as available variables -- though I have learned there are in fact more than this available I do not know what they are or if they will help me. If there's no such variables available for the construction of a link to the list's web archive then I'd be interested in having a go at patching mailman so that such variables were in fact available in the environment, but I know next to nothing about programming in python so that might be a bit of a challenge for me (or not even possible for some technical reason, such as the email being sent before it is placed in the web archive and given and ID). Thanks in advance for any help on this. John. From mark at msapiro.net Sun Feb 26 08:23:08 2012 From: mark at msapiro.net (Mark Sapiro) Date: Sat, 25 Feb 2012 23:23:08 -0800 Subject: [Mailman-Users] Link to web archive in footer In-Reply-To: <4F49B7C5.3060902@progclub.org> References: <4F49B7C5.3060902@progclub.org> Message-ID: <4F49DDDC.4060607@msapiro.net> On 2/25/2012 8:40 PM, John Elliot wrote: > > I'm trying to configure my mailman msg_footer so that it includes a link > to the pipermail message stored in the web archive. So that if I'm > looking at a message in my inbox I can easily find a link to refer to > that message. In Mailman 2.1.x this cannot be done. Archiving is done by a separate, asynchronous process from that which creates the message footer. The process which creates the message footer has no way to know what the URL of the archived message will be. This will be done differently in Mailman 3. The archive URL will be calculated from the message itself so it will be possible to put a link to the archived message in the message, but this ability will not be available before Mailman 3. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From jj5 at progclub.org Sun Feb 26 09:17:05 2012 From: jj5 at progclub.org (John Elliot) Date: Sun, 26 Feb 2012 19:17:05 +1100 Subject: [Mailman-Users] Link to web archive in footer In-Reply-To: <4F49DDDC.4060607@msapiro.net> References: <4F49B7C5.3060902@progclub.org> <4F49DDDC.4060607@msapiro.net> Message-ID: <4F49EA81.2050805@progclub.org> On 2012-02-26 18:23, Mark Sapiro wrote: > In Mailman 2.1.x this cannot be done. Ah, I'd feared as much. > This will be done differently in Mailman 3. Good to know. I'll wait for Mailman 3. Thanks! From jj5 at progclub.org Tue Feb 28 09:14:40 2012 From: jj5 at progclub.org (John Elliot) Date: Tue, 28 Feb 2012 19:14:40 +1100 Subject: [Mailman-Users] Subscribing or accepting badly formatted email address Message-ID: <4F4C8CF0.2010901@progclub.org> I have a log distribution mailing list that receives email from various processes. One of the processes identifies itself as root at charity. I'm having a problem with SpamAssassin deciding that some of the mail from root at charity is spam, but I want mailman to accept mail from root at charity. I tried subscribing root at charity to the list so that it would get its 'member bonus' in the spam filtering system which would pretty much guarantee that it wouldn't get classed as spam but mailman won't let me subscribe the email address root at charity because it says it's a badly formed email address. Similarly I tried adding root at charity to accept_the_nonmembers in the sender filters section but again my settings wouldn't be accepted because mailman complained of a badly formed email address. I'm not sure that I can reconfigure the email address that the email gets sent from (and I know for sure I don't want to have to) so I'm wondering if someone could give me a tip about how I might get mailman to accept email from this badly formed sender address? From Brian.D.Atkins at uscg.mil Tue Feb 28 13:49:38 2012 From: Brian.D.Atkins at uscg.mil (Atkins, Brian CTR) Date: Tue, 28 Feb 2012 07:49:38 -0500 Subject: [Mailman-Users] Prepending previous message text to current message Message-ID: <4C28A2A176D4DF409D9DAB23460F10D210B17BC5@emo-exmb-m-201.main.ads.uscg.mil> I am having an issue with one of my more active lists whereby the previous message text is being prepended to the latest message. The odd thing is that the message, as it appears in the list archives is as it should be, though the message sent to the subscribers appears as thus: "This is the previous message sent." "This is the latest message." "List footer." The only anomaly I found with the list was a member with a malformed email address, "#user at domain.com". I have since removed the user yet messages continue to appear as I have described. On a related side note: is there a way to easily switch the nomail option for all list subscribers? This would greatly assist me in testing the issue without inundating the subscribers with test messages. Normally I would create a new list for testing, but since this is the only list that appears to have the issue, I need to test against this one. TIA. Brian From Brian.D.Atkins at uscg.mil Tue Feb 28 15:08:40 2012 From: Brian.D.Atkins at uscg.mil (Atkins, Brian CTR) Date: Tue, 28 Feb 2012 09:08:40 -0500 Subject: [Mailman-Users] Prepending previous message text to current message In-Reply-To: <4C28A2A176D4DF409D9DAB23460F10D210B17BC5@emo-exmb-m-201.main.ads.uscg.mil> References: <4C28A2A176D4DF409D9DAB23460F10D210B17BC5@emo-exmb-m-201.main.ads.uscg.mil> Message-ID: <4C28A2A176D4DF409D9DAB23460F10D210B51808@emo-exmb-m-201.main.ads.uscg.mil> Never mind. My boneheaded mistake. They changed the header for non-digest users. -----Original Message----- From: mailman-users-bounces+brian.d.atkins=uscg.mil at python.org [mailto:mailman-users-bounces+brian.d.atkins=uscg.mil at python.org] On Behalf Of Atkins, Brian CTR Sent: Tuesday, February 28, 2012 7:50 AM To: mailman-users at python.org Subject: [Mailman-Users] Prepending previous message text to current message I am having an issue with one of my more active lists whereby the previous message text is being prepended to the latest message. The odd thing is that the message, as it appears in the list archives is as it should be, though the message sent to the subscribers appears as thus: "This is the previous message sent." "This is the latest message." "List footer." The only anomaly I found with the list was a member with a malformed email address, "#user at domain.com". I have since removed the user yet messages continue to appear as I have described. On a related side note: is there a way to easily switch the nomail option for all list subscribers? This would greatly assist me in testing the issue without inundating the subscribers with test messages. Normally I would create a new list for testing, but since this is the only list that appears to have the issue, I need to test against this one. TIA. Brian ------------------------------------------------------ Mailman-Users mailing list Mailman-Users at 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/brian.d.atkins%40uscg.mil From rosenbaumlm at ornl.gov Tue Feb 28 15:49:53 2012 From: rosenbaumlm at ornl.gov (Rosenbaum, Larry M.) Date: Tue, 28 Feb 2012 09:49:53 -0500 Subject: [Mailman-Users] Group mismatch error (mail wrapper script) Message-ID: I'm migrating Mailman to a new server and getting the following error when I send mail to a list: #5.3.0 x-unix; Group mismatch error. Mailman expected the mail wrapper script to be executed as one of the following groups: [mail, postfix, mailman, nobody, daemon], but the system's mail server executed the mail script as group: "users". Try tweaking the mail server to run the script as one of these groups: [mail, postfix, mailman, nobody, daemon], or re-run configure providing the command line option: '--with-mail-gid=users'.> Where do I need to look for the error? Running Mailman 2.1.14 on RHEL6 with Postfix. Larry M. Rosenbaum Oak Ridge National Laboratory From mark at msapiro.net Tue Feb 28 17:59:49 2012 From: mark at msapiro.net (Mark Sapiro) Date: Tue, 28 Feb 2012 08:59:49 -0800 Subject: [Mailman-Users] Prepending previous message text to current message In-Reply-To: <4C28A2A176D4DF409D9DAB23460F10D210B17BC5@emo-exmb-m-201.main.ads.uscg.mil> Message-ID: Atkins, Brian CTR wrote: > >On a related side note: is there a way to easily switch the nomail option for all list subscribers? The script at can set all subscribers to no mail, but setting everyone back the way they were is a problem. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From Brian.D.Atkins at uscg.mil Tue Feb 28 18:05:25 2012 From: Brian.D.Atkins at uscg.mil (Atkins, Brian CTR) Date: Tue, 28 Feb 2012 12:05:25 -0500 Subject: [Mailman-Users] Prepending previous message text to current message In-Reply-To: References: <4C28A2A176D4DF409D9DAB23460F10D210B17BC5@emo-exmb-m-201.main.ads.uscg.mil> Message-ID: <4C28A2A176D4DF409D9DAB23460F10D210B51E2B@emo-exmb-m-201.main.ads.uscg.mil> Very cool. Thanks, Mark. Helpful as always. -----Original Message----- From: mark at msapiro.net [mailto:mark at msapiro.net] Sent: Tuesday, February 28, 2012 12:00 PM To: Atkins, Brian CTR; mailman-users at python.org Subject: Re: [Mailman-Users] Prepending previous message text to current message Atkins, Brian CTR wrote: > >On a related side note: is there a way to easily switch the nomail option for all list subscribers? The script at can set all subscribers to no mail, but setting everyone back the way they were is a problem. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Tue Feb 28 18:10:20 2012 From: mark at msapiro.net (Mark Sapiro) Date: Tue, 28 Feb 2012 09:10:20 -0800 Subject: [Mailman-Users] Group mismatch error (mail wrapper script) In-Reply-To: Message-ID: Rosenbaum, Larry M. wrote: >#5.3.0 x-unix; Group mismatch error. Mailman expected the mail wrapper script to be executed as one of the following groups: [mail, postfix, mailman, nobody, daemon], but the system's mail server executed the mail script as group: "users". Try tweaking the mail server to run the script as one of these groups: [mail, postfix, mailman, nobody, daemon], or re-run configure providing the command line option: '--with-mail-gid=users'.> > >Where do I need to look for the error? > >Running Mailman 2.1.14 on RHEL6 with Postfix. With Postfix, assuming you are using aliases, Postfix invokes the delivery pipe as the user (and that user's primary group) who owns the aliases.db file in which the alias was found. If you have the recommended Postfix-Mailman integration, and RHEL file locations, this means /etc/mailman/aliases.db should be owned by 'mailman' See the FAQs at and . -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From rosenbaumlm at ornl.gov Tue Feb 28 18:12:33 2012 From: rosenbaumlm at ornl.gov (Rosenbaum, Larry M.) Date: Tue, 28 Feb 2012 12:12:33 -0500 Subject: [Mailman-Users] Group mismatch error (mail wrapper script) In-Reply-To: References: Message-ID: > From: Mark Sapiro [mailto:mark at msapiro.net] > > Rosenbaum, Larry M. wrote: > > >#5.3.0 x-unix; Group mismatch error. Mailman expected the mail wrapper > script to be executed as one of the following groups: [mail, postfix, > mailman, nobody, daemon], but the system's mail server executed the mail > script as group: "users". Try tweaking the mail server to run the script > as one of these groups: [mail, postfix, mailman, nobody, daemon], or re- > run configure providing the command line option: '--with-mail-gid=users'.> > > > >Where do I need to look for the error? > > > >Running Mailman 2.1.14 on RHEL6 with Postfix. > > > With Postfix, assuming you are using aliases, Postfix invokes the > delivery pipe as the user (and that user's primary group) who owns the > aliases.db file in which the alias was found. > > If you have the recommended Postfix-Mailman integration, and RHEL file > locations, this means /etc/mailman/aliases.db should be owned by > 'mailman' Thanks for the information. "check_perms -f" fixed it. From mark at msapiro.net Tue Feb 28 18:39:09 2012 From: mark at msapiro.net (Mark Sapiro) Date: Tue, 28 Feb 2012 09:39:09 -0800 Subject: [Mailman-Users] Subscribing or accepting badly formatted emailaddress In-Reply-To: <4F4C8CF0.2010901@progclub.org> Message-ID: John Elliot wrote: >I'm wondering if someone could give me a tip about how I >might get mailman to accept email from this badly formed sender address? The following is an interactive withlist session that will add the member. [mark at sbh16 ~]$ mmp/bin/withlist -l gpc-test Loading list gpc-test (locked) The variable `m' is the gpc-test MailList instance >>> m.addNewMember('bogus at somewhere') >>> m.Save() >>> Unlocking (but not saving) list: gpc-test Finalizing [mark at sbh16 ~]$ The entry following the third >>> prompt is a control-D, EOF. Of course, you will use your own list name and path to Mailman's bin/ directory, and after adding the member, you will probably want to go to the list admin membership list and set it to nomail. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From frank.bell at washburn.edu Wed Feb 29 16:54:43 2012 From: frank.bell at washburn.edu (Frank Bell) Date: Wed, 29 Feb 2012 09:54:43 -0600 Subject: [Mailman-Users] A list is rejected by email server after migration Message-ID: <4F4E4A43.2020909@washburn.edu> After an upgrade last night all our lists can send email except one. It is rejected by the smtp server it says that address does not exist. The mailman page for the list exists, the mbox file exists Any thoughts on what went wrong and how to fix it? (just happens to be the iss-directors list) -- Thank you, Frank Bell Application Systems Admin ISS 785-670-2334 1 Cor 15:10 "By the grace of God I am what I am, and His grace toward me was not in vain . . .." From rosenbaumlm at ornl.gov Wed Feb 29 17:24:57 2012 From: rosenbaumlm at ornl.gov (Rosenbaum, Larry M.) Date: Wed, 29 Feb 2012 11:24:57 -0500 Subject: [Mailman-Users] Files that contain the hostname? Message-ID: Are there any Mailman files that contain the hostname other than list-specific files and mm_cfg.py? Thanks, Larry M. Rosenbaum Oak Ridge National Laboratory From stephen at xemacs.org Wed Feb 29 18:13:54 2012 From: stephen at xemacs.org (Stephen J. Turnbull) Date: Thu, 01 Mar 2012 02:13:54 +0900 Subject: [Mailman-Users] A list is rejected by email server after migration In-Reply-To: <4F4E4A43.2020909@washburn.edu> References: <4F4E4A43.2020909@washburn.edu> Message-ID: <874nu9lfzh.fsf@uwakimon.sk.tsukuba.ac.jp> Frank Bell writes: > After an upgrade last night all our lists can send email except one. > It is rejected by the smtp server it says that address does not exist. > The mailman page for the list exists, the mbox file exists > Any thoughts on what went wrong and how to fix it? (just happens to be > the iss-directors list) While this is probably not the best place to get help for this problem -- it's almost surely *not* a *Mailman* problem -- we will give it a try. But we need to know what exactly was upgraded and migrated, from where to where? Especially, which MTA(s) is (are) used at your site by hosts involved in list post distribution. And what address is being rejected by what server. (Feel free to post the entire rejection message. That's best. If necessary you can redact information that needs to be private, but that may make diagnosis inaccurate.) Specifically, if the SMTP server says the address doesn't exist, the problem is in the MTA configuration. The first thing to do is to check for a typo in the aliases for the MTA. The second is that some MTAs (Exim, for one) support "automatic" aliases based on certain conditions that can include the presence of config files and the like. Perhaps a prerequisite for auto-aliasing is missing for that list. There are other possibilities but those are the first ones off the top of my head. From mark at msapiro.net Wed Feb 29 18:17:11 2012 From: mark at msapiro.net (Mark Sapiro) Date: Wed, 29 Feb 2012 09:17:11 -0800 Subject: [Mailman-Users] A list is rejected by email server after migration In-Reply-To: <4F4E4A43.2020909@washburn.edu> Message-ID: Frank Bell wrote: > >After an upgrade last night all our lists can send email except one. >It is rejected by the smtp server it says that address does not exist. >The mailman page for the list exists, the mbox file exists >Any thoughts on what went wrong and how to fix it? (just happens to be >the iss-directors list) What is your MTA? How does it know about lists? Does it use aliases? Are aliases installed for the failing list? Does mail to the list get delivered? What is the exact error message from the SMTP server? -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From frank.bell at washburn.edu Wed Feb 29 18:21:17 2012 From: frank.bell at washburn.edu (Frank Bell) Date: Wed, 29 Feb 2012 11:21:17 -0600 Subject: [Mailman-Users] A list is rejected by email server after migration In-Reply-To: <874nu9lfzh.fsf@uwakimon.sk.tsukuba.ac.jp> References: <4F4E4A43.2020909@washburn.edu> <874nu9lfzh.fsf@uwakimon.sk.tsukuba.ac.jp> Message-ID: <4F4E5E8D.1060203@washburn.edu> All, within the last ten minutes my linux sysadmin discovered that the mailman-aliases file at /etc/mail did not for some reason contain one or two entries. (yes after migration I ran genaliases ) Solution was: He brought the old mailman-aliases from the old server, copied the missing entries into the new mailman-aliasesand then ran newaliases Thanks for the response!! Thank you, Frank Bell Application Systems Admin ISS 785-670-2334 1 Cor 15:10 "By the grace of God I am what I am, and His grace toward me was not in vain . . .." On 2/29/2012 11:13 AM, Stephen J. Turnbull wrote: > Frank Bell writes: > > > After an upgrade last night all our lists can send email except one. > > It is rejected by the smtp server it says that address does not exist. > > The mailman page for the list exists, the mbox file exists > > Any thoughts on what went wrong and how to fix it? (just happens to be > > the iss-directors list) > > While this is probably not the best place to get help for this problem > -- it's almost surely *not* a *Mailman* problem -- we will give it a > try. But we need to know what exactly was upgraded and migrated, from > where to where? Especially, which MTA(s) is (are) used at your site > by hosts involved in list post distribution. And what address is > being rejected by what server. (Feel free to post the entire > rejection message. That's best. If necessary you can redact > information that needs to be private, but that may make diagnosis > inaccurate.) > > Specifically, if the SMTP server says the address doesn't exist, the > problem is in the MTA configuration. The first thing to do is to > check for a typo in the aliases for the MTA. The second is that some > MTAs (Exim, for one) support "automatic" aliases based on certain > conditions that can include the presence of config files and the like. > Perhaps a prerequisite for auto-aliasing is missing for that list. > There are other possibilities but those are the first ones off the top > of my head. From mark at msapiro.net Wed Feb 29 18:24:47 2012 From: mark at msapiro.net (Mark Sapiro) Date: Wed, 29 Feb 2012 09:24:47 -0800 Subject: [Mailman-Users] Files that contain the hostname? In-Reply-To: Message-ID: Rosenbaum, Larry M. wrote: >Are there any Mailman files that contain the hostname other than list-specific files and mm_cfg.py? Hostnames are contained in the list attributes host_name and web_page_url in the respective lists/LISTNAME/config.pck files and in the DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST and add_virtualhost settings in Defaults.py, possibly overridden/augmented in mm_cfg.py. I think that's it. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From bsfinkel at att.net Wed Feb 29 22:06:00 2012 From: bsfinkel at att.net (Barry S, Finkel) Date: Wed, 29 Feb 2012 15:06:00 -0600 Subject: [Mailman-Users] A list is rejected by email server after migration In-Reply-To: <4F4E5E8D.1060203@washburn.edu> References: <4F4E4A43.2020909@washburn.edu> <874nu9lfzh.fsf@uwakimon.sk.tsukuba.ac.jp> <4F4E5E8D.1060203@washburn.edu> Message-ID: <4F4E9338.2080909@att.net> On 2/29/2012 11:21 AM, Frank Bell wrote: > All, within the last ten minutes my linux sysadmin discovered that the > mailman-aliases file at /etc/mail did not for some reason contain one > or two entries. (yes after migration I ran genaliases ) > > Solution was: > He brought the old mailman-aliases from the old server, > copied the missing entries into the new mailman-aliasesand > then ran newaliases > > Thanks for the response!! > > > Thank you, > Frank Bell > Application Systems Admin > ISS > 785-670-2334 > > > 1 Cor 15:10 > "By the grace of God I am what I am, and His grace toward me was not > in vain . . .." > > > On 2/29/2012 11:13 AM, Stephen J. Turnbull wrote: >> Frank Bell writes: >> >> > After an upgrade last night all our lists can send email except one. >> > It is rejected by the smtp server it says that address does not >> exist. >> > The mailman page for the list exists, the mbox file exists >> > Any thoughts on what went wrong and how to fix it? (just happens >> to be >> > the iss-directors list) >> >> While this is probably not the best place to get help for this problem >> -- it's almost surely *not* a *Mailman* problem -- we will give it a >> try. But we need to know what exactly was upgraded and migrated, from >> where to where? Especially, which MTA(s) is (are) used at your site >> by hosts involved in list post distribution. And what address is >> being rejected by what server. (Feel free to post the entire >> rejection message. That's best. If necessary you can redact >> information that needs to be private, but that may make diagnosis >> inaccurate.) >> >> Specifically, if the SMTP server says the address doesn't exist, the >> problem is in the MTA configuration. The first thing to do is to >> check for a typo in the aliases for the MTA. The second is that some >> MTAs (Exim, for one) support "automatic" aliases based on certain >> conditions that can include the presence of config files and the like. >> Perhaps a prerequisite for auto-aliasing is missing for that list. >> There are other possibilities but those are the first ones off the top >> of my head. > ------------------------------------------------------ > Mailman-Users mailing list Mailman-Users at 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/bsfinkel%40att.net > If you ran genaliases, and the alias file in use was incomplete, then I assume that genaliases is updating an alias file that is different than the alias file that your MTA is using. --Barry Finkel