From barry at list.org Sun May 1 01:03:08 2011 From: barry at list.org (Barry Warsaw) Date: Sat, 30 Apr 2011 19:03:08 -0400 Subject: [Mailman-Users] RELEASED: Mailman 3.0 alpha 7 In-Reply-To: References: <20110429173154.402e4386@neurotica.wooz.org> Message-ID: <20110430190308.59ca118a@neurotica.wooz.org> On Apr 30, 2011, at 11:15 AM, Odhiambo Washington wrote: >Now, on my FreeBSD 8.2 Server, I am eager to try this version out. > >I am following the steps. > >#bin/test -vv >[snip] >test_simple_wrap (mailman.utilities.tests.test_wrap.TestWrap) > test_two_paragraphs (mailman.utilities.tests.test_wrap.TestWrap) > Ran 134 tests with 0 failures and 0 errors in 0.581 seconds. >Tearing down left over layers: > Tear down zope.testrunner.layer.UnitTests in 0.000 seconds. > >Tests with errors: > Layer: mailman.testing.layers.ConfigLayer > Layer: mailman.testing.layers.SMTPLayer > Layer: mailman.testing.layers.RESTLayer >Total: 134 tests, 0 failures, 3 errors in 0.831 seconds. I'm seeing the same failure in a FreeBSD VM, but I don't understand it. I needed to install the Python sqlite3 port, and then $ python -c 'import sqlite3' works fine. But this still fails: $ bin/py >>> import sqlite3 It doesn't make much sense to me and my FreeBSD VM is pretty bare bones so I'm having a hard time figuring it out. My best advice would be to file a bug on Launchpad and we'll have to see if a FreeBSD expert can help us out. >mail# bin/docs >building docs for mailman ---> sphinx-build -q -c >/usr/local/mailman-3.0.0a7/parts/docs/mailman >/usr/local/mailman-3.0.0a7/src/mailman /usr/local >/mailman-3.0.0a7/parts/docs/mailman/build/mailman > >Extension error: >Could not import extension sphinxconf (exception: No module named >sphinxconf) >mail# > >What might be missing? Sorry, I don't know this one either, but I can reproduce it. :( -Barry -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: not available URL: From henry at dotrose.com Mon May 2 13:50:03 2011 From: henry at dotrose.com (Henry Hartley) Date: Mon, 02 May 2011 07:50:03 -0400 Subject: [Mailman-Users] Getting Spam from Banned Address Message-ID: <4DBE9A6B.10602@dotrose.com> I have a list that started getting a lot of spam from a particular address. Most of them get sent to moderation because of "Too many recipients" and they are easily dealt with. The address in question was an alternate address for one member and after speaking with him, we decided it would be OK to take the address off the list completely. I have done so but continue to receive spam from that address. The list has generic_nonmember_action set to discard but the messages continue to come in, although they still mostly go to moderation rather than the list. But I don't see how they are getting there. I tried adding the address to discard_these_nonmembers but that, too, seems to have no effect. Looking at the header of one of the message, however, and I see that although they show up as From that single banned address, there are multiple addresses in the From field. At least one other of the addresses is a valid list address. I assume that as long as at least one From address is valid, mailman will let it through the gate. Is that right? Should there be some setting to only let in mail with a single From address? I can't see any reason to allow multiple From values. Or possibly a setting that says "all From addresses must be on the list". Or am I missing something? -- Henry From andreas at rittershofer.de Sun May 1 16:59:52 2011 From: andreas at rittershofer.de (Andreas Rittershofer) Date: Sun, 1 May 2011 16:59:52 +0200 Subject: [Mailman-Users] Monthly reminder sent twice Message-ID: Some of my users are complaining that they receive the monthly reminder twice - and I have no idea what the problem could be. Viele Gr??e Andreas Rittershofer -- Hier k?nnte keine Signatur stehen. From mark at msapiro.net Mon May 2 17:05:40 2011 From: mark at msapiro.net (Mark Sapiro) Date: Mon, 2 May 2011 08:05:40 -0700 Subject: [Mailman-Users] Getting Spam from Banned Address In-Reply-To: <4DBE9A6B.10602@dotrose.com> Message-ID: Henry Hartley wrote: > >Looking at the header of one of the message, however, and I see that >although they show up as From that single banned address, there are >multiple addresses in the From field. At least one other of the >addresses is a valid list address. I assume that as long as at least one > From address is valid, mailman will let it through the gate. Is that >right? Yes, that is correct. Mailman considers a post to be from a member if an address in any place defined in SENDER_HEADERS is a list member. The default setting is SENDER_HEADERS = ('from', None, 'reply-to', 'sender') Which means that if any of the From: header, the envelope sender, the Reply-To: header or the Sender: header contains a member address, the post is considered to be from that member. >Should there be some setting to only let in mail with a single > From address? I can't see any reason to allow multiple From values. The message standards (RFC 822, RFC 2822 and RFC 5322) allow multiple addresses in From: headers. >Or >possibly a setting that says "all From addresses must be on the list". Perhaps that would be useful, but it doesn't currently exist. If this is your Mailman installation, you could try putting SENDER_HEADERS = (None,) in mm_cfg.py. This would say that the post is considered to be from a member only if the envelope sender is a member. This could potentially block legitimate mail From: a member with a non-member envelope sender, e.g. if user at example.com is a member and the message is From: user at example.com, but the envelope is from user at mail.example.com or users_alter_ego at example.com, but I suspect it might actually work OK, but you would need to set generic_nonmember_action to Hold or Reject rather than Discard, at least initially, to find the cases in which it doesn't work. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Mon May 2 17:23:02 2011 From: mark at msapiro.net (Mark Sapiro) Date: Mon, 02 May 2011 08:23:02 -0700 Subject: [Mailman-Users] Monthly reminder sent twice In-Reply-To: References: Message-ID: <4DBECC56.9000102@msapiro.net> On 5/1/2011 7:59 AM, Andreas Rittershofer wrote: > Some of my users are complaining that they receive the monthly reminder twice - and I have no idea what the problem could be. Either your Mailman installation is sending reminders twice, or some other backup, test, prior host, whatever Mailman installation is sending reminders. The first situation will occur if you install Mailman package that creates a 'system' crontab (e.g. /etc/cron.d/mailman) for mailman's cron jobs and you create a 'user' crontab (e.g. /var/spool/cron/mailman) for mailman's cron jobs. To see what is happening, you need to get copies of both reminder mails with all headers intact and examine the Received: headers to determine where the mail originates. Also, see the FAQ at . -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From henry at dotrose.com Mon May 2 18:45:54 2011 From: henry at dotrose.com (Henry Hartley) Date: Mon, 02 May 2011 12:45:54 -0400 Subject: [Mailman-Users] Getting Spam from Banned Address In-Reply-To: References: Message-ID: <4DBEDFC2.2000006@dotrose.com> On 5/2/2011 11:05 AM, Mark Sapiro wrote: > Henry Hartley wrote: >> >> possibly a setting that says "all From addresses must be on the list". > > Perhaps that would be useful, but it doesn't currently exist. Or at the least something that says if a specifically banned address is in the From field, then don't allow it. That might be simpler to impliment, and is more likely to always be the right thing to do. > If this is your Mailman installation, you could try putting > > SENDER_HEADERS = (None,) > > in mm_cfg.py. This would say that the post is considered to be from a > member only if the envelope sender is a member. I've done this. Thanks for the suggestion. I'll report back if that doesn't solve the problem but it seems like it should. It occurs to me that this is site-wide, however. Is that right? I have a half dozen lists so now does this apply to all of them? They are all small and it's probably OK, but I should know. -- Henry From mark at msapiro.net Mon May 2 22:52:59 2011 From: mark at msapiro.net (Mark Sapiro) Date: Mon, 02 May 2011 13:52:59 -0700 Subject: [Mailman-Users] Getting Spam from Banned Address In-Reply-To: <4DBEDFC2.2000006@dotrose.com> References: <4DBEDFC2.2000006@dotrose.com> Message-ID: <4DBF19AB.7010600@msapiro.net> On 5/2/11 9:45 AM, Henry Hartley wrote: > On 5/2/2011 11:05 AM, Mark Sapiro wrote: >> Henry Hartley wrote: >>> >>> possibly a setting that says "all From addresses must be on the list". >> >> Perhaps that would be useful, but it doesn't currently exist. > > Or at the least something that says if a specifically banned address is > in the From field, then don't allow it. That might be simpler to > impliment, and is more likely to always be the right thing to do. Actually, while standards allow multiple addresses in From:, I can see that they would be rare to non-existent in legitimate list posts. Possibly a hold along the lines of "Post contains multiple From: addresses.", either unconditional or enabled by a list setting would be a good thing. >> If this is your Mailman installation, you could try putting >> >> SENDER_HEADERS = (None,) >> >> in mm_cfg.py. This would say that the post is considered to be from a >> member only if the envelope sender is a member. > > I've done this. Thanks for the suggestion. I'll report back if that > doesn't solve the problem but it seems like it should. It occurs to me > that this is site-wide, however. Is that right? I have a half dozen > lists so now does this apply to all of them? They are all small and it's > probably OK, but I should know. > Yes, this is a global setting and affects all lists. My impression is that this will be pretty safe in most environments, i.e. most MUA's mail submission processes seem to set the envelope sender to the same address as From:, but there may be cases where this isn't true for legitimate list mail. I suspect if there are legitimate posts From: a list member with a non-member envelope sender, that the sender would be able to "fix" it. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California Better use your sense - B. Dylan From CNulk at scu.edu Mon May 2 23:30:55 2011 From: CNulk at scu.edu (C Nulk) Date: Mon, 02 May 2011 14:30:55 -0700 Subject: [Mailman-Users] Minor addition to Mailman/Cgi/options.py Message-ID: <4DBF228F.2070500@scu.edu> Hello all, Don't know if this small addition would be useful to anyone else but I will pass it along. A little explanation first. It seems our users have some difficulty in unsubscribing from the lists they are on. I know it is simple, yet I get a lot of email complaining the process is to difficult. The biggest issue I see is when the user puts in their email address then clicks the "unsubscribe or edit options" button and the user lands on the Options page. Apparently, the users see the password field and try a password and then find out it is not the correct one. The users just don't seem to read the page first which even tells the users to click the unsubscribe button if they are trying to unsubscribe. Well, they don't read, have problems, then email me that they have tried "everything" and it doesn't work. My solution was to modify the Mailman/Cgi/options.py file to add a line under the Password field telling the user to leave the password blank and click on the unsubscribe button. As I said, don't know if it will help anyone but if you have user's with problems reading, it might help. Below is a diff file with the changes. I modified the original file from Centos 5.6 (their mailman package is v2.1.9-6). If you are running a different version, take care when making any changes. --- options.py.original 2011-03-30 13:28:26.000000000 -0700 +++ options.py.SCU 2011-05-02 14:04:44.000000000 -0700 @@ -880,6 +880,10 @@ ptable.AddRow([Hidden('email', user)]) ptable.AddRow([Label(_('Password:')), PasswordBox('password', size=20)]) + # SCU added 20110502 - Start + ptable.AddRow([Label(_('')), + _("""If unsubscribing, leave Password blank and
click the 'Unsubscribe' button below.""")]) + # SCU added 20110502 - Finish ptable.AddRow([Center(SubmitButton('login', _('Log in')))]) ptable.AddCellInfo(ptable.GetCurrentRowIndex(), 0, colspan=2) table.AddRow([Center(ptable)]) Mark, if you think this is useful, let me know what I need to do to get it put into 2.1.15 (you are still working on) and / or 3.0+. Disclaimer: the change(s) I made works for me with my implementation of mailman. Your mileage may vary. Use at solely your own risk. Just because it worked for me, doesn't guarantee it will work for you. Thanks, Chris From tokio.kikuchi at gmail.com Tue May 3 02:39:55 2011 From: tokio.kikuchi at gmail.com (=?UTF-8?B?6I+K5Zyw5pmC5aSr?=) Date: Tue, 03 May 2011 09:39:55 +0900 Subject: [Mailman-Users] Getting Spam from Banned Address In-Reply-To: <4DBE9A6B.10602@dotrose.com> References: <4DBE9A6B.10602@dotrose.com> Message-ID: <4DBF4EDB.50406@gmail.com> Hi, (11/05/02 20:50), Henry Hartley wrote: > Looking at the header of one of the message, however, and I see that > although they show up as From that single banned address, there are > multiple addresses in the From field. At least one other of the > addresses is a valid list address. How about putting that spam address in header_filter_rules in private/spam interface and set it 'discard'. Spam filter regex might be look like: from:.*spammer at example\.com Cheers, -- Tokio Kikuchi, tokio.kikuchi at gmail.com From stephen at xemacs.org Tue May 3 04:50:49 2011 From: stephen at xemacs.org (Stephen J. Turnbull) Date: Tue, 03 May 2011 11:50:49 +0900 Subject: [Mailman-Users] Getting Spam from Banned Address In-Reply-To: <4DBF4EDB.50406@gmail.com> References: <4DBE9A6B.10602@dotrose.com> <4DBF4EDB.50406@gmail.com> Message-ID: <8762ps7b06.fsf@uwakimon.sk.tsukuba.ac.jp> ???? writes: > How about putting that spam address in header_filter_rules in > private/spam interface and set it 'discard'. He's already doing that, with an address that the user has abandoned. The new problem address is "legitimate", which I presume means a list member. From tokio.kikuchi at gmail.com Tue May 3 06:38:08 2011 From: tokio.kikuchi at gmail.com (=?ISO-2022-JP?B?GyRCNUZDTzt+SVcbKEI=?=) Date: Tue, 03 May 2011 13:38:08 +0900 Subject: [Mailman-Users] Getting Spam from Banned Address In-Reply-To: <8762ps7b06.fsf@uwakimon.sk.tsukuba.ac.jp> References: <4DBE9A6B.10602@dotrose.com> <4DBF4EDB.50406@gmail.com> <8762ps7b06.fsf@uwakimon.sk.tsukuba.ac.jp> Message-ID: <4DBF86B0.5030504@gmail.com> (11/05/03 11:50), Stephen J. Turnbull wrote: > ???? writes: > > > How about putting that spam address in header_filter_rules in > > private/spam interface and set it 'discard'. > > He's already doing that, with an address that the user has abandoned. > The new problem address is "legitimate", which I presume means a list > member. > No. He put the address in discard_these_nonmembers on the private/sender page but not have mentioned the private/spam settings. I believe if you set the spam address in header_filter_rules of privacy/spam page, the message should be discarded even if other legitimate addresses are listed in from header. If you can't find header_filter_rules in private/spam interface, its time to upgrade your mailman installation. It was 2006 when I introduced this function in SpamDetect.py (mailman-2.1.8). -- Tokio Kikuchi, tokio.kikuchi at gmail.com From stephen at xemacs.org Tue May 3 07:17:53 2011 From: stephen at xemacs.org (Stephen J. Turnbull) Date: Tue, 03 May 2011 14:17:53 +0900 Subject: [Mailman-Users] Getting Spam from Banned Address In-Reply-To: <4DBF86B0.5030504@gmail.com> References: <4DBE9A6B.10602@dotrose.com> <4DBF4EDB.50406@gmail.com> <8762ps7b06.fsf@uwakimon.sk.tsukuba.ac.jp> <4DBF86B0.5030504@gmail.com> Message-ID: <87zkn45pmm.fsf@uwakimon.sk.tsukuba.ac.jp> ???? writes: > No. He put the address in discard_these_nonmembers on the > private/sender page but not have mentioned the private/spam settings. > > I believe if you set the spam address in header_filter_rules of > privacy/spam page, the message should be discarded even if other > legitimate addresses are listed in from header. Ah, OK. He still should consider setting it to 'hold' for a trial period; the risk of accidentally discarding a real post is pretty high here IMO. But that's something he can judge better than we can. From malcolm.austen at weald.org.uk Tue May 3 12:43:44 2011 From: malcolm.austen at weald.org.uk (Malcolm Austen) Date: Tue, 03 May 2011 11:43:44 +0100 Subject: [Mailman-Users] Minor addition to Mailman/Cgi/options.py In-Reply-To: <4DBF228F.2070500@scu.edu> References: <4DBF228F.2070500@scu.edu> Message-ID: On Mon, 02 May 2011 22:30:55 +0100, C Nulk wrote: > Don't know if this small addition would be useful to anyone else but I > will pass it along. > > A little explanation first. It seems our users have some difficulty in > unsubscribing from the lists they are on. I know it is simple, yet I > get a lot of email complaining the process is to difficult. The biggest > issue I see is when the user puts in their email address then clicks the > "unsubscribe or edit options" button and the user lands on the Options > page. Apparently, the users see the password field and try a password > and then find out it is not the correct one. The users just don't seem > to read the page first which even tells the users to click the > unsubscribe button if they are trying to unsubscribe. Well, they don't > read, have problems, then email me that they have tried "everything" and > it doesn't work. > > My solution was to modify the Mailman/Cgi/options.py file ... I started from a slightly different problem, of people who would, say, type in a new password, then scroll down admoring all the other options and click the save button at the bottom, the one for their 'subscription options'. I don't have access to the server so tackled this (to a degree, you may debate how effective it is) by edits to the list info and personal options HTML. In case it matters, this host is still running MailMan 2.1.9 :-( gives this appearance to the list info page The main benefit is to be able to point people to the numbered sections! give this appearance to the list options page I think(hope) the table frames prompt people to use the various
s on the page separately and avoid the perception of a single set of choices with multiple save buttons. regards, Malcolm. -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ From henry at dotrose.com Tue May 3 15:11:53 2011 From: henry at dotrose.com (Henry Hartley) Date: Tue, 03 May 2011 09:11:53 -0400 Subject: [Mailman-Users] Getting Spam from Banned Address In-Reply-To: <87zkn45pmm.fsf@uwakimon.sk.tsukuba.ac.jp> References: <4DBE9A6B.10602@dotrose.com> <4DBF4EDB.50406@gmail.com> <8762ps7b06.fsf@uwakimon.sk.tsukuba.ac.jp> <4DBF86B0.5030504@gmail.com> <87zkn45pmm.fsf@uwakimon.sk.tsukuba.ac.jp> Message-ID: <4DBFFF19.9060705@dotrose.com> On 5/3/2011 1:17 AM, Stephen J. Turnbull wrote: > ???? writes: > > > No. He put the address in discard_these_nonmembers on the > > private/sender page but not have mentioned the private/spam settings. > > > > I believe if you set the spam address in header_filter_rules of > > privacy/spam page, the message should be discarded even if other > > legitimate addresses are listed in from header. > > Ah, OK. He still should consider setting it to 'hold' for a trial > period; the risk of accidentally discarding a real post is pretty high > here IMO. But that's something he can judge better than we can. Yes, putting a regular expression in header_filter_rules seems like a good solution. As Mr. Turnbull suggests, I set that rule to Hold for now, to see if it catches anything unintended. But this has the advantage of being list specific, rather than affecting all lists. Any mail that has the non-allowed address anywhere in the from field should be deleted. The user has said that he does not (ever) send mail from that address so it should not be a problem. Thanks, both of you, for your help. I suppose I should have said, this is mailman 2.1.9 on CentOS 5. -- Henry From CNulk at scu.edu Tue May 3 16:46:47 2011 From: CNulk at scu.edu (C Nulk) Date: Tue, 03 May 2011 07:46:47 -0700 Subject: [Mailman-Users] Minor addition to Mailman/Cgi/options.py In-Reply-To: References: <4DBF228F.2070500@scu.edu> Message-ID: <4DC01557.2020201@scu.edu> Malcolm, Thanks for your input and your examples. My users don't normally have a problem with the listinfo page. They either put in their email address or don't. If they don't, the Options login page does ask for it. Likewise, if they get to the User Options page where they can change their options, there is no problem. The problem occurs on the Options login page. When the users see the password field on that page, they completely forget about reading any other part of the page. They just plow ahead and become frustrated (their own fault for not reading) and then I get email about unsubscribing. I did a capture of the page and a bit of obscuring of the Options login page (with my addition). Hopefully, that little addition will help my users (the ones that don't read before acting). If it helps others who face the same problem, great. Malcolm, I have also done some separation of tasks which does help. I split the Unsubscribe and Edit options from one section into two different sections. It was another confusing aspect for the users trying to unsubscribe. Now, I tell them and my documentation says to look for the Unsubscribe section, put your password in the field provided, and click the unsubscribe button. The next page was the one tripping them up. Thanks for the input, Chris On 5/3/2011 3:43 AM, Malcolm Austen wrote: > On Mon, 02 May 2011 22:30:55 +0100, C Nulk wrote: > >> Don't know if this small addition would be useful to anyone else but I >> will pass it along. >> >> A little explanation first. It seems our users have some difficulty in >> unsubscribing from the lists they are on. I know it is simple, yet I >> get a lot of email complaining the process is to difficult. The biggest >> issue I see is when the user puts in their email address then clicks the >> "unsubscribe or edit options" button and the user lands on the Options >> page. Apparently, the users see the password field and try a password >> and then find out it is not the correct one. The users just don't seem >> to read the page first which even tells the users to click the >> unsubscribe button if they are trying to unsubscribe. Well, they don't >> read, have problems, then email me that they have tried "everything" and >> it doesn't work. >> >> My solution was to modify the Mailman/Cgi/options.py file ... > > I started from a slightly different problem, of people who would, say, > type in a new password, then scroll down admoring all the other options > and click the save button at the bottom, the one for their 'subscription > options'. I don't have access to the server so tackled this (to a degree, > you may debate how effective it is) by edits to the list info and > personal > options HTML. In case it matters, this host is still running MailMan > 2.1.9 > :-( > > > gives this appearance to the list info page > > > The main benefit is to be able to point people to the numbered sections! > > > give this appearance to the list options page > > > > I think(hope) the table frames prompt people to use the various > s on > the page separately and avoid the perception of a single set of choices > with multiple save buttons. > > regards, Malcolm. > > -- > Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ > ------------------------------------------------------ > 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/cnulk%40scu.edu From info at aegn.org.au Tue May 3 07:44:07 2011 From: info at aegn.org.au (AEGN) Date: Mon, 2 May 2011 22:44:07 -0700 (PDT) Subject: [Mailman-Users] Mail content arriving as attachments Message-ID: <31529646.post@talk.nabble.com> We use Mailman 2.1.14 to send mail to a list of about 90 subscribers. There is an exchange server sitting between us and the outside world. The mail is arriving in various formats to different mail-clients e.g. an email with content in the body, including one image, only arrives back to us (Outlook 2003) as an email with a header in the body plus two text attachments (one with a footer and the other with the email body content) plus one html attachment (with image and email body content). Sometimes the email arrives back to us with the email content in the body of the email and not converted to attachments. If there are attachments sent these seem to stay as attachments wherever they go. To a person external to us the content arrives as we would want it i.e. in the body of the email. To another person external to us using a Mac (Safari?) it arrives with the content in the email but includes a header and footer. We'd like the emails to arrive as they are sent i.e. with the content in the body, and not as attachments. What settings do I need to adjust to achieve this? Thanks. -- View this message in context: http://old.nabble.com/Mail-content-arriving-as-attachments-tp31529646p31529646.html Sent from the Mailman - Users mailing list archive at Nabble.com. From malcolm.austen at weald.org.uk Tue May 3 17:16:29 2011 From: malcolm.austen at weald.org.uk (Malcolm Austen) Date: Tue, 03 May 2011 16:16:29 +0100 Subject: [Mailman-Users] Minor addition to Mailman/Cgi/options.py In-Reply-To: <4DC01557.2020201@scu.edu> References: <4DBF228F.2070500@scu.edu> <4DC01557.2020201@scu.edu> Message-ID: On Tue, 03 May 2011 15:46:47 +0100, C Nulk wrote: > Thanks for your input and your examples. And yours Chris. > The problem occurs on the Options login page. When the users see the > password field on that page, they completely forget about reading any > other part of the page. They just plow ahead and become frustrated > (their own fault for not reading) and then I get email about > unsubscribing. I did a capture of the page and a bit of obscuring of > the Options login page (with my addition). > > I have not encountered too many troubles with that page, maybe my users all put their email in before reaching that page. I ought to tackle it because it is confusing - if you get there without entering an email address, it presents three separate sections without making it obvious that the lower two require an email address entered in the top one. > Hopefully, that little addition will help my users (the ones that don't > read before acting). If it helps others who face the same problem, > great. I think I would lift the email box up to the top so that it does not appear to 'belong' to any particular section ... ? > Malcolm, I have also done some separation of tasks which does help. I > split the Unsubscribe and Edit options from one section into two > different sections. It was another confusing aspect for the users > trying to unsubscribe. Now, I tell them and my documentation says to > look for the Unsubscribe section, put your password in the field > provided, and click the unsubscribe button. The next page was the one > tripping them up. > > Thanks for the input, And for your input, it's given me food for though on making further improvements to my list pages. Most often the problems aren't 'obvious' until a user explains why they could not understand the page :-) Ta, Malcolm. -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ From CNulk at scu.edu Tue May 3 18:35:28 2011 From: CNulk at scu.edu (C Nulk) Date: Tue, 03 May 2011 09:35:28 -0700 Subject: [Mailman-Users] Minor addition to Mailman/Cgi/options.py In-Reply-To: References: <4DBF228F.2070500@scu.edu> <4DC01557.2020201@scu.edu> Message-ID: <4DC02ED0.6030502@scu.edu> You have definitely given me food for thought, Malcolm. I think I will look at what needs to be done to reorder the Options login page. My view would be the main header as it exists, followed by email field, then an Edit Options section (with password field), then Unsubscribe section, then the Password Reminder section. I may even switch the order of the Edit Options and Unsubscribe sections. Definitely something to think about. Thanks, Chris On 5/3/2011 8:16 AM, Malcolm Austen wrote: > On Tue, 03 May 2011 15:46:47 +0100, C Nulk wrote: > >> Thanks for your input and your examples. > > And yours Chris. > >> The problem occurs on the Options login page. When the users see the >> password field on that page, they completely forget about reading any >> other part of the page. They just plow ahead and become frustrated >> (their own fault for not reading) and then I get email about >> unsubscribing. I did a capture of the page and a bit of obscuring of >> the Options login page (with my addition). >> >> > > I have not encountered too many troubles with that page, maybe my users > all put their email in before reaching that page. I ought to tackle it > because it is confusing - if you get there without entering an email > address, it presents three separate sections without making it obvious > that the lower two require an email address entered in the top one. > >> Hopefully, that little addition will help my users (the ones that don't >> read before acting). If it helps others who face the same problem, >> great. > > I think I would lift the email box up to the top so that it does not > appear to 'belong' to any particular section ... ? > >> Malcolm, I have also done some separation of tasks which does help. I >> split the Unsubscribe and Edit options from one section into two >> different sections. It was another confusing aspect for the users >> trying to unsubscribe. Now, I tell them and my documentation says to >> look for the Unsubscribe section, put your password in the field >> provided, and click the unsubscribe button. The next page was the one >> tripping them up. >> >> Thanks for the input, > > And for your input, it's given me food for though on making further > improvements to my list pages. Most often the problems aren't 'obvious' > until a user explains why they could not understand the page :-) > > Ta, Malcolm. > > -- > Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ > ------------------------------------------------------ > 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/cnulk%40scu.edu From mark at msapiro.net Tue May 3 18:51:53 2011 From: mark at msapiro.net (Mark Sapiro) Date: Tue, 3 May 2011 09:51:53 -0700 Subject: [Mailman-Users] Mail content arriving as attachments In-Reply-To: <31529646.post@talk.nabble.com> Message-ID: AEGN wrote: > >We'd like the emails to arrive as they are sent i.e. with the content in the >body, and not as attachments. What settings do I need to adjust to achieve >this? Thanks. This is a well known issue involving the addidion of msg_header and/or msg_footer to HTML and MIME multipart messages. See the FAQ at . To accomplish what I think you want, you have to ensure that both msg_header and msg_footer on the admin Non-digest options page are empty. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mailman at veggiechinese.net Tue May 3 23:15:33 2011 From: mailman at veggiechinese.net (William Yardley) Date: Tue, 3 May 2011 14:15:33 -0700 Subject: [Mailman-Users] per-list personalization without enabling OWNERS_CAN_ENABLE... In-Reply-To: References: <20110427235145.GT12268@mitch.veggiechinese.net> Message-ID: <20110503211533.GM12268@mitch.veggiechinese.net> On Wed, Apr 27, 2011 at 05:43:15PM -0700, Mark Sapiro wrote: > William Yardley wrote: > > Also, is it possible to toggle personalization under the hood (using > > withlist / config_list to set 'mlist.personalize = 2') /without/ > > enabling OWNERS_CAN_ENABLE_PERSONALIZATION globally? I have a case where > > I'd like to enable personalization for a couple of lists without > > allowing any other list owners to enable this feature. > You can do it with withlist. You can't do it in the 'usual' way with > config_list because config_list knows that personalize is not a > property that can be set if OWNERS_CAN_ENABLE_PERSONALIZATION is > false. You can do it with config_list by setting > > mlist.personalize = 2 > > just not by setting > > personalize = 2 > > However, if all you want is to enable the header/footer replacements > and not personalize the To: header of delivered messages, you want to > set personalize to 1, not 2. I am pretty sure I can successfully toggle mlist.personalize with Mailman 2.1.9 $ cat /tmp/configlist.in mlist.personalize = 0 $ cat setpersonalization.py def setpersonalization (mlist): print mlist.personalize mlist.personalize = 1 print mlist.personalize mlist.Save() $ config_list --inputfile /tmp/configlist.in testwby $ ./withlist -l -r setpersonalization testwby Importing setpersonalization... Running setpersonalization.setpersonalization()... Loading list testwby (locked) 0 1 Unlocking (but not saving) list: testwby Finalizing $ version Using Mailman version: 2.1.9 However, I don't get any change in the footers of list messages after this, nor do I see any new options available in the "non-digest options" page or in the available special strings in msg_footer. Any thoughts? Again, I don't have any personalization specific options set in the main config. w From mark at msapiro.net Wed May 4 02:07:41 2011 From: mark at msapiro.net (Mark Sapiro) Date: Tue, 3 May 2011 17:07:41 -0700 Subject: [Mailman-Users] per-list personalization without enablingOWNERS_CAN_ENABLE... In-Reply-To: <20110503211533.GM12268@mitch.veggiechinese.net> Message-ID: William Yardley wrote: > >I am pretty sure I can successfully toggle mlist.personalize with >Mailman 2.1.9 > [...] > >However, I don't get any change in the footers of list messages after >this, nor do I see any new options available in the "non-digest options" >page or in the available special strings in msg_footer. You will not see any personalize settings or documentation of additional replacements in the web UI because those all depend on OWNERS_CAN_ENABLE_PERSONALIZATION. However, the additional replacements are: user_address - The address of the user, coerced to lower case. user_delivered_to - The case-preserved address that the user is subscribed with. user_password - The user's password. user_name - The user's full name. user_optionsurl - The url to the user's option page. and if you have set the list's personalize attribute to 1 or 2, and you include any of those replacements in the list's msg_header or msg_footer, they should be replaced appropriately in the delivered messages. For example, you *could* put the following in msg_footer. This is *definitely not recommended* because despite the warning, users will leave this in replies and forwards, but ... Instant Unsubscribe - Warning! remove this link before replying or forwarding this message. <%(user_optionsurl)s?password=%(user_password)s&unsub=1&unsubconfirm=1> -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mailman at veggiechinese.net Wed May 4 02:13:32 2011 From: mailman at veggiechinese.net (William Yardley) Date: Tue, 3 May 2011 17:13:32 -0700 Subject: [Mailman-Users] per-list personalization without enablingOWNERS_CAN_ENABLE... In-Reply-To: References: <20110503211533.GM12268@mitch.veggiechinese.net> Message-ID: <20110504001332.GO12268@mitch.veggiechinese.net> On Tue, May 03, 2011 at 05:07:41PM -0700, Mark Sapiro wrote: > For example, you *could* put the following in msg_footer. This is > *definitely not recommended* because despite the warning, users will > leave this in replies and forwards, but ... Thanks. In this case, it's exactly what I want, because it's for an announcement-only list that one of our users is setting up. I can confirm that this works as expected; I was wondering if this would be the case (that I just needed the right variables to expand). w From kremels at kreme.com Wed May 4 17:59:09 2011 From: kremels at kreme.com (LuKreme) Date: Wed, 4 May 2011 09:59:09 -0600 Subject: [Mailman-Users] .py and .pyc files Message-ID: I made some changes to a .py file and then restarted mailman with /usr/local/mailman/bin/mailmanctl restart however, the .pyc file did not get updated as its timestamp didn't change: # ls -lshtr Mailman/Handlers/Spam* 6 -rw-r--r-- 1 root mailman 4.4K Apr 24 2010 Mailman/Handlers/SpamDetect.pyc 6 -rw-r--r-- 1 root mailman 4.9K May 4 08:58 Mailman/Handlers/SpamDetect.py the change was simple, just added some text to the Errors.RejectMessage (Mailman-2.1.12) So, it looks like mm_cfg.py is the only .py that gets recompiled automatically, right? So how do I recompile SpamDetect.py after making my changes? -- From mark at msapiro.net Wed May 4 19:55:42 2011 From: mark at msapiro.net (Mark Sapiro) Date: Wed, 4 May 2011 10:55:42 -0700 Subject: [Mailman-Users] .py and .pyc files In-Reply-To: Message-ID: LuKreme wrote: >I made some changes to a .py file and then restarted mailman with > >/usr/local/mailman/bin/mailmanctl restart > >however, the .pyc file did not get updated as its timestamp didn't change: > ># ls -lshtr Mailman/Handlers/Spam* > 6 -rw-r--r-- 1 root mailman 4.4K Apr 24 2010 Mailman/Handlers/SpamDetect.pyc > 6 -rw-r--r-- 1 root mailman 4.9K May 4 08:58 Mailman/Handlers/SpamDetect.py > >the change was simple, just added some text to the Errors.RejectMessage > >(Mailman-2.1.12) > >So, it looks like mm_cfg.py is the only .py that gets recompiled automatically, right? So how do I recompile SpamDetect.py after making my changes? When Python imports a module and the module's .py file is newer than the .pyc, it will read the .py, compile it and if it can, write the .pyc. The problem here is permissions. By the time the qrunners are importing anything, they are running as user:group mailman:mailman, and neither the user nor the group has permission to write Mailman/Handlers/SpamDetect.pyc. This is OK in general, but will lead to your particular issue. If you chown mailman Mailman/Handlers/SpamDetect.pyc (or maybe even 'chown -R mailman Mailman'), and then restart Mailman, SpamDetect.pyc will be updated. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From pasqualinic at fcal.uner.edu.ar Wed May 4 21:20:24 2011 From: pasqualinic at fcal.uner.edu.ar (Carlos R. Pasqualini) Date: Wed, 04 May 2011 16:20:24 -0300 Subject: [Mailman-Users] how to rebuils site-wide mailman list Message-ID: <1304536824.15983.25.camel@capibara.fcal.uner.edu.ar> after a crash, the backups seems to do not have worked so well..... /etc/init.d/mailman start Starting Mailman master qrunner: mailmanctlLogging error: Traceback (most recent call last): File "/var/lib/mailman/Mailman/Logging/Logger.py", line 68, in __get_f File "/usr/lib/python2.6/codecs.py", line 881, in open file = __builtin__.open(filename, mode, buffering) IOError: [Errno 13] Permission denied: '/var/lib/mailman/logs/error' Original log message: [Errno 13] Permission denied: '/var/lib/mailman/logs/error' May 04 16:15:41 2011 (31505) IOError reading list extension: [Errno 13] Permission denied: '/var/lib/mailman/lists/mailman/extend.py' El sitio de La lista no se encuentra: mailman May 04 16:15:41 2011 (31505) Site list is missing: mailman Exception OSError: OSError(13, 'Permission denied') in failed! as i can see, i don't have a file: '/var/lib/mailman/lists/mailman/extend.py' which generates next error "site-list not found: mailman" in english do i have a way to re-create the mailman list? -- Carlos R. Pasqualini Adm. de Redes - Facultad de Ciencias de la Alimentaci?n - UNER From pasqualinic at fcal.uner.edu.ar Wed May 4 23:24:56 2011 From: pasqualinic at fcal.uner.edu.ar (Carlos R. Pasqualini) Date: Wed, 04 May 2011 18:24:56 -0300 Subject: [Mailman-Users] how to rebuils site-wide mailman list FIXED In-Reply-To: <1304536824.15983.25.camel@capibara.fcal.uner.edu.ar> References: <1304536824.15983.25.camel@capibara.fcal.uner.edu.ar> Message-ID: <1304544296.15983.28.camel@capibara.fcal.uner.edu.ar> just lots of permission issues... i will need to review my backup script.... sorry about the noise! El mi?, 04-05-2011 a las 16:20 -0300, Carlos R. Pasqualini escribi?: > after a crash, the backups seems to do not have worked so well..... > > > /etc/init.d/mailman start > Starting Mailman master qrunner: mailmanctlLogging error: to '/var/lib/mailman/logs/error'> > Traceback (most recent call last): > File "/var/lib/mailman/Mailman/Logging/Logger.py", line 68, in __get_f > File "/usr/lib/python2.6/codecs.py", line 881, in open > file = __builtin__.open(filename, mode, buffering) > IOError: [Errno 13] Permission denied: '/var/lib/mailman/logs/error' > Original log message: > [Errno 13] Permission denied: '/var/lib/mailman/logs/error' > May 04 16:15:41 2011 (31505) IOError reading list extension: [Errno 13] > Permission denied: '/var/lib/mailman/lists/mailman/extend.py' > El sitio de La lista no se encuentra: mailman > May 04 16:15:41 2011 (31505) Site list is missing: mailman > Exception OSError: OSError(13, 'Permission denied') in failed! > > > as i can see, i don't have a file: > '/var/lib/mailman/lists/mailman/extend.py' > which generates next error "site-list not found: mailman" in english > > > do i have a way to re-create the mailman list? > > > > -- > Carlos R. Pasqualini > Adm. de Redes - Facultad de Ciencias de la Alimentaci?n - UNER > > ------------------------------------------------------ > 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/pasqualinic%40fcal.uner.edu.ar -- Carlos R. Pasqualini Adm. de Redes - Facultad de Ciencias de la Alimentaci?n - UNER From dap1 at bellsouth.net Thu May 5 12:54:45 2011 From: dap1 at bellsouth.net (Dennis Putnam) Date: Thu, 05 May 2011 06:54:45 -0400 Subject: [Mailman-Users] Monthly Reminder Problem Message-ID: <4DC281F5.8010504@bellsouth.net> I started this thread some time ago and got to the point where I was able to trace things to Postfix and ultimately found where the message was apparently sent to my ISP. May 5 06:34:41 dap002 postfix/smtpd[3674]: connect from dap002[127.0.0.1] May 5 06:34:41 dap002 postfix/smtpd[3674]: E904B2001: client=dap002[127.0.0.1] May 5 06:34:41 dap002 postfix/cleanup[3677]: E904B2001: message-id= May 5 06:34:41 dap002 postfix/qmgr[2599]: E904B2001: from=, size=1833, nrcpt=1 (queue active) May 5 06:34:41 dap002 postfix/smtpd[3674]: disconnect from dap002[127.0.0.1] May 5 06:34:42 dap002 postfix/smtp[3678]: < mail.bellsouth.net[204.127.217.17]:25: 220 isp.att.net - Maillennium ESMTP/MULTIBOX frfwmhc04 #3 May 5 06:34:42 dap002 postfix/smtp[3678]: > mail.bellsouth.net[204.127.217.17]:25: EHLO home.bellsouth.net May 5 06:34:42 dap002 postfix/smtp[3678]: < mail.bellsouth.net[204.127.217.17]:25: 250-isp.att.net May 5 06:34:42 dap002 postfix/smtp[3678]: < mail.bellsouth.net[204.127.217.17]:25: 250-7BIT May 5 06:34:42 dap002 postfix/smtp[3678]: < mail.bellsouth.net[204.127.217.17]:25: 250-8BITMIME May 5 06:34:42 dap002 postfix/smtp[3678]: < mail.bellsouth.net[204.127.217.17]:25: 250-DSN May 5 06:34:42 dap002 postfix/smtp[3678]: < mail.bellsouth.net[204.127.217.17]:25: 250-HELP May 5 06:34:42 dap002 postfix/smtp[3678]: < mail.bellsouth.net[204.127.217.17]:25: 250-NOOP May 5 06:34:42 dap002 postfix/smtp[3678]: < mail.bellsouth.net[204.127.217.17]:25: 250-PIPELINING May 5 06:34:42 dap002 postfix/smtp[3678]: < mail.bellsouth.net[204.127.217.17]:25: 250-SIZE 26214400 May 5 06:34:42 dap002 postfix/smtp[3678]: < mail.bellsouth.net[204.127.217.17]:25: 250-VERS V05.40c++ May 5 06:34:42 dap002 postfix/smtp[3678]: < mail.bellsouth.net[204.127.217.17]:25: 250 XMVP 2 May 5 06:34:42 dap002 postfix/smtp[3678]: server features: 0x900f size 26214400 May 5 06:34:42 dap002 postfix/smtp[3678]: Using ESMTP PIPELINING, TCP send buffer size is 4096 May 5 06:34:42 dap002 postfix/smtp[3678]: > mail.bellsouth.net[204.127.217.17]:25: MAIL FROM: SIZE=1833 May 5 06:34:42 dap002 postfix/smtp[3678]: > mail.bellsouth.net[204.127.217.17]:25: RCPT TO: ORCPT=rfc822;dap1 at bellsouth.net May 5 06:34:42 dap002 postfix/smtp[3678]: > mail.bellsouth.net[204.127.217.17]:25: DATA May 5 06:34:42 dap002 postfix/smtp[3678]: < mail.bellsouth.net[204.127.217.17]:25: 250 ok May 5 06:34:42 dap002 postfix/smtp[3678]: < mail.bellsouth.net[204.127.217.17]:25: 250 ok May 5 06:34:42 dap002 postfix/smtp[3678]: < mail.bellsouth.net[204.127.217.17]:25: 354 ok May 5 06:34:42 dap002 postfix/smtp[3678]: > mail.bellsouth.net[204.127.217.17]:25: . May 5 06:34:42 dap002 postfix/smtp[3678]: > mail.bellsouth.net[204.127.217.17]:25: QUIT May 5 06:34:42 dap002 postfix/smtp[3678]: < mail.bellsouth.net[204.127.217.17]:25: 250 ok ; id=20110505103442H040014q56e May 5 06:34:42 dap002 postfix/smtp[3678]: E904B2001: to=, relay=mail.bellsouth.net[204.127.217.17]:25, delay=1, delays=0.05/0.06/0.61/0.3, dsn=2.0.0, status=sent (250 ok ; id=20110505103442H040014q56e) May 5 06:34:42 dap002 postfix/smtp[3678]: name_mask: resource May 5 06:34:42 dap002 postfix/smtp[3678]: name_mask: software May 5 06:34:42 dap002 postfix/qmgr[2599]: E904B2001: removed As you can see, it appears everything is working properly as far as Postfix is concerned. However, my ISP never delivers the email to the recipient. All other mail to/from my mailing lists work and are successfully delivered including welcome messages, etc. This means to me (unless someone can think of something else) that the reason my ISP is not delivering the mail is because it is finding something unique in this particular email that does not exist in all others. There is no bounced message from the ISP so it must be throwing it into the bit bucket for some reason and I am not getting even a hint as to what is wrong. Can someone think of what is unique about these messages from all the others mailman generates? I doubt it is anything in the body so it seems it has to be something in the headers. The only straw I can grasp is perhaps the from address. 'Mailman-bounces' does not exist but is that not the from address of all mailman generated messages? Thanks. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 259 bytes Desc: OpenPGP digital signature URL: From Ralf.Hildebrandt at charite.de Thu May 5 13:18:34 2011 From: Ralf.Hildebrandt at charite.de (Ralf Hildebrandt) Date: Thu, 5 May 2011 13:18:34 +0200 Subject: [Mailman-Users] Monthly Reminder Problem In-Reply-To: <4DC281F5.8010504@bellsouth.net> References: <4DC281F5.8010504@bellsouth.net> Message-ID: <20110505111834.GJ23316@charite.de> * Dennis Putnam : > I started this thread some time ago and got to the point where I was > able to trace things to Postfix and ultimately found where the message > was apparently sent to my ISP. > > May 5 06:34:41 dap002 postfix/smtpd[3674]: connect from dap002[127.0.0.1] > May 5 06:34:41 dap002 postfix/smtpd[3674]: E904B2001: > client=dap002[127.0.0.1] > May 5 06:34:41 dap002 postfix/cleanup[3677]: E904B2001: > message-id= > May 5 06:34:41 dap002 postfix/qmgr[2599]: E904B2001: > from=, size=1833, nrcpt=1 (queue active) > May 5 06:34:41 dap002 postfix/smtpd[3674]: disconnect from > dap002[127.0.0.1] > May 5 06:34:42 dap002 postfix/smtp[3678]: < mail.bellsouth.net[204.127.217.17]:25: 220 isp.att.net - Maillennium ESMTP/MULTIBOX frfwmhc04 #3 > May 5 06:34:42 dap002 postfix/smtp[3678]: > mail.bellsouth.net[204.127.217.17]:25: EHLO home.bellsouth.net > May 5 06:34:42 dap002 postfix/smtp[3678]: < mail.bellsouth.net[204.127.217.17]:25: 250-isp.att.net > May 5 06:34:42 dap002 postfix/smtp[3678]: < mail.bellsouth.net[204.127.217.17]:25: 250-7BIT > May 5 06:34:42 dap002 postfix/smtp[3678]: < mail.bellsouth.net[204.127.217.17]:25: 250-8BITMIME > May 5 06:34:42 dap002 postfix/smtp[3678]: < mail.bellsouth.net[204.127.217.17]:25: 250-DSN > May 5 06:34:42 dap002 postfix/smtp[3678]: < mail.bellsouth.net[204.127.217.17]:25: 250-HELP > May 5 06:34:42 dap002 postfix/smtp[3678]: < mail.bellsouth.net[204.127.217.17]:25: 250-NOOP > May 5 06:34:42 dap002 postfix/smtp[3678]: < mail.bellsouth.net[204.127.217.17]:25: 250-PIPELINING > May 5 06:34:42 dap002 postfix/smtp[3678]: < mail.bellsouth.net[204.127.217.17]:25: 250-SIZE 26214400 > May 5 06:34:42 dap002 postfix/smtp[3678]: < mail.bellsouth.net[204.127.217.17]:25: 250-VERS V05.40c++ > May 5 06:34:42 dap002 postfix/smtp[3678]: < mail.bellsouth.net[204.127.217.17]:25: 250 XMVP 2 > May 5 06:34:42 dap002 postfix/smtp[3678]: server features: 0x900f size 26214400 > May 5 06:34:42 dap002 postfix/smtp[3678]: Using ESMTP PIPELINING, TCP send buffer size is 4096 > May 5 06:34:42 dap002 postfix/smtp[3678]: > mail.bellsouth.net[204.127.217.17]:25: MAIL FROM: SIZE=1833 > May 5 06:34:42 dap002 postfix/smtp[3678]: > mail.bellsouth.net[204.127.217.17]:25: RCPT TO: ORCPT=rfc822;dap1 at bellsouth.net > May 5 06:34:42 dap002 postfix/smtp[3678]: > mail.bellsouth.net[204.127.217.17]:25: DATA > May 5 06:34:42 dap002 postfix/smtp[3678]: < mail.bellsouth.net[204.127.217.17]:25: 250 ok > May 5 06:34:42 dap002 postfix/smtp[3678]: < mail.bellsouth.net[204.127.217.17]:25: 250 ok > May 5 06:34:42 dap002 postfix/smtp[3678]: < mail.bellsouth.net[204.127.217.17]:25: 354 ok > May 5 06:34:42 dap002 postfix/smtp[3678]: > mail.bellsouth.net[204.127.217.17]:25: . > May 5 06:34:42 dap002 postfix/smtp[3678]: > mail.bellsouth.net[204.127.217.17]:25: QUIT > May 5 06:34:42 dap002 postfix/smtp[3678]: < mail.bellsouth.net[204.127.217.17]:25: 250 ok ; id=20110505103442H040014q56e > May 5 06:34:42 dap002 postfix/smtp[3678]: E904B2001: to=, relay=mail.bellsouth.net[204.127.217.17]:25, > delay=1, delays=0.05/0.06/0.61/0.3, dsn=2.0.0, status=sent (250 ok ; id=20110505103442H040014q56e) > May 5 06:34:42 dap002 postfix/smtp[3678]: name_mask: resource > May 5 06:34:42 dap002 postfix/smtp[3678]: name_mask: software > May 5 06:34:42 dap002 postfix/qmgr[2599]: E904B2001: removed > > As you can see, it appears everything is working properly as far as > Postfix is concerned. Yes. > However, my ISP never delivers the email to the recipient. Ask bellsouth support what happend with the mail id=20110505103442H040014q56e > All other mail to/from my mailing lists work and are successfully > delivered including welcome messages, etc. This means to me (unless > someone can think of something else) that the reason my ISP is not > delivering the mail is because it is finding something unique in this > particular email that does not exist in all others. Yup. > There is no bounced message from the ISP so it must be throwing it into > the bit bucket Yup. > for some reason and I am not getting even a hint as to what is wrong. > Can someone think of what is unique about these messages from all the > others mailman generates? No, but you can bcc: this mail to you and then use divide & conquer to find out what makes them reject the mail. > I doubt it is anything in the body so it seems it has to be something > in the headers. So try sending the mail with headers only :) > The only straw I can grasp is perhaps the from address. > 'Mailman-bounces' does not exist but is that not the from address of > all mailman generated messages? It depends -- Ralf Hildebrandt Gesch?ftsbereich IT | Abteilung Netzwerk Charit? - Universit?tsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 | D-12203 Berlin Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962 ralf.hildebrandt at charite.de | http://www.charite.de From kremels at kreme.com Thu May 5 17:18:25 2011 From: kremels at kreme.com (LuKreme) Date: Thu, 5 May 2011 09:18:25 -0600 Subject: [Mailman-Users] .py and .pyc files In-Reply-To: References: Message-ID: On May 4, 2011, at 9:59, LuKreme wrote: > So, it looks like mm_cfg.py is the only .py that gets recompiled automatically, right? So how do I recompile SpamDetect.py after making my changes? With further reading into Python, it appears that one of Python's features Is that it automatically recompiles .py files to .pyc files when needed, as soon as it triggers an import of the file, so there is nothing I need to do after changing the source and restarting mailman, it will just work. Is that correct? > From mark at msapiro.net Thu May 5 20:02:10 2011 From: mark at msapiro.net (Mark Sapiro) Date: Thu, 5 May 2011 11:02:10 -0700 Subject: [Mailman-Users] .py and .pyc files In-Reply-To: Message-ID: LuKreme wrote: > >With further reading into Python, it appears that one of Python's features Is that it automatically recompiles .py files to .pyc files when needed, as soon as it triggers an import of the file, so there is nothing I need to do after changing the source and restarting mailman, it will just work. > >Is that correct? Yes and no. As I indicated in my prior reply at , in your specific case the qrunners don't have permission to write the .pyc so it can't be updated. This is not a problem in that Python will always use the more recent .py, but there is innefficiency in that since the .pyc can't be written, the .py will have to be compiled each time it is imported. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From big_guy128 at yahoo.co.id Thu May 5 16:45:38 2011 From: big_guy128 at yahoo.co.id (Reza Tarigan) Date: Thu, 5 May 2011 22:45:38 +0800 (SGT) Subject: [Mailman-Users] [ASK] Too Many Hops Message-ID: <976307.85272.qm@web77308.mail.sg1.yahoo.com> Hi everyone, I'm new to zimbra & mailman. i got a problem when integrating mailman with zimbra. I was follow tghe guide in wiki I got error when trying to send email to mailman at email_domain.com 5.4.0 Error: too many hops (in reply to end of DATA command) Does someone know how to fix it or how to track the error? Sorry for my poor english.. thnx. From mark at msapiro.net Fri May 6 08:33:41 2011 From: mark at msapiro.net (Mark Sapiro) Date: Thu, 5 May 2011 23:33:41 -0700 Subject: [Mailman-Users] [ASK] Too Many Hops In-Reply-To: <976307.85272.qm@web77308.mail.sg1.yahoo.com> Message-ID: Reza Tarigan wrote: >Hi everyone, I'm new to zimbra & mailman. >i got a problem when integrating mailman with zimbra. >I was follow tghe guide in wiki What wiki? >I got error when trying to send email to mailman at email_domain.com > >5.4.0 Error: too many hops (in reply to end of DATA command) > >Does someone know how to fix it or how to track the error? >Sorry for my poor english.. You have some kind of forwarding loop in your MTA(s). Check the MTA logs. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From tarigan.reza at gmail.com Fri May 6 10:00:58 2011 From: tarigan.reza at gmail.com (Reza Tarigan) Date: Fri, 6 May 2011 15:00:58 +0700 Subject: [Mailman-Users] [ASK] Too Many Hops In-Reply-To: References: <976307.85272.qm@web77308.mail.sg1.yahoo.com> Message-ID: Wiki from zimbra, http://wiki.zimbra.com/wiki/ZCS_Mailman_Integration I'm using postfix, in which file i can see the loop?? i've looking through the maillog from mailman MTA (postfix) i found this lines repeating milis postfix/smtpd[30043]: connect from surat.my.domain milis postfix/smtpd[30043]: 7CE36A56804E: client=surat.my.domain milis postfix/cleanup[30045]: 7CE36A56804E: message-id= milis postfix/qmgr[29636]: 7CE36A56804E: from=, size=11310, nrcpt=1 (queue active) milis postfix/smtpd[30043]: disconnect from surat.my.domain milis postfix/smtp[30046]: 7CE36A56804E: to=, relay=mx2.my.domain:25, delay=0.05, delays=0/0/0/0.05, dsn=2.0.0, status=sent (250 ok: Message 85790 accepted) milis postfix/qmgr[29636]: 7CE36A56804E: removed and ended with milis postfix/smtpd[30043]: connect from surat.my.domain milis postfix/smtpd[30043]: 31103A56804E: client=surat.my.domain milis postfix/smtpd[30043]: disconnect from surat.my.domain surat.my.domain is my mail server milis.my.domain is mailman server tesmilis at surat.my.domain is the list is that the loop? What can i do to fix it? Reza Tarigan wrote: >Hi everyone, I'm new to zimbra & mailman. >i got a problem when integrating mailman with zimbra. >I was follow tghe guide in wiki What wiki? >I got error when trying to send email to mailman at email_domain.com > >5.4.0 Error: too many hops (in reply to end of DATA command) > >Does someone know how to fix it or how to track the error? >Sorry for my poor english.. You have some kind of forwarding loop in your MTA(s). Check the MTA logs. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Fri May 6 19:21:47 2011 From: mark at msapiro.net (Mark Sapiro) Date: Fri, 6 May 2011 10:21:47 -0700 Subject: [Mailman-Users] [ASK] Too Many Hops In-Reply-To: Message-ID: Reza Tarigan wrote: >Wiki from zimbra, http://wiki.zimbra.com/wiki/ZCS_Mailman_Integration If you have further problems with this configuration, you might get better help following up with Zimbra rather than here. >I'm using postfix, in which file i can see the loop?? > >i've looking through the maillog from mailman MTA (postfix) >i found this lines repeating > > milis postfix/smtpd[30043]: connect from surat.my.domain > milis postfix/smtpd[30043]: 7CE36A56804E: client=surat.my.domain > milis postfix/cleanup[30045]: 7CE36A56804E: >message-id= > milis postfix/qmgr[29636]: 7CE36A56804E: >from=, size=11310, nrcpt=1 (queue >active) > milis postfix/smtpd[30043]: disconnect from surat.my.domain > milis postfix/smtp[30046]: 7CE36A56804E: >to=, relay=mx2.my.domain:25, delay=0.05, >delays=0/0/0/0.05, dsn=2.0.0, status=sent (250 ok: Message 85790 >accepted) > milis postfix/qmgr[29636]: 7CE36A56804E: removed > > >and ended with > >milis postfix/smtpd[30043]: connect from surat.my.domain >milis postfix/smtpd[30043]: 31103A56804E: client=surat.my.domain >milis postfix/smtpd[30043]: disconnect from surat.my.domain > >surat.my.domain is my mail server >milis.my.domain is mailman server >tesmilis at surat.my.domain is the list The above Postfix log from milis shows that this postfix does not know how to deliver the mail addressed to tesmilis at surat.my.domain to Mailman and instead is just relaying it back to the MX (mx2.my.domain) for the surat.my.domain domain which presumably sends it back to milis, thus the loop. Have you installed aliases and perhaps virtual maps for the tesmilis*@surat.my.domain addresses in Postfix on milis? Did you do the step ------------------------- Edit and update /etc/aliases as directed by the output of the 'newlist' command. Run $ /usr/bin/newaliases to update the aliases table to include the mailing list addresses. ------------------------- in section 3 of the above wiki? If so, the issue is probably that milis does not consider surat.my.domain to ba a local domain. You either need to add it to mydestination in Postfix's main.cf on milis, or you need virtual_alias_maps for the list addresses. See . -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From bsfinkel at anl.gov Fri May 6 21:38:00 2011 From: bsfinkel at anl.gov (Barry Finkel) Date: Fri, 06 May 2011 14:38:00 -0500 Subject: [Mailman-Users] Strange E-mail Message About List Description Message-ID: <4DC44E18.4000304@anl.gov> I created a new list today at 13:42 (Mailman 2.1.14), and the "Description" field contained a "+" character, per the customer's request. At 14:00 I received an e-mail from From: root at lists.anl.gov Subject: + in description for LISTNAME I cannot find anywhere in the source where this mail is generated, and I do not know why Mailman objects to a "+" character in the "Description" field. There also is a "+" character in the "Info" field, but there is no complaint about that. What generated the e-mail message, and what is the problem with a "+" character in the "Description" field? Thanks. -- ---------------------------------------------------------------------- Barry S. Finkel Computing and Information Systems Division Argonne National Laboratory Phone: +1 (630) 252-7277 9700 South Cass Avenue Facsimile:+1 (630) 252-4601 Building 240, Room 5.B.8 Internet: BSFinkel at anl.gov Argonne, IL 60439-4828 IBMMAIL: I1004994 From Ralf.Hildebrandt at charite.de Fri May 6 22:17:55 2011 From: Ralf.Hildebrandt at charite.de (Ralf Hildebrandt) Date: Fri, 6 May 2011 22:17:55 +0200 Subject: [Mailman-Users] Strange E-mail Message About List Description In-Reply-To: <4DC44E18.4000304@anl.gov> References: <4DC44E18.4000304@anl.gov> Message-ID: <20110506201755.GB17507@charite.de> * Barry Finkel : > I created a new list today at 13:42 (Mailman 2.1.14), and the > "Description" field contained a "+" character, per the > customer's request. At 14:00 I received an e-mail from > > From: root at lists.anl.gov > Subject: + in description for LISTNAME > > I cannot find anywhere in the source where this mail is > generated, and I do not know why Mailman objects to a > "+" character in the "Description" field. There also is > a "+" character in the "Info" field, but there is no complaint > about that. What generated the e-mail message, and what is > the problem with a "+" character in the "Description" field? > Thanks. Depending on your setup of your MTA (which one?) mailing addresses with a "+" may be handle in unforeseen ways. Which is why I had to change the mailinglist c++-sig into cplusplus-sig here at python.org :| -- Ralf Hildebrandt Gesch?ftsbereich IT | Abteilung Netzwerk Charit? - Universit?tsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 | D-12203 Berlin Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962 ralf.hildebrandt at charite.de | http://www.charite.de From mark at msapiro.net Fri May 6 23:09:36 2011 From: mark at msapiro.net (Mark Sapiro) Date: Fri, 06 May 2011 14:09:36 -0700 Subject: [Mailman-Users] Strange E-mail Message About List Description In-Reply-To: <20110506201755.GB17507@charite.de> References: <4DC44E18.4000304@anl.gov> <20110506201755.GB17507@charite.de> Message-ID: <4DC46390.9080204@msapiro.net> On 5/6/2011 1:17 PM, Ralf Hildebrandt wrote: > * Barry Finkel : >> I created a new list today at 13:42 (Mailman 2.1.14), and the >> "Description" field contained a "+" character, per the >> customer's request. At 14:00 I received an e-mail from >> >> From: root at lists.anl.gov >> Subject: + in description for LISTNAME >> >> I cannot find anywhere in the source where this mail is >> generated, and I do not know why Mailman objects to a >> "+" character in the "Description" field. There also is >> a "+" character in the "Info" field, but there is no complaint >> about that. What generated the e-mail message, and what is >> the problem with a "+" character in the "Description" field? >> Thanks. > > Depending on your setup of your MTA (which one?) mailing addresses > with a "+" may be handle in unforeseen ways. > > Which is why I had to change the mailinglist c++-sig into > cplusplus-sig here at python.org :| However, that would affect the use of a '+' in the listname. It would have no effect on the use of '+' in the list's description. The list's description is used as the "real name" portion of the list posting address that can be added to a Reply-To: or Cc: or in the case of an anonymous list From: header, but it should be properly encoded or quoted. Mailman doesn't send this "+ in description for LISTNAME" message and doesn't generate messages From: root in any case. I suspect a non-GNU Mailman hourly cron. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From Ralf.Hildebrandt at charite.de Fri May 6 23:36:14 2011 From: Ralf.Hildebrandt at charite.de (Ralf Hildebrandt) Date: Fri, 6 May 2011 23:36:14 +0200 Subject: [Mailman-Users] Strange E-mail Message About List Description In-Reply-To: <4DC46390.9080204@msapiro.net> References: <4DC44E18.4000304@anl.gov> <20110506201755.GB17507@charite.de> <4DC46390.9080204@msapiro.net> Message-ID: <20110506213614.GC17507@charite.de> * Mark Sapiro : > > Depending on your setup of your MTA (which one?) mailing addresses > > with a "+" may be handle in unforeseen ways. > > > > Which is why I had to change the mailinglist c++-sig into > > cplusplus-sig here at python.org :| > > > However, that would affect the use of a '+' in the listname. Indeed. But an unusable list (like the notorious c++-sig) is no fun either > It would have no effect on the use of '+' in the list's description. > The list's description is used as the "real name" portion of the list > posting address that can be added to a Reply-To: or Cc: or in the case > of an anonymous list From: header, but it should be properly encoded or > quoted. > > Mailman doesn't send this "+ in description for LISTNAME" message and > doesn't generate messages From: root in any case. I suspect a non-GNU > Mailman hourly cron. Yup. -- Ralf Hildebrandt Gesch?ftsbereich IT | Abteilung Netzwerk Charit? - Universit?tsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 | D-12203 Berlin Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962 ralf.hildebrandt at charite.de | http://www.charite.de From joemailgroups at gmail.com Sun May 8 08:22:20 2011 From: joemailgroups at gmail.com (JRC Groups) Date: Sat, 07 May 2011 23:22:20 -0700 Subject: [Mailman-Users] Mailman list sends but doesn't receive mail. In-Reply-To: Message-ID: Mark and all members, Considering the mm_cfg.py file has been edited to display the following: MTA = 'Postfix' DEFAULT_EMAIL_HOST = 'domain.com' DEFAULT_URL_HOST = 'www.domain.com' VIRTUAL_HOSTS.clear() add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST) POSTFIX_STYLE_VIRTUAL_DOMAINS = ['domain.com'] VIRTUAL_HOST_OVERVIEW = Off Should I expect to find the name of the server (not the name of the domain) on any of the e-mail sent by Mailman to subscribers ? After discussing the case with several people and a little bit of research I have come across a solution that seems to have prevented the mm_cfg.py from being edited by Apple's Server Admin application. Changing permissions didn't work as it was still edited probably by a process running as root. I tried instead to lock the file using the chflags command and it seems to have worked. Now, as I make changes to system settings using Apple's Server Admin application the mm_cfg.py files remains as is and isn't changed back. The command I used was: sudo chflags uchg /usr/share/mailman/Mailman/mm_cfg.py This has allowed the mm_cfg.py configuration file to remain as above with the name of the domain associated with Mailman. As it was before, any changes made in Server Admin would cause the domain name to be replaced with the computer name 'a.main.private' and this would show on e-mails sent by Mailman. Assuming this change will be permanent and the domain name will remain in the configuration file, should I expect the computer name to show up on any of the mail sent out to subscribers by Mailman, including the one sent monthly to remind subscribers about list rules ? I have received some mail from Mailman that looks as follows: From: mailman-owner at a.main.private (sent by mailman-bounces at domain.com) Date: ... To: ... Subject: a.main.private mailing list memberships reminder Now that the configuration has been changed should I expect to see the domain name where the name of the server appears ? Or is it normal to have the server's name appear in some parts of mail sent by Mailman ? Thank you as always for your help. Best regards, Joe PS: content of the e-mail if it is helpful. This is a reminder, sent out once a month, about your a.main.private mailing list memberships. It includes your subscription info and how to use it to change it or unsubscribe from a list. You can visit the URLs to change your membership status or configuration, including unsubscribing, setting digest-style delivery or disabling delivery altogether (e.g., for a vacation), and so on. In addition to the URL interfaces, you can also use email to make such changes. For more info, send a message to the '-request' address of the list (for example, mailman-request at a.main.private) containing just the word 'help' in the message body, and an email message will be sent to you with instructions. If you have questions, problems, comments, etc, send them to mailman-owner at a.main.private. Thanks! Passwords for member1 at gmail.com: List Password // URL ---- -------- list1 at domain.com coceopxi http://www.domain.com/mailman/options/list1/member1%40gmail.com On 4/18/11 10:54 AM, "Mark Sapiro" wrote: > JRC Groups wrote: >> >> Since there is a process in Apple's Server Admin application that keeps >> changing Mailman's mm_cfg.py file I think it is safe to assume it expects to >> find this file there to keep it updated and its removal may likely cause a >> conflict. >> >> Would it be possible to have a copy of this file moved to a different >> location and have Mailman look at the different location for this file while >> leaving the old one behind as a "dummy" file so that Apple's System Admin >> application finds the file it expects to find ? The changes would not impact >> Mailman as the mm_cfg.py it is using for its configuration is the one in the >> new location. >> >> Do you think this would work ? > > > You would have to move the entire Mailman $prefix directory and then > you would have to edit the prefix in all files that reference it > including Defaults.py and all the paths.py files in Mailman's bin/, > cron/ and tests/ directories and the MTA aliases and apache config, > and you would have to set the new location in whatever Apple launchd > processes that start Mailman and run Mailman's 'cron' jobs, and that > would probably tell the Apple processes where the new mm_cfg.py was > anyway. > > It would be much easier to simply install Mailman from source in some > other location, move your lists and archives, update your MTA and > apache configs and tell Apple to quit running Mailman. > > -- > Mark Sapiro The highway is for gamblers, > San Francisco Bay Area, California better use your sense - B. Dylan > From mark at msapiro.net Sun May 8 17:27:02 2011 From: mark at msapiro.net (Mark Sapiro) Date: Sun, 8 May 2011 08:27:02 -0700 Subject: [Mailman-Users] List domain - was: Mailman list sends but doesn't receive mail. In-Reply-To: Message-ID: JRC Groups wrote: > >I have received some mail from Mailman that looks as follows: > >From: mailman-owner at a.main.private (sent by mailman-bounces at domain.com) >Date: ... >To: ... >Subject: a.main.private mailing list memberships reminder > >Now that the configuration has been changed should I expect to see the >domain name where the name of the server appears ? Or is it normal to have >the server's name appear in some parts of mail sent by Mailman ? Since the envelope sender (or Sender: header) is mailman-bounces at domain.com, we know Mailman is using the domain.com domain. The message Mailman creates will have the domain.com domain in all Mailman/List addresses. It is your outgoing MTA that is rewriting the domain of the From: header to a.main.private. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From joemailgroups at gmail.com Sun May 8 21:48:45 2011 From: joemailgroups at gmail.com (JRC Groups) Date: Sun, 08 May 2011 12:48:45 -0700 Subject: [Mailman-Users] List domain - was: Mailman list sends but doesn't receive mail. In-Reply-To: Message-ID: Mark, The message I shared was sent by Mailman prior to the changes I made to the mm_cfg.py file. Is it possible that the reason a.main.private appeared on the e-mail was because the configuration file was edited by Apple's Server Admin and displayed it instead of domain.com as it should ? In other words, if the configuration file was as follows: MTA = 'Postfix' DEFAULT_EMAIL_HOST = 'a.main.private' DEFAULT_URL_HOST = 'a.main.private' VIRTUAL_HOSTS.clear() add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST) POSTFIX_STYLE_VIRTUAL_DOMAINS = ['domain.com'] VIRTUAL_HOST_OVERVIEW = Off Would this generate the change in the e-mail sent by Mailman so that it would display the server name instead of the domain name ? Thank you again for your help. Joe On 5/8/11 8:27 AM, "Mark Sapiro" wrote: > JRC Groups wrote: >> >> I have received some mail from Mailman that looks as follows: >> >> From: mailman-owner at a.main.private (sent by mailman-bounces at domain.com) >> Date: ... >> To: ... >> Subject: a.main.private mailing list memberships reminder >> >> Now that the configuration has been changed should I expect to see the >> domain name where the name of the server appears ? Or is it normal to have >> the server's name appear in some parts of mail sent by Mailman ? > > > Since the envelope sender (or Sender: header) is > mailman-bounces at domain.com, we know Mailman is using the domain.com > domain. The message Mailman creates will have the domain.com domain in > all Mailman/List addresses. > > It is your outgoing MTA that is rewriting the domain of the From: > header to a.main.private. From mark at msapiro.net Mon May 9 00:46:49 2011 From: mark at msapiro.net (Mark Sapiro) Date: Sun, 8 May 2011 15:46:49 -0700 Subject: [Mailman-Users] List domain - was: Mailman list sends but doesn'treceive mail. In-Reply-To: Message-ID: JRC Groups > >The message I shared was sent by Mailman prior to the changes I made to the >mm_cfg.py file. Is it possible that the reason a.main.private appeared on >the e-mail was because the configuration file was edited by Apple's Server >Admin and displayed it instead of domain.com as it should ? > >In other words, if the configuration file was as follows: > >MTA = 'Postfix' >DEFAULT_EMAIL_HOST = 'a.main.private' >DEFAULT_URL_HOST = 'a.main.private' >VIRTUAL_HOSTS.clear() >add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST) >POSTFIX_STYLE_VIRTUAL_DOMAINS = ['domain.com'] >VIRTUAL_HOST_OVERVIEW = Off > >Would this generate the change in the e-mail sent by Mailman so that it >would display the server name instead of the domain name ? > >> JRC Groups wrote: >>> >>> I have received some mail from Mailman that looks as follows: >>> >>> From: mailman-owner at a.main.private (sent by mailman-bounces at domain.com) >>> Date: ... >>> To: ... >>> Subject: a.main.private mailing list memberships reminder Probably, but you need to look at the full raw headers of the message rather than what's displayed as From: by some MUA. with VIRTUAL_HOST_OVERVIEW Off, there are potentially 3 domains involved. These are the DEFAULT_EMAIL_HOST domain, the host_name attribute of the 'mailman' list and the 'host_name' attribute of the individual lists. The list(s) in the body of the password reminder are identified as list at domain. This domain is the host_name attribute of the list. This only appears in the body, not in the headers of the reminder. Additionally, the reminder is From: mailman-owner at domain where domain is DEFAULT_EMAIL_HOST, but the envelope sender (Return-Path: header) and the Sender: and Errors-To: headers are all mailman-bounces at domain where domain is the host_name attribute of the 'mailman' list. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From tarigan.reza at gmail.com Mon May 9 06:58:25 2011 From: tarigan.reza at gmail.com (Reza Tarigan) Date: Mon, 9 May 2011 11:58:25 +0700 Subject: [Mailman-Users] [ASK] Too Many Hops In-Reply-To: References: Message-ID: The problem is the aliases.. Many thanks Mark. ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- > The above Postfix log from milis shows that this postfix does not know > how to deliver the mail addressed to tesmilis at surat.my.domain to > Mailman and instead is just relaying it back to the MX (mx2.my.domain) > for the surat.my.domain domain which presumably sends it back to > milis, thus the loop. > > Have you installed aliases and perhaps virtual maps for the > tesmilis*@surat.my.domain addresses in Postfix on milis? > > Did you do the step > > ------------------------- > Edit and update /etc/aliases as directed by the output of the 'newlist' > command. Run > > $ /usr/bin/newaliases > > to update the aliases table to include the mailing list addresses. > ------------------------- > > in section 3 of the above wiki? > > If so, the issue is probably that milis does not consider > surat.my.domain to ba a local domain. You either need to add it to > mydestination in Postfix's main.cf on milis, or you need > virtual_alias_maps for the list addresses. > > See . From bsfinkel at anl.gov Mon May 9 18:42:02 2011 From: bsfinkel at anl.gov (Barry Finkel) Date: Mon, 09 May 2011 11:42:02 -0500 Subject: [Mailman-Users] Strange E-mail Message About List Description In-Reply-To: <4DC46390.9080204@msapiro.net> References: <4DC44E18.4000304@anl.gov> <20110506201755.GB17507@charite.de> <4DC46390.9080204@msapiro.net> Message-ID: <4DC8195A.1010606@anl.gov> I wrote last Friday: > I created a new list today at 13:42 (Mailman 2.1.14), and the > "Description" field contained a "+" character, per the > customer's request. At 14:00 I received an e-mail from > > From: root at lists.anl.gov > Subject: + in description for LISTNAME > > I cannot find anywhere in the source where this mail is > generated, and I do not know why Mailman objects to a > "+" character in the "Description" field. There also is > a "+" character in the "Info" field, but there is no complaint > about that. What generated the e-mail message, and what is > the problem with a "+" character in the "Description" field? > Thanks. I found the problem. We do not like the Mailman "home" page, as it lists all of the advertised lists in alphabetical order. We have revised the page to list the lists by category. In each list I have a category string appended to the description field. I take the Mailman-generated "home" page, extract the list names, info strings, and category strings, and I generate an XML file. This is then used to produce the new "home" page. A "+" character in an "info=" string will cause confusion in the XML file, which contains its own "+" characters. My awk script was producing the message, and the message from the awk script did not give the source. -- ---------------------------------------------------------------------- Barry S. Finkel Computing and Information Systems Division Argonne National Laboratory Phone: +1 (630) 252-7277 9700 South Cass Avenue Facsimile:+1 (630) 252-4601 Building 240, Room 5.B.8 Internet: BSFinkel at anl.gov Argonne, IL 60439-4828 IBMMAIL: I1004994 From joemailgroups at gmail.com Tue May 10 07:14:41 2011 From: joemailgroups at gmail.com (JRC Groups) Date: Mon, 09 May 2011 22:14:41 -0700 Subject: [Mailman-Users] List domain - was: Mailman list sends but doesn'treceive mail. In-Reply-To: Message-ID: Mark, Is there a way to force Mailman to send this password reminder e-mails so that I can see what the message looks like now that I have been able to edit and lock the mm_cfg.py file ? I would like to verify if this has fixed the problem and also look at the headers. Thank you, Joe On 5/8/11 3:46 PM, "Mark Sapiro" wrote: > JRC Groups >> >> The message I shared was sent by Mailman prior to the changes I made to the >> mm_cfg.py file. Is it possible that the reason a.main.private appeared on >> the e-mail was because the configuration file was edited by Apple's Server >> Admin and displayed it instead of domain.com as it should ? >> >> In other words, if the configuration file was as follows: >> >> MTA = 'Postfix' >> DEFAULT_EMAIL_HOST = 'a.main.private' >> DEFAULT_URL_HOST = 'a.main.private' >> VIRTUAL_HOSTS.clear() >> add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST) >> POSTFIX_STYLE_VIRTUAL_DOMAINS = ['domain.com'] >> VIRTUAL_HOST_OVERVIEW = Off >> >> Would this generate the change in the e-mail sent by Mailman so that it >> would display the server name instead of the domain name ? >> >>> JRC Groups wrote: >>>> >>>> I have received some mail from Mailman that looks as follows: >>>> >>>> From: mailman-owner at a.main.private (sent by mailman-bounces at domain.com) >>>> Date: ... >>>> To: ... >>>> Subject: a.main.private mailing list memberships reminder > > > Probably, but you need to look at the full raw headers of the message > rather than what's displayed as From: by some MUA. > > with VIRTUAL_HOST_OVERVIEW Off, there are potentially 3 domains > involved. These are the DEFAULT_EMAIL_HOST domain, the host_name > attribute of the 'mailman' list and the 'host_name' attribute of the > individual lists. > > The list(s) in the body of the password reminder are identified as > list at domain. This domain is the host_name attribute of the list. This > only appears in the body, not in the headers of the reminder. > > Additionally, the reminder is From: mailman-owner at domain where domain > is DEFAULT_EMAIL_HOST, but the envelope sender (Return-Path: header) > and the Sender: and Errors-To: headers are all mailman-bounces at domain > where domain is the host_name attribute of the 'mailman' list. From joemailgroups at gmail.com Tue May 10 07:25:02 2011 From: joemailgroups at gmail.com (JRC Groups) Date: Mon, 09 May 2011 22:25:02 -0700 Subject: [Mailman-Users] List domain - was: Mailman list sends but doesn't receive mail. In-Reply-To: Message-ID: Mark, Any ideas as to why this is happening and how to fix it ? On 5/8/11 8:27 AM, "Mark Sapiro" wrote: > Since the envelope sender (or Sender: header) is > mailman-bounces at domain.com, we know Mailman is using the domain.com > domain. The message Mailman creates will have the domain.com domain in > all Mailman/List addresses. > > It is your outgoing MTA that is rewriting the domain of the From: > header to a.main.private. Thank you, Joe From mark at msapiro.net Tue May 10 08:07:47 2011 From: mark at msapiro.net (Mark Sapiro) Date: Mon, 9 May 2011 23:07:47 -0700 Subject: [Mailman-Users] List domain - was: Mailman list sends but doesn'treceive mail. In-Reply-To: Message-ID: JRC Groups wrote: > >Any ideas as to why this is happening and how to fix it ? The statement quoted below is superceded by the answer at . It is probably not correct in this case. Monthly password reminders are an exception. >On 5/8/11 8:27 AM, "Mark Sapiro" wrote: > >> Since the envelope sender (or Sender: header) is >> mailman-bounces at domain.com, we know Mailman is using the domain.com >> domain. The message Mailman creates will have the domain.com domain in >> all Mailman/List addresses. >> >> It is your outgoing MTA that is rewriting the domain of the From: >> header to a.main.private. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Tue May 10 08:09:14 2011 From: mark at msapiro.net (Mark Sapiro) Date: Mon, 9 May 2011 23:09:14 -0700 Subject: [Mailman-Users] List domain - was: Mailman list sends butdoesn'treceive mail. In-Reply-To: Message-ID: JRC Groups wrote: > >Is there a way to force Mailman to send this password reminder e-mails so >that I can see what the message looks like now that I have been able to edit >and lock the mm_cfg.py file ? I would like to verify if this has fixed the >problem and also look at the headers. See "cron/mailpasswds --help". -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From dap1 at bellsouth.net Tue May 10 15:24:16 2011 From: dap1 at bellsouth.net (Dennis Putnam) Date: Tue, 10 May 2011 09:24:16 -0400 Subject: [Mailman-Users] Monthly Reminder Problem In-Reply-To: <20110510131533.GF18717@charite.de> References: <4DC281F5.8010504@bellsouth.net> <20110505111834.GJ23316@charite.de> <4DC28FD0.20805@bellsouth.net> <20110505132114.GW23316@charite.de> <4DC2AC76.7020209@bellsouth.net> <20110505140549.GY23316@charite.de> <4DC81F7B.6020609@bellsouth.net> <20110510090813.GD18717@charite.de> <4DC935AC.1000609@bellsouth.net> <20110510131533.GF18717@charite.de> Message-ID: <4DC93C80.9080402@bellsouth.net> Thanks for the help. Should we take this off list, since this seems unique, or do you think the list would be interested? On 5/10/2011 9:15 AM, Ralf Hildebrandt wrote: > * Dennis Putnam : >> I have gotten some feedback from my list members. It seems no one got >> the message although the log shows they all were accepted by my ISP. I'm >> stuck. > So you'll have to got the bcc route and find out WHAT PHRASE EXACTLY > causes the mail to be stuck. > > I can help, since I find this highly interesting :) >> On 5/10/2011 5:08 AM, Ralf Hildebrandt wrote: >>> * Dennis Putnam : >>>> As a followup, there is something definitely weird going on but I am >>>> pretty sure it is not a mailman problem per se. I am still waiting for >>>> some feedback from my list members but it appears that the problem is my >>>> own email address. >>> Very very odd. Meaning you're the only person NOT to receive the mails? >>> >>>> I can and do get other messages as both the list owner and a member but >>>> not this particular one. However, as I said before, the message is >>>> definitely being accepted by my ISP's mail server. This is probably >>>> going to be one of those unsolvable problems with my ISP unless there >>>> are other list members that did not receive the reminder. >>>> >>>> Thanks for your help. >>>> >>>> On 5/5/2011 10:05 AM, Ralf Hildebrandt wrote: >>>>>>> Well, you can use: >>>>>>> >>>>>>> recipient_bcc_maps = hash:/etc/postfix/recipient_bcc_maps >>>>>>> >>>>>>> containing >>>>>>> dap1 at bellsouth.net someaccount at localhost >>>>>>> then "postmap /etc/postfix/recipient_bcc_maps" >>>>>>> >>>>>>> which would then deliver a copy of EVERY mail sent to >>>>>>> dap1 at bellsouth.net in copy to someaccount at localhost >>>>>> Ohhhh! You meant in Postfix. I thought you were talking about mailman. >>>>>> Interesting idea, I'll give it a try. >>>>> All you THEN have to do is to coax mailman into actually sending such >>>>> a mail :) >>>>> >>>>>>> Once you have a copy of the faulty mail at the mailbox for >>>>>>> someaccount at localhost you can always do stuff like: >>>>>>> >>>>>>> cat themail.txt | sendmail -i -f mailman-bounces at bellsouth.net dap1 at bellsouth.net >>>>>> Another good idea I didn't think of that I can try with any text. That >>>>>> would at least confirm if from is the culprit. >>>>> You can then use an editor to remove portions from, the email UNTIL it >>>>> arrives at bellsouth! >>>>> >>>>>> Thanks for the suggestions. I'll try them and get back if nothing >>>>>> definitive shows up. >>>>> Just let me know if you encounter any problems. I find this highly >>>>> interesting :) >>>>> >>> >> > > -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 259 bytes Desc: OpenPGP digital signature URL: From mark at msapiro.net Tue May 10 17:56:55 2011 From: mark at msapiro.net (Mark Sapiro) Date: Tue, 10 May 2011 08:56:55 -0700 Subject: [Mailman-Users] Monthly Reminder Problem In-Reply-To: <4DC93C80.9080402@bellsouth.net> Message-ID: Dennis Putnam wrote: > >Thanks for the help. Should we take this off list, since this seems >unique, or do you think the list would be interested? It seems most of this thread was off list until now. >On 5/10/2011 9:15 AM, Ralf Hildebrandt wrote: >> * Dennis Putnam : >>> I have gotten some feedback from my list members. It seems no one got >>> the message although the log shows they all were accepted by my ISP. I'm >>> stuck. >> So you'll have to got the bcc route and find out WHAT PHRASE EXACTLY >> causes the mail to be stuck. >> >> I can help, since I find this highly interesting :) As I understand it, Mailman delivers outgoing mail via a local Postfix which in turn relays all mail through your own ISP (mail.bellsouth.net). The problem you see is that monthly password reminders, and only monthly password reminders get discarded somewhere between mail.bellsouth.net and the recipients. There are two things unique about password reminders: 1) They are sent from the 'mailman' site list and thus have envelope from mailman-bounces at ... Most other mail is from a non-site list and has envelope from listname-bounces where listname is not mailman. You mentioned in your first post that mailman-bounces doesn't exist. Why not? 'mailman is a list and has a full set of 10 mailman*@... addresses just like any other list. These should all be deliverable. 2) They are ubiquitous - so much so that in some circles, the first of the month is known as "Mailman day". This can cause some spam filters to flag reminders as spam. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From rpschwar at knology.net Tue May 10 20:29:22 2011 From: rpschwar at knology.net (rpschwar at knology.net) Date: Tue, 10 May 2011 14:29:22 -0400 Subject: [Mailman-Users] mime type of psd file Message-ID: <8397.1305052162@knology.net> Just tried: image/vnd.adobe.photoshop as suggested. Still did not work. How do you look at the raw message to see what the Content_type: header for the attached part says it will be? What is the mime type of a psd file? I have tried : application/octet-stream image/psd image/x-psd and they don't work. Robert From mark at msapiro.net Tue May 10 22:05:59 2011 From: mark at msapiro.net (Mark Sapiro) Date: Tue, 10 May 2011 13:05:59 -0700 Subject: [Mailman-Users] mime type of psd file In-Reply-To: <8397.1305052162@knology.net> Message-ID: rpschwar at knology.net wrote: >Just tried: >image/vnd.adobe.photoshop > >as suggested. Still did not work. How do you look at the raw message to see what the Content_type: header for the attached >part says it will be? It depends on your mail client, but often it is something like "view message source". Looking at the Content-Type: header of an actual message attachment is the definitive way to find what type you are getting, but you could look at, e.g., for other suggestions although none of the types listed there are actually registered with IANA (see ). -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From Ralf.Hildebrandt at charite.de Tue May 10 22:52:55 2011 From: Ralf.Hildebrandt at charite.de (Ralf Hildebrandt) Date: Tue, 10 May 2011 22:52:55 +0200 Subject: [Mailman-Users] Monthly Reminder Problem In-Reply-To: References: <4DC93C80.9080402@bellsouth.net> Message-ID: <20110510205255.GD3356@charite.de> * Mark Sapiro : > As I understand it, Mailman delivers outgoing mail via a local Postfix > which in turn relays all mail through your own ISP > (mail.bellsouth.net). The problem you see is that monthly password > reminders, and only monthly password reminders get discarded somewhere > between mail.bellsouth.net and the recipients. Correct. > There are two things unique about password reminders: > > 1) They are sent from the 'mailman' site list and thus have envelope > from mailman-bounces at ... Most other mail is from a non-site list and > has envelope from listname-bounces where listname is not mailman. You > mentioned in your first post that mailman-bounces doesn't exist. Why > not? 'mailman is a list and has a full set of 10 mailman*@... > addresses just like any other list. These should all be deliverable. Indeed. > 2) They are ubiquitous - so much so that in some circles, the first of > the month is known as "Mailman day". This can cause some spam filters > to flag reminders as spam. Also, they contain phishing like phrasing. -- Ralf Hildebrandt Gesch?ftsbereich IT | Abteilung Netzwerk Charit? - Universit?tsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 | D-12203 Berlin Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962 ralf.hildebrandt at charite.de | http://www.charite.de From pasquale_vitale at hotmail.com Wed May 11 12:25:01 2011 From: pasquale_vitale at hotmail.com (pasquale vitale) Date: Wed, 11 May 2011 12:25:01 +0200 Subject: [Mailman-Users] =?windows-1256?q?How_can_I_use_mailman_from_java_?= =?windows-1256?q?web_app=FE?= Message-ID: Hi all, I wish to connect my web app written in java with the mailman server. Is it possible? Could you help me? Have you any idea? Any suggestion is well accepted. Best regards Pasquy From davejones70 at gmail.com Wed May 11 15:45:34 2011 From: davejones70 at gmail.com (Dave Jones) Date: Wed, 11 May 2011 08:45:34 -0500 Subject: [Mailman-Users] clone_member hangs Message-ID: I am having the same problem as this thread: http://mail.python.org/pipermail/mailman-users/2008-April/061087.html I have run the 'ls -U' command and know the problem list but I am not able to find any mailman lock files on my server and the above link does not mention the location of the lock files (or at least a link that might is broken). I am running CentOS 5.6 and the problem didn't exist a couple of months ago when I was on CentOS 5.5 and a previous version of mailman. The list it's hanging on was created a few days ago so unfortunately multiple things have changed to complicate the troubleshooting of the root cause. # rpm -q mailman mailman-2.1.9-6.el5_6.1 Thanks, Dave From mark at msapiro.net Wed May 11 16:12:17 2011 From: mark at msapiro.net (Mark Sapiro) Date: Wed, 11 May 2011 07:12:17 -0700 Subject: [Mailman-Users] =?utf-8?q?How_can_I_use_mailman_from_java_web_app?= =?utf-8?b?4oCP?= In-Reply-To: References: Message-ID: <4DCA9941.7090405@msapiro.net> On 5/11/2011 3:25 AM, pasquale vitale wrote: > > Hi all, > > I wish to connect my web app written in java with the mailman server. > > Is it possible? See the FAQ at . -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From llprevo at gmail.com Tue May 10 21:32:20 2011 From: llprevo at gmail.com (Larry Prevo) Date: Tue, 10 May 2011 15:32:20 -0400 Subject: [Mailman-Users] Problem with delivery Message-ID: <74CB1B50136D4746A2DD2E246D3F4074@HomePC> I got a email this morning telling me. I was going to be disable because of bad mail delivery I don't know what address fail can you tell me larry at prevo.net my mail list kofc4090.org From Ralf.Hildebrandt at charite.de Wed May 11 16:18:20 2011 From: Ralf.Hildebrandt at charite.de (Ralf Hildebrandt) Date: Wed, 11 May 2011 16:18:20 +0200 Subject: [Mailman-Users] Problem with delivery In-Reply-To: <74CB1B50136D4746A2DD2E246D3F4074@HomePC> References: <74CB1B50136D4746A2DD2E246D3F4074@HomePC> Message-ID: <20110511141820.GV28637@charite.de> * Larry Prevo : > I got a email this morning telling me. I was going to be disable because of bad mail delivery > I don't know what address fail can you tell me > larry at prevo.net my mail list kofc4090.org Please show the exact mail you received. Also note that I already answered to your question yesterday. Was there anything unclear about my answer? -- Ralf Hildebrandt Gesch?ftsbereich IT | Abteilung Netzwerk Charit? - Universit?tsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 | D-12203 Berlin Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962 ralf.hildebrandt at charite.de | http://www.charite.de From mark at msapiro.net Wed May 11 16:38:31 2011 From: mark at msapiro.net (Mark Sapiro) Date: Wed, 11 May 2011 07:38:31 -0700 Subject: [Mailman-Users] Problem with delivery In-Reply-To: <74CB1B50136D4746A2DD2E246D3F4074@HomePC> Message-ID: Larry Prevo wrote: >I got a email this morning telling me. I was going to be disable because of bad mail delivery >I don't know what address fail can you tell me >larry at prevo.net my mail list kofc4090.org The bouncing address is in the To: header of the notice you received. When I replied to the message you sent yesterday to mailman-users-owner, I was under the impression that the bounce you received was from the mailman-users at python.org list. If it was some other, non-python.org list, you'll need to follow up with the admins of that server/list to get more information than is in the disable notification. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Wed May 11 16:47:02 2011 From: mark at msapiro.net (Mark Sapiro) Date: Wed, 11 May 2011 07:47:02 -0700 Subject: [Mailman-Users] clone_member hangs In-Reply-To: Message-ID: Dave Jones wrote: >I am having the same problem as this thread: >http://mail.python.org/pipermail/mailman-users/2008-April/061087.html > >I have run the 'ls -U' command and know the problem list but I am not able >to find any mailman lock files on my server and the above link does not >mention the location of the lock files (or at least a link that might is >broken). [...] >mailman-2.1.9-6.el5_6.1 Lock files can be anywhere depending on how you configured Mailman, but in the above RedHat/Centos RPM install, they are in /var/lock/mailman/. See the FAQ at . -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From alabandit at gmail.com Thu May 12 10:53:52 2011 From: alabandit at gmail.com (Alastair Mason) Date: Thu, 12 May 2011 10:53:52 +0200 Subject: [Mailman-Users] Inserting usernames Message-ID: Hi This questions most likely been asked before but I couldn't find an answer on google or the FAQ. How do I insert the users name in to a email to personalise it? I am using Mailman to update a list when new events happen with in our NGO. Thanks for your help From mcmcfall at gmail.com Thu May 12 18:52:31 2011 From: mcmcfall at gmail.com (Mike McFall) Date: Thu, 12 May 2011 12:52:31 -0400 Subject: [Mailman-Users] Missing emails Message-ID: I have a problem with emails that go missing when people respond or send them to the list. It appears to be random. I sent an email to my list, and it didn't get sent out by the list. Anyone else have this issue, or know what might be happening? Thanks! Mike From mark at msapiro.net Thu May 12 18:55:39 2011 From: mark at msapiro.net (Mark Sapiro) Date: Thu, 12 May 2011 09:55:39 -0700 Subject: [Mailman-Users] Inserting usernames In-Reply-To: Message-ID: Alastair Mason wrote: > >How do I insert the users name in to a email to personalise it? I am >using Mailman to update a list when new events happen with in our NGO. If the list is personalized, you can insert the recipient's name in msh_header or msg_footer. This may or may not be a satisfactory solution for you. See the FAQs at and . -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From odhiambo at gmail.com Thu May 12 18:57:06 2011 From: odhiambo at gmail.com (Odhiambo Washington) Date: Thu, 12 May 2011 19:57:06 +0300 Subject: [Mailman-Users] Missing emails In-Reply-To: References: Message-ID: On Thu, May 12, 2011 at 19:52, Mike McFall wrote: > I have a problem with emails that go missing when people respond or send > them to the list. It appears to be random. > > I sent an email to my list, and it didn't get sent out by the list. > > Anyone else have this issue, or know what might be happening? > > Please check your SMTP logs alongside Mailman's logs. This has happened to me and it turned out that some filtering configs on Mailman caused the problem. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ I can't hear you -- I'm using the scrambler. Please consider the environment before printing this email. From mark at msapiro.net Thu May 12 18:59:47 2011 From: mark at msapiro.net (Mark Sapiro) Date: Thu, 12 May 2011 09:59:47 -0700 Subject: [Mailman-Users] Missing emails In-Reply-To: Message-ID: Mike McFall wrote: >I have a problem with emails that go missing when people respond or send >them to the list. It appears to be random. Random missing emails are usually due to spam filtering by the recipient's ISP, but you can check Mailman's bounce and smtp-failure logs and the MTA logs (if you have access) for delivery problems. >I sent an email to my list, and it didn't get sent out by the list. Are you sure it wasn't sent? See the FAQ at . -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From alabandit at gmail.com Fri May 13 10:09:31 2011 From: alabandit at gmail.com (Alastair Mason) Date: Fri, 13 May 2011 10:09:31 +0200 Subject: [Mailman-Users] Inserting usernames In-Reply-To: References: Message-ID: Thanks Mark, that's exactly what I need to know! On Thu, May 12, 2011 at 6:55 PM, Mark Sapiro wrote: > Alastair Mason wrote: >> >>How do I insert the users name in to a email to personalise it? I am >>using Mailman to update a list when new events happen with in our NGO. > > > If the list is personalized, you can insert the recipient's name in > msh_header or msg_footer. This may or may not be a satisfactory > solution for you. See the FAQs at and > . > > -- > Mark Sapiro ? ? ? ?The highway is for gamblers, > San Francisco Bay Area, California ? ?better use your sense - B. Dylan > > From dyoung at mesd.k12.or.us Fri May 13 23:26:33 2011 From: dyoung at mesd.k12.or.us (Dan Young) Date: Fri, 13 May 2011 14:26:33 -0700 Subject: [Mailman-Users] remove member with \t in address Message-ID: Hi all, I've got a few members subscribed with a leading tab character in their mail address. Can't seem to get them unsubscribed with either the web interface, remove_members, or sync_members. This fails: # /usr/lib/mailman/bin/remove_members list_name ' username at example.org' No such member: username at example.org I'm generating the tab character in bash w/ ctrl-v ctrl-i. Using dumpdb to dump the config.pck, I see: 'members': { '\tusername at example.org':0, .... This also fails: # remove_members list_name '\tusername at example.org' No such member: \tusername at example.org I'm stumped here. Do I need to craft a script to run through withlist to edit the members dict directly? -- Dan Young Multnomah ESD - Technology Services 503-257-1562 From ludo.joosen at sint-norbertus.be Sat May 14 12:51:37 2011 From: ludo.joosen at sint-norbertus.be (Ludo Joosen) Date: Sat, 14 May 2011 12:51:37 +0200 Subject: [Mailman-Users] bounces not working Message-ID: <001c01cc1224$e65737e0$b305a7a0$@joosen@sint-norbertus.be> Hello, I have set up a number of mailing lists for internal communication in our school and everything looks fine, only I (list owner) do not get any mention when a particular address cannot be reached or is running out of mailbox space. Does anybody have any idea what I might be doing wrong? I expect this has to do with bounces settings??? These are the settings I am using. If anybody could help me find a solution, I'd be much obliged. Ludo From mark at msapiro.net Sat May 14 16:18:17 2011 From: mark at msapiro.net (Mark Sapiro) Date: Sat, 14 May 2011 07:18:17 -0700 Subject: [Mailman-Users] remove member with \t in address In-Reply-To: Message-ID: Dan Young wrote: > >I've got a few members subscribed with a leading tab character in >their mail address. Can't seem to get them unsubscribed with either >the web interface, remove_members, or sync_members. 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 Sat May 14 16:32:42 2011 From: mark at msapiro.net (Mark Sapiro) Date: Sat, 14 May 2011 07:32:42 -0700 Subject: [Mailman-Users] bounces not working In-Reply-To: <001c01cc1224$e65737e0$b305a7a0$@joosen@sint-norbertus.be> Message-ID: Ludo Joosen wrote: > >I have set up a number of mailing lists for internal communication in our >school and everything looks fine, only I (list owner) do not get any mention >when a particular address cannot be reached or is running out of mailbox >space. Does anybody have any idea what I might be doing wrong? > >I expect this has to do with bounces settings??? > >These are the settings I am using. Your graphic (and HTML) were removed by this list's content filtering, but your settings bounce_processing: Yes bounce_score_threshold: 1.0 bounce_info_stale_after: 7 bounce_you_are_disabled_warnings: 3 bounce_you_are_disabled_warnings_interval: 7 bounce_unrecognized_goes_to_list_owner: Yes bounce_notify_owner_on_disable: Yes bounce_notify_owner_on_removal: Yes are fine. The user's delivery should be disabled on the first bounce and she will be sent three warnings at 7 day intervals and then removed. What do you see in Mailman's 'bounce' and 'smtp-failure' logs? What do you see in the MTA's logs? What Mailman version is this? If it is 2.1.5 or if VERP_PROBES = Yes in mm_cfg.py or if other VERP settings are enabled in mm_cfg.py, can your MTA properly handle the VERPed addresses? Do you have appropriate aliases for the LIST-bounces at ... addresses? -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From dyoung at mesd.k12.or.us Sat May 14 17:36:40 2011 From: dyoung at mesd.k12.or.us (Dan Young) Date: Sat, 14 May 2011 08:36:40 -0700 Subject: [Mailman-Users] remove member with \t in address In-Reply-To: References: Message-ID: On Sat, May 14, 2011 at 7:18 AM, Mark Sapiro wrote: > Dan Young wrote: >> >>I've got a few members subscribed with a leading tab character in >>their mail address. Can't seem to get them unsubscribed with either >>the web interface, remove_members, or sync_members. > > > See the FAQ at . Wow, thanks. I swear I usually read FAQs before posting to MLs. My Google searches didn't hit that. Sorry for the noise... -- Dan Young Multnomah ESD - Technology Services 503-257-1562 From mprewitt at teris.com Tue May 17 01:12:44 2011 From: mprewitt at teris.com (Mark Prewitt) Date: Mon, 16 May 2011 16:12:44 -0700 Subject: [Mailman-Users] Question after 10.6.7 upgrade on osx server Message-ID: <01a301cc141e$c3a18a60$4ae49f20$@com> Good Day, We just upgraded our OSX server from 10.6.5 to 10.6.7, and it was kind enough to nuke our Mailman defaults.py file. We had setup defaults in this so that the include_sender_header always defaulted to 'no' when a new list was created, but apparently, no one remembers how we did this (including me). I cannot find it in the documentation. This upgrade put us at 2.1.14 as the version. I do have the "Allow Sender overrides" set to yes, and we can fix it by going in to each list we have manually and setting the option to 'no' for our lists. However, we'd like to pre-set as many options as possible for when new lists are created. We use this feature for internal project lists and we create and delete lists constantly. I thought I could just put in the variable 'include_sender_header = No' in the mm_cfg.py file and it might work, but that didn't. Help? Mark Mark Prewitt Director of IT M: 503.984.9700 O: 206.521.8717 Seattle | San Francisco | Silicon Valley | San Diego | Phoenix | Austin | Dallas | Houston | Chicago ---------------------------------------------------- NOTICE: This communication may contain privileged or confidential information and is protected from disclosure. If you have received this email in error, please delete this message and any attachments without replying, copying, or disclosing the contents and if possible inform the sender of the error. Thank you. From mark at msapiro.net Tue May 17 06:05:14 2011 From: mark at msapiro.net (Mark Sapiro) Date: Mon, 16 May 2011 21:05:14 -0700 Subject: [Mailman-Users] Question after 10.6.7 upgrade on osx server In-Reply-To: <01a301cc141e$c3a18a60$4ae49f20$@com> Message-ID: Mark Prewitt wrote: > >We just upgraded our OSX server from 10.6.5 to 10.6.7, and it was kind >enough to nuke our Mailman defaults.py file. It is not clear whether or not you had actually changed Defaults.py, but if you had, this is why you shouldn't have. All changes should be made in mm_cfg.py which should survive an upgrade unless Apple does something wrong. >We had setup defaults in this so that the include_sender_header always >defaulted to 'no' when a new list was created, but apparently, no one >remembers how we did this (including me). > >I cannot find it in the documentation. This upgrade put us at 2.1.14 as the >version. You must have been at 2.1.14 before as that is the first release with include_sender_header. You can't find anything in the documentation about a setting for the default value of include_sender_header because there isn't one. If you want to default it to No for new lists, you have to patch Mailman/MailList.py around line 366 to change self.include_sender_header = 1 to self.include_sender_header = 0 >I do have the "Allow Sender overrides" set to yes, and we can fix it by >going in to each list we have manually and setting the option to 'no' for >our lists. See the FAQ at . >However, we'd like to pre-set as many options as possible for when new lists >are created. We use this feature for internal project lists and we create >and delete lists constantly. > > > >I thought I could just put in the variable 'include_sender_header = No' in >the mm_cfg.py file and it might work, but that didn't. If a setting isn't in Defaults.py, it isn't referenced, and putting it in mm_cfg.py, no matter how logical it seems, does nothing. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From s.p.foster at leeds.ac.uk Tue May 17 10:34:45 2011 From: s.p.foster at leeds.ac.uk (Steve Foster) Date: Tue, 17 May 2011 09:34:45 +0100 (BST) Subject: [Mailman-Users] Digests and multipart/alternative Message-ID: Hi Folks, We have a slight oddity where we have list admins who re-send/forward announcements and news email to lists... the problem appears to be when the source email is encoded base64, the digest and archive emails are not readable see below The sender is using MS Outlook, so if there any quirks there please advise. Cheers Steve ________________________________________________________________________ -----Original Message----- From: esslnet-bounces at lists.leeds.ac.uk [mailto:esslnet-bounces at lists.leeds.ac.uk] On Behalf Of esslnet -request at lists.leeds.ac.uk Sent: 11 March 2011 15:25 To: esslnet at lists.leeds.ac.uk Subject: Esslnet Digest, Vol 345, Issue 16 Send Esslnet mailing list submissions to esslnet at lists.leeds.ac.uk To subscribe or unsubscribe via the World Wide Web, visit http://lists.leeds.ac.uk/mailman/listinfo/esslnet or, via email, send a message with subject or body 'help' to esslnet-request at lists.leeds.ac.uk You can reach the person managing the list at esslnet-owner at lists.leeds.ac.uk When replying, please edit your Subject line so it is more specific than "Re: Contents of Esslnet digest..." Today's Topics: 1. ESRC eNews March 2011 (Annette Caplan) ---------------------------------------------------------------------- Message: 1 Date: Fri, 11 Mar 2011 15:24:34 +0000 From: Annette Caplan To: "'esslnet at lists.leeds.ac.uk'" Subject: [Esslnet] ESRC eNews March 2011 Message-ID: <1982471554F6EC44B684F9CBFFA539C003CD6E7B39E0 at HERMES10.admin.ds.leeds.ac.uk> Content-Type: multipart/alternative; boundary="_000_1982471554F6EC44B684F9CBFFA539C003CD6E7B39E0HERMES10adm_" --_000_1982471554F6EC44B684F9CBFFA539C003CD6E7B39E0HERMES10adm_ Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 DQoNCltodHRwOi8vd3d3LmVtYWlsLWxvZ2l4LmNvLnVrL2FkbWluL3RlbXAvbmV3c2xldHRlcnMv MTk5MC9lbmV3cy1iYW5uZXItaW1nLmpwZ10NCg0KW2h0dHA6Ly93d3cuZW1haWwtbG9naXguY28u dWsvYWRtaW4vdGVtcC9uZXdzbGV0dGVycy8xOTkwL2VuZXdzJTIwYmFubmVyJTIwdHh0LmpwZ10N Cg0KV29ya2luZyB0b2dldGhlciAtIHdlIHdhbnQgeW91ciB2aWV3czxodHRwOi8vd3d3LmVtYWls -- Steve Foster Email: s.p.foster at leeds.ac.uk Unix team Phone: 0113 343 7225 Information Systems Services Fax: 0113 343 5411 University of Leeds Leeds LS2 9JT From mark at msapiro.net Tue May 17 16:37:34 2011 From: mark at msapiro.net (Mark Sapiro) Date: Tue, 17 May 2011 07:37:34 -0700 Subject: [Mailman-Users] Digests and multipart/alternative In-Reply-To: Message-ID: Steve Foster wrote: > >We have a slight oddity where we have list admins who re-send/forward >announcements and news email to lists... the problem appears to be when >the source email is encoded base64, the digest and archive emails are not >readable see below > >The sender is using MS Outlook, so if there any quirks there please >advise. It is not clear if there is any problem with the incoming message or not, but assuming it is received 'correctly' by the individual message subscribers, it's probably OK. Also, I suspect MIME format digests may be OK. There may be a problem with the scrubber. What Mailman version is this? Does the message in the archive look the same as in the plain format digest? There were scrubber issues fixed around 2.1.5 or 2.1.6 that could possibly cause this. Are you filtering content? What are the settings? If you could send me an exact copy of an entire problem message with all headers from archives/private/LISTNAME.mbox/LISTNAME.mbox, I can investigate further. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From swpogue at gmail.com Tue May 17 15:35:21 2011 From: swpogue at gmail.com (Steve Pogue) Date: Tue, 17 May 2011 09:35:21 -0400 Subject: [Mailman-Users] Import email.message fails for Mailman 2.1.14 on AIX 5.3 Message-ID: I'm trying to get Mailman 2.1.14 running on AIX 5.3 using Python 2.6.2. The first part of the installation works fine but I'm getting the following traceback on the update task. I've also tried running list_lists which had the same effect. I am able to go into interactive mode with Python and invoke the imports without any problems. Any idea what the issue is here? TIA, Steve # make update Traceback (most recent call last): File "bin/update", line 51, in from Mailman import MailList File "/usr/local/mailman/Mailman/MailList.py", line 51, in from Mailman.Archiver import Archiver File "/usr/local/mailman/Mailman/Archiver/__init__.py", line 17, in from Archiver import * File "/usr/local/mailman/Mailman/Archiver/Archiver.py", line 32, in from Mailman import Mailbox File "/usr/local/mailman/Mailman/Mailbox.py", line 21, in import mailbox File "/opt/freeware/lib/python2.6/mailbox.py", line 19, in import email.message ImportError: No module named message make: The error code from the last command is 1. Stop. From mark at msapiro.net Tue May 17 17:02:22 2011 From: mark at msapiro.net (Mark Sapiro) Date: Tue, 17 May 2011 08:02:22 -0700 Subject: [Mailman-Users] Import email.message fails for Mailman 2.1.14 onAIX 5.3 In-Reply-To: Message-ID: Steve Pogue wrote: >I'm trying to get Mailman 2.1.14 running on AIX 5.3 using Python 2.6.2. The >first part of the installation works fine but I'm getting the following >traceback on the update task. I've also tried running list_lists which had >the same effect. I am able to go into interactive mode with Python and >invoke the imports without any problems. Any idea what the issue is here? >TIA, >Steve > ># make update >Traceback (most recent call last): > File "bin/update", line 51, in > from Mailman import MailList > File "/usr/local/mailman/Mailman/MailList.py", line 51, in > from Mailman.Archiver import Archiver > File "/usr/local/mailman/Mailman/Archiver/__init__.py", line 17, in > > from Archiver import * > File "/usr/local/mailman/Mailman/Archiver/Archiver.py", line 32, in > > from Mailman import Mailbox > File "/usr/local/mailman/Mailman/Mailbox.py", line 21, in > import mailbox > File "/opt/freeware/lib/python2.6/mailbox.py", line 19, in > import email.message >ImportError: No module named message Almost certainly the problem is that you have an older email package in /usr/local/mailman/pythonlib/email/. The standard configure/make process in 2.1.14 should have removed that so that mailman uses the email package in /opt/freeware/lib/python2.6/email. If you remove the /usr/local/mailman/pythonlib/email/ directory, that will probably fix the issue. Also, if you can successfully do the following in an interactive Python session: unicode('OK', 'iso-2022-jp') unicode('OK', 'euc-kr') you can remove any japanese and korean codecs packages from /usr/local/mailman/pythonlib/. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From swpogue at gmail.com Tue May 17 17:21:44 2011 From: swpogue at gmail.com (Steve Pogue) Date: Tue, 17 May 2011 11:21:44 -0400 Subject: [Mailman-Users] Import email.message fails for Mailman 2.1.14 onAIX 5.3 In-Reply-To: References: Message-ID: Thanks Mark, That seemed to do the trick. Any idea why configure/make didn't clean up? I'm wondering if there may be other fixups or issues awaiting me. Steve On Tue, May 17, 2011 at 11:02 AM, Mark Sapiro wrote: > Steve Pogue wrote: > > >I'm trying to get Mailman 2.1.14 running on AIX 5.3 using Python 2.6.2. > The > >first part of the installation works fine but I'm getting the following > >traceback on the update task. I've also tried running list_lists which > had > >the same effect. I am able to go into interactive mode with Python and > >invoke the imports without any problems. Any idea what the issue is here? > >TIA, > >Steve > > > ># make update > >Traceback (most recent call last): > > File "bin/update", line 51, in > > from Mailman import MailList > > File "/usr/local/mailman/Mailman/MailList.py", line 51, in > > from Mailman.Archiver import Archiver > > File "/usr/local/mailman/Mailman/Archiver/__init__.py", line 17, in > > > > from Archiver import * > > File "/usr/local/mailman/Mailman/Archiver/Archiver.py", line 32, in > > > > from Mailman import Mailbox > > File "/usr/local/mailman/Mailman/Mailbox.py", line 21, in > > import mailbox > > File "/opt/freeware/lib/python2.6/mailbox.py", line 19, in > > import email.message > >ImportError: No module named message > > > Almost certainly the problem is that you have an older email package in > /usr/local/mailman/pythonlib/email/. The standard configure/make > process in 2.1.14 should have removed that so that mailman uses the > email package in /opt/freeware/lib/python2.6/email. > > If you remove the /usr/local/mailman/pythonlib/email/ directory, that > will probably fix the issue. > > Also, if you can successfully do the following in an interactive Python > session: > > unicode('OK', 'iso-2022-jp') > unicode('OK', 'euc-kr') > > you can remove any japanese and korean codecs packages from > /usr/local/mailman/pythonlib/. > > -- > Mark Sapiro The highway is for gamblers, > San Francisco Bay Area, California better use your sense - B. Dylan > > From mark at msapiro.net Tue May 17 17:50:43 2011 From: mark at msapiro.net (Mark Sapiro) Date: Tue, 17 May 2011 08:50:43 -0700 Subject: [Mailman-Users] Import email.message fails for Mailman 2.1.14onAIX 5.3 In-Reply-To: Message-ID: Steve Pogue wrote: > >Thanks Mark, >That seemed to do the trick. Any idea why configure/make didn't clean up? >I'm wondering if there may be other fixups or issues awaiting me. Look at the misc/Makefile in the unpack directory. It should have EMAILPKG= JACODECSPKG= KOCODECSPKG= near the top just preceding PACKAGES= $(EMAILPKG) $(JACODECSPKG) $(KOCODECSPKG) If there is an assignment to EMAILPKG, e.g. EMAILPKG=email-2.5.8 then look at the config.log from configure for something like configure:1938: checking Python's email package configure:1971: result: ok If the result is "not ok", then for some reason configure either wasn't able to import email from Python or it thought the imported version was less than 2.5.8. If the assignment to EMAILPKG in misc/Makefile is null, then for some reason, 'make install' failed to remove the directory from pythonlib. The command to do that is in the install-packages: target. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From zeki.ismail at gmail.com Wed May 18 14:17:49 2011 From: zeki.ismail at gmail.com (Zeki) Date: Wed, 18 May 2011 13:17:49 +0100 Subject: [Mailman-Users] Adding Subscription box to HTML Webpage Message-ID: <002701cc1555$9ac161f0$d04425d0$@gmail.com> Hello all, Sorry for such a basic question, but I can't find the information anywhere. I have a basic html web site and want to add a subscription box and button to my mail list. All I want the webpage visitor to do is to input their email address and then press the subscribe button. Most of my visitors are not computer literate (a bit like me!!) so I need to make it as simple as possible. And am really looking for the html code I need to use. Thanks in advance for your help. Zeki From mark at msapiro.net Wed May 18 17:40:14 2011 From: mark at msapiro.net (Mark Sapiro) Date: Wed, 18 May 2011 08:40:14 -0700 Subject: [Mailman-Users] Adding Subscription box to HTML Webpage In-Reply-To: <002701cc1555$9ac161f0$d04425d0$@gmail.com> Message-ID: Zeki wrote: > >Sorry for such a basic question, but I can't find the information anywhere. Did you look in the FAQ at ? >I have a basic html web site and want to add a subscription box and button >to my mail list. All I want the webpage visitor to do is to input their >email address and then press the subscribe button. See . -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From jsekora at csail.mit.edu Fri May 20 19:09:24 2011 From: jsekora at csail.mit.edu (Jay A. Sekora) Date: Fri, 20 May 2011 13:09:24 -0400 Subject: [Mailman-Users] Detecting mail with multiple From: lines Message-ID: <1305911364.12769.497.camel@crystalline-entity.csail.mit.edu> Hi. I had been noting with trepidation the recent rise in spam mail with multiple spoofed From: lines, e.g., From: me at example.net From: you at example.net From: list at example.net To: list at example.net since that drastically increases the chances of any given spam message having a spoofed From: line that matches a list member. Recently, one of our lists (running Mailman 2.1.11 from Debian packages) actually got hit with a bunch of spam like that. That particular list actually had (the equivalent of) "list at example.net", among other addresses, in discard_these_nonmembers, but that didn't actually have any effect. (None of the spoofed from addresses were in accept_these_nonmembers .) So I am guessing that when it gets mail with multiple From: addresses (or maybe just with multiple From: headers on separate lines), Mailman is doing some sort of header canonicalization that breaks discard_these_nonmembers. (I will note that the list address was listed as a string, not a regex.) So my question is twofold: (1) Is there a way, within Mailman 2.1.11 itself, I can test whether a message has multiple *senders*, and hold for moderation or discard based on that? (I'd be happy either catching anything with multiple From: lines, or if all the possible places Mailman looks for a sender are conflated, anything with more than two or three different senders.) And, (2) Is there a way I can make discard_these_nonmembers and/or hold_these_nonmembers work with from addresses in these sorts of messages? (Maybe Mailman concatenates all the sender addresses and I therefore need to use a regular expression, for instance?) Thanks in advance! Jay PS -- In case its relevant, all our list mail is forwarded via aliases from the published address to an address handled by the Mailman server, so doing stuff at SMTP time is more complicated than it would otherwise be. I wouldn't mind advice for dealing with this stuff in Exim as well, if anybody happens to have some handy, but we *do* have (a small amount of) legitimate mail that has multiple From: headers. I know how to score this stuff higher in SpamAssassin, but given various peculiarities I'd really like to know how to do it in Mailman as well. From CNulk at scu.edu Fri May 20 22:57:15 2011 From: CNulk at scu.edu (C Nulk) Date: Fri, 20 May 2011 13:57:15 -0700 Subject: [Mailman-Users] Automating Mailman Archive Maintenance Message-ID: <4DD6D5AB.7040801@scu.edu> Hello, I am in the process of trying to automate our Mailman Archive maintenance before it gets unruly. I looked in the FAQ and wiki for information and found some about rebuilding the archives (which will be handy) but nothing about automating it. The assumptions I am working under: 1. the html files for the archives are located in / (to be called DIR-A) 2. the directory the mbox file to rebuild the archive html files are in /.mbox (to be called DIR-B) 3. our automated process will process the mbox files in DIR-B and delete completely or mark for deletion any messages older than a given timeframe. Now, the questions: 1. If I run bin/arch --wipe to rebuild the archives for , do I have to delete the files in DIR-A first or will bin/arch do it? 2. When a message is added to the mbox file in DIR-B, is it appended to the file or does it get added through some interface? 3. When a message is added to the mbox file in DIR-B, are any existing messages that are marked for deletion removed or is the message just added to the mbox file? 4. When bin/arch is run and builds the html files, does it ignore messages marked for deletion or does it add the message to the html files no matter how it is marked? 5. Should Mailman be shutdown prior to running my automated process, which includes running bin/arch, or can I leave Mailman running? 6. In our installation, the public archives directory for each list is a link to the private archives directory for each list, is that the standard or should I be prepared to see some archives in the public area and other in the private depending on the particular list's setting? 7. Is there any other gotcha I should watch out for when using an automated process? Thanks in advance, Chris From alexander at nautae.eti.br Fri May 20 23:00:53 2011 From: alexander at nautae.eti.br (alexander at nautae.eti.br) Date: Fri, 20 May 2011 18:00:53 -0300 Subject: [Mailman-Users] Best way to clean old messages Message-ID: <20110520180053.34795zmtaa0t438c@www.sitemaldito.com.br> Hi. What would be the best way to completely clean/remove old messages? I mean, in that way it would be absolutely impossible to resend any message already sent? I have to create an bash script to do that. Some days ago an ancient message was resent erroneously by a person who could do that again, and our policy don't permit this kind of mistake. []s Alexander Brazil - Rio de Janeiro ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. From michael.c.soh at gmail.com Fri May 20 16:34:06 2011 From: michael.c.soh at gmail.com (Michael Soh) Date: Fri, 20 May 2011 10:34:06 -0400 Subject: [Mailman-Users] Postfix & Mailman not playing well together Message-ID: Good morning all! I'm hoping you guys might be able to help me figure out what's going on with my mailman setup. I'm running 2.1.13 on a Ubuntu 10 installation. I'm running postfix as my MTA. I've set up postfix as instructed on the list.org documentation. I'm running into a problem that I can't seem to get my head around. When I e-mail the list, I get a bounce with the following information: This is the mail system at host hotdog.mikesoh.com. I'm sorry to have to inform you that your message could not be delivered to one or more recipients. It's attached below. For further assistance, please send mail to postmaster. If you do so, please include this problem report. You can delete your own text from the attached returned message. The mail system <"|/var/lib/mailman/mail/ mailman post somelist"@mikesoh.com> (expanded from >): User unknown in virtual alias table Final-Recipient: rfc822; "|/var/lib/mailman/mail/mailman post somelist"@ mikesoh.com Original-Recipient: rfc822;somelist at lists.mikesoh.com Action: failed Status: 5.0.0 Diagnostic-Code: X-Postfix; User unknown in virtual alias table The weird part is the command that I've highlighted in green. For some reason, postfix or mailman (I haven't been able to determine which one) is appending "@mikesoh.com" to the command. When I run the command exactly within a terminal, it says no such list exists. However, if I only run the command within the quotes, it runs correctly. I can't seem to figure out why this is. I've posted my postfix config on a pastebin: http://paste.ubuntu.com/610641/ Can anyone offer me a clue? Thanks! Mike From mark at msapiro.net Sat May 21 05:44:45 2011 From: mark at msapiro.net (Mark Sapiro) Date: Fri, 20 May 2011 20:44:45 -0700 Subject: [Mailman-Users] Automating Mailman Archive Maintenance In-Reply-To: <4DD6D5AB.7040801@scu.edu> Message-ID: C Nulk wrote: > >I am in the process of trying to automate our Mailman Archive >maintenance before it gets unruly. I looked in the FAQ and wiki for >information and found some about rebuilding the archives (which will be >handy) but nothing about automating it. > >The assumptions I am working under: >1. the html files for the archives are located in prefix>/ (to be called DIR-A) >2. the directory the mbox file to rebuild the archive html files are in >/.mbox (to be called DIR-B) >3. our automated process will process the mbox files in DIR-B and delete >completely or mark for deletion any messages older than a given timeframe. > >Now, the questions: >1. If I run bin/arch --wipe to rebuild the archives for >, do I have to delete the files in DIR-A first or will >bin/arch do it? You do not have to delete any DIR-A files. That's what the --wipe option does. >2. When a message is added to the mbox file in DIR-B, is it appended to >the file or does it get added through some interface? It is appended. >3. When a message is added to the mbox file in DIR-B, are any existing >messages that are marked for deletion removed or is the message just >added to the mbox file? It is just appended by a file open and append operation. The process does not in any way emulate an MDA or any IMAP or other mail access type process. >4. When bin/arch is run and builds the html files, does it ignore >messages marked for deletion or does it add the message to the html >files no matter how it is marked? It totally ignores any message status type headers. >5. Should Mailman be shutdown prior to running my automated process, >which includes running bin/arch, or can I leave Mailman running? It's OK for Mailman to be running. There are archive locks that will prevent concurrent updates. >6. In our installation, the public archives directory for each list is a >link to the private archives directory for each list, is that the >standard or should I be prepared to see some archives in the public area >and other in the private depending on the particular list's setting? All archive data is in archives/private/. archives/public/ contains only symlinks. >7. Is there any other gotcha I should watch out for when using an >automated process? I don't think so. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Sat May 21 05:53:50 2011 From: mark at msapiro.net (Mark Sapiro) Date: Fri, 20 May 2011 20:53:50 -0700 Subject: [Mailman-Users] Best way to clean old messages In-Reply-To: <20110520180053.34795zmtaa0t438c@www.sitemaldito.com.br> Message-ID: alexander at nautae.eti.br wrote: > >What would be the best way to completely clean/remove old messages? I don't understand your question. >I mean, in that way it would be absolutely impossible to resend any >message already sent? > >I have to create an bash script to do that. > >Some days ago an ancient message was resent erroneously by a person >who could do that again, and our policy don't permit this kind of >mistake. If you mean some user resent a message to a list which was previously sent to the same list, and you want to somehow prevent that message from being accepted by the list, you could add a custom handler (see ) to compare the Message-Id of each post to all the Message-Ids in the list's archives/private/LIST.mbox/LIST.mbox file or to a separately maintained file or database of post Message-Ids, and not accept a duplicate. If you mean something else, please explain in more detail so we can understand what you mean. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Sat May 21 06:55:30 2011 From: mark at msapiro.net (Mark Sapiro) Date: Fri, 20 May 2011 21:55:30 -0700 Subject: [Mailman-Users] Detecting mail with multiple From: lines In-Reply-To: <1305911364.12769.497.camel@crystalline-entity.csail.mit.edu> Message-ID: Jay A. Sekora wrote: >Hi. I had been noting with trepidation the recent rise in spam mail >with multiple spoofed From: lines, e.g., > >From: me at example.net >From: you at example.net >From: list at example.net >To: list at example.net > >since that drastically increases the chances of any given spam message >having a spoofed From: line that matches a list member. Recently, one >of our lists (running Mailman 2.1.11 from Debian packages) actually got >hit with a bunch of spam like that. > >That particular list actually had (the equivalent of) >"list at example.net", among other addresses, in discard_these_nonmembers, >but that didn't actually have any effect. (None of the spoofed from >addresses were in accept_these_nonmembers .) So I am guessing that when >it gets mail with multiple From: addresses (or maybe just with multiple >From: headers on separate lines), Mailman is doing some sort of header >canonicalization that breaks discard_these_nonmembers. (I will note >that the list address was listed as a string, not a regex.) > >So my question is twofold: > >(1) Is there a way, within Mailman 2.1.11 itself, I can test whether a >message has multiple *senders*, and hold for moderation or discard based >on that? (I'd be happy either catching anything with multiple From: >lines, or if all the possible places Mailman looks for a sender are >conflated, anything with more than two or three different senders.) >And, First let me give some background detail. Mailman implements two different email message methods for determining the sender of an email, Thes methods are called get_sender() and get_senders(). By default, get_senders() returns a list of all the addresses found in any From: headers, the 'unix from' or envelope sender, and any Reply-To: or Sender: headers in that order. This can be changed by the mm_cfg.py setting SENDER_HEADERS. The get_sender() method returns the first address found in a From: or Sender: header or the 'unix from' in that order (by default, although the mm_cfg.py setting USE_ENVELOPE SENDER if true changes the order to Sender:, From:, 'unix from'). Tests for list membership, i.e. is this post from a member; is this member moderated, test all addresses returned by get_senders() and use the first address that matches a member, if any. Tests for *_these_nonmembers use the address returned by get_sender() which by default at least is the first address from the first From: header. This is part of why *_these_nonmembers doesn't hit, but if one of the From: headers is a member, the post will be considered a member post and *_these_nonmembers will not be consulted at all. To answer your question, put a regexp like (?s)\nFrom:.*\nFrom: in Privacy options... -> Spam filters -> header_filter_rules. These regexps are searched in IGNORECASE and MULTILINE mode. The (?s) will set DOTALL (dot matches all) mode as well. Your regexp will be searched for in a string consisting of all the message headers and will catch multiple From: headers. Give that rule an appropriate action and you're set. >(2) Is there a way I can make discard_these_nonmembers and/or >hold_these_nonmembers work with from addresses in these sorts of >messages? (Maybe Mailman concatenates all the sender addresses and I >therefore need to use a regular expression, for instance?) As I discuss above, no. >Thanks in advance! > >Jay > >PS -- In case its relevant, all our list mail is forwarded via aliases >from the published address to an address handled by the Mailman server, >so doing stuff at SMTP time is more complicated than it would otherwise >be. I wouldn't mind advice for dealing with this stuff in Exim as well, >if anybody happens to have some handy, but we *do* have (a small amount >of) legitimate mail that has multiple From: headers. I know how to >score this stuff higher in SpamAssassin, but given various peculiarities >I'd really like to know how to do it in Mailman as well. Short of a custom handler, I think header_filter_rules is the way to go. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Sat May 21 07:12:12 2011 From: mark at msapiro.net (Mark Sapiro) Date: Fri, 20 May 2011 22:12:12 -0700 Subject: [Mailman-Users] Postfix & Mailman not playing well together In-Reply-To: Message-ID: Michael Soh wrote: > >When I e-mail the list, I get a bounce with the following information: > >This is the mail system at host hotdog.mikesoh.com. > >I'm sorry to have to inform you that your message could not >be delivered to one or more recipients. It's attached below. > >For further assistance, please send mail to postmaster. > >If you do so, please include this problem report. You can >delete your own text from the attached returned message. > > The mail system > ><"|/var/lib/mailman/mail/ >mailman post somelist"@mikesoh.com> (expanded from > >): User unknown >in virtual alias table [...] > >The weird part is the command that I've highlighted in green. Don't assume that your HTML markup will pass through a list's content filtering. >For some >reason, postfix or mailman (I haven't been able to determine which one) is >appending "@mikesoh.com" to the command. The problem is that mail to the lists.mikesoh.com domain is delivered by a relay other than Postfix's 'local' delivery and that relay doesn't understand 'pipe' delivery so the string "|/var/lib/mailman/mail/mailman post somelist" in the alias is interpreted as a 'local' address rather than a pipe and thus gets appended with $mydomain. When I run the command exactly >within a terminal, it says no such list exists. However, if I only run the >command within the quotes, it runs correctly. Right, and if Postfix is using the 'local' relay for this domain, it will run the correct command too. >I can't seem to figure out why this is. I've posted my postfix config on a >pastebin: >http://paste.ubuntu.com/610641/ If you want someone to actually look at your Postfix configuration, paste the output from 'postconf -n' rather than the entire 643 line 'postconf' configuration. >Can anyone offer me a clue? In addition to the above clues, look in the Postfix log (maillog) to see what 'relay' is being used for this mail and figure out why it is what it is rather than 'local'. This may require looking at transport_maps and/or master.cf. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From geoff at QuiteLikely.com Sat May 21 11:52:51 2011 From: geoff at QuiteLikely.com (Geoff Shang) Date: Sat, 21 May 2011 12:52:51 +0300 (IDT) Subject: [Mailman-Users] Postfix & Mailman not playing well together In-Reply-To: References: Message-ID: On Fri, 20 May 2011, Michael Soh wrote: > <"|/var/lib/mailman/mail/ > mailman post somelist"@mikesoh.com> (expanded from > >): User unknown > in virtual alias table I'm not a Postfix expert, but the following entry in your configuration file is problematic: virtual_alias_maps = hash:/var/lib/mailman/data/virtual-mailman, hash:/var/lib/mailman/data/aliases, mysql:/etc/postfix/virtual/aliases.cf I can't comment on your database setup, but your Mailman aliases should not be here, they should be in alias_maps. And in fact they are also. So I'm sure this doesn't help your situation. Geoff. From rms at gnu.org Sun May 22 06:56:17 2011 From: rms at gnu.org (Richard Stallman) Date: Sun, 22 May 2011 00:56:17 -0400 Subject: [Mailman-Users] Detecting mail with multiple From: lines In-Reply-To: (message from Mark Sapiro on Fri, 20 May 2011 21:55:30 -0700) References: Message-ID: It sounds like this new spam technique is becoming xommon. Would it make sense for Mailman's defaults to DTRT for it, or reduce the amount of customization users need to do? -- Dr Richard Stallman President, Free Software Foundation 51 Franklin St Boston MA 02110 USA www.fsf.org, www.gnu.org Skype: No way! That's nonfree (freedom-denying) software. Use free telephony http://directory.fsf.org/category/tel/ From alexander at nautae.eti.br Sun May 22 16:16:37 2011 From: alexander at nautae.eti.br (alexander at nautae.eti.br) Date: Sun, 22 May 2011 11:16:37 -0300 Subject: [Mailman-Users] Best way to clean old messages In-Reply-To: References: Message-ID: <20110522111637.16384bdlbqsxk5og@www.sitemaldito.com.br> >> What would be the best way to completely clean/remove old messages? > I don't understand your question. Ok, trying again: A person have sent a message, for example, "message x" to the mailing list "list x". And I don`t know why (it could be a system error or I don`t know what) the same message was sent again 2 months after to the same list. Explaining better: some time ago I`ve post a message here saying that after forcing qrunner to run ignoring the lock file (using the `-s` flag if I remember well) Mailman resent all the messages that was already sent. It was an awful sittuation for me because people received very old messages about current subjects. I`ve learned the lesson and never did that again. But some weeks ago one message (an old message) was resent. It was only one and I`m not sure what the reason. In fact now I don`t want to know the reason, since the server isn`t administrated by me or anybody else in my company, I only want a script to completely avoid that kind of sittuation. I hope it`s easier to understand now... []s Alexander Brazil ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. From stephen at xemacs.org Sun May 22 18:26:29 2011 From: stephen at xemacs.org (Stephen J. Turnbull) Date: Mon, 23 May 2011 01:26:29 +0900 Subject: [Mailman-Users] Detecting mail with multiple From: lines In-Reply-To: References: Message-ID: <87aaeebt1m.fsf@uwakimon.sk.tsukuba.ac.jp> Richard Stallman writes: > It sounds like this new spam technique is becoming xommon. > Would it make sense for Mailman's defaults to DTRT for it, > or reduce the amount of customization users need to do? No. Mailman really shouldn't be doing any spam filtering at all. It needs filtering, yes, but that's because authorized users will often send posts that violate the list's rules. OTOH, it is by far best to do generic spam filtering at the inbound MTA. There are excellent programs such as SpamAssassin and SpamBayes written for this purpose. They have actively maintained rule sets, because spam filtering is their primary purpose. These programs are filters; they can also be inserted in the mail pipeline on the delivery side (eg, by calling out from procmail) or in Mailman itself (with a simple Handler). However this has the disadvantage that only Mailman, and not other system users, is protected from spam. Filters integrated with the MTA are often more parsimonious with system resources (eg, the "fork tax"), and have the advantage that in some cases the mail can be refused at the SMTP level, which avoids first-order backscatter and sometimes provides more information to victims of false positives. Nevertheless, in these "late pipeline" configurations they will surely do a better job than Mailman itself can. Adding spam filtering to Mailman itself may improve matters for people who do a poor job of spam filtering in the first place. On the other hand, it is very likely to occasionally make it difficult for legitimate users to get their mail through to the list because they get caught by some arcane rule. From mark at msapiro.net Mon May 23 01:39:19 2011 From: mark at msapiro.net (Mark Sapiro) Date: Sun, 22 May 2011 16:39:19 -0700 Subject: [Mailman-Users] Best way to clean old messages In-Reply-To: <20110522111637.16384bdlbqsxk5og@www.sitemaldito.com.br> Message-ID: alexander at nautae.eti.br wrote: >>> What would be the best way to completely clean/remove old messages? >> I don't understand your question. > >Ok, trying again: > >A person have sent a message, for example, "message x" to the mailing >list "list x". > >And I don`t know why (it could be a system error or I don`t know what) >the same message was sent again 2 months after to the same list. > >Explaining better: some time ago I`ve post a message here saying that >after forcing qrunner to run ignoring the lock file (using the `-s` >flag if I remember well) Mailman resent all the messages that was >already sent. > >It was an awful sittuation for me because people received very old >messages about current subjects. I have searched the archives on the mailman-*@python.org lists and while I find several posts from you, I do not see the one you are referring to, so I am unable to comment on this except to say that simply starting another set of qrunners when they are already running would not cause old messages to be resent. If these old messages were messages that hadn't been previously delivered, then starting a qrunner that wasn't running or possibly running bin/unshunt after fixing the problem that caused the shunting could cause old messages to be delivered, but only if they hadn't been delivered in the first place. >I`ve learned the lesson and never did that again. > >But some weeks ago one message (an old message) was resent. It was >only one and I`m not sure what the reason. > >In fact now I don`t want to know the reason, since the server isn`t >administrated by me or anybody else in my company, I only want a >script to completely avoid that kind of sittuation. Without seeing the full headers from both copies of the message, which might be available in the archives/private/LISTNAME.mbox/LISTNAME.mbox file for the list, I again can't say how this happened. I can say, that once Mailman has successfully handled a post, the only trace of it left in Mailman is in the archives of the list and possibly in the messages collected for the next digest, and Mailman doesn't resend posts from the archives, and doesn't save the digest messages once the digest is sent. Possibly in this case, the original poster or the poster's MUA or MTA just sent another copy of the post to the list. Possibly there was some other failure somewhere that ultimately caused the message to be resent, but without seeing both messages including all Received: headers and possibly other headers, I can't say what the cause was, and without determining the cause, all I can tell you is there is no script that can avoid this situation in Mailman because I don't think Mailman is responsible, and even if I am wrong, any such script would probably need to be run on the Mailman server over which you say you have no control. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From rms at gnu.org Mon May 23 05:44:18 2011 From: rms at gnu.org (Richard Stallman) Date: Sun, 22 May 2011 23:44:18 -0400 Subject: [Mailman-Users] Detecting mail with multiple From: lines In-Reply-To: <87aaeebt1m.fsf@uwakimon.sk.tsukuba.ac.jp> (stephen@xemacs.org) References: <87aaeebt1m.fsf@uwakimon.sk.tsukuba.ac.jp> Message-ID: Do you mean to say that the people at CSAIL ought to switch to using SpamAssasin instead of filtering in Mailman? Jay, do you see a reason not to do it that way? -- Dr Richard Stallman President, Free Software Foundation 51 Franklin St Boston MA 02110 USA www.fsf.org, www.gnu.org Skype: No way! That's nonfree (freedom-denying) software. Use free telephony http://directory.fsf.org/category/tel/ From cpz at tuunq.com Mon May 23 05:54:55 2011 From: cpz at tuunq.com (Carl Zwanzig) Date: Sun, 22 May 2011 20:54:55 -0700 Subject: [Mailman-Users] Detecting mail with multiple From: lines In-Reply-To: References: <87aaeebt1m.fsf@uwakimon.sk.tsukuba.ac.jp> Message-ID: <4DD9DA8F.1070000@tuunq.com> On 5/22/2011 8:44 PM, Richard Stallman wrote: > Do you mean to say that the people at CSAIL ought to switch to using > SpamAssasin instead of filtering in Mailman? Use the best tool for each job, and know that the Swiss Army knife approach is usually not the best at anything. (Or, why filter out spam with a mailing list manager when there's a perfectly good spam filter tool...) z! From brad at shub-internet.org Mon May 23 06:23:50 2011 From: brad at shub-internet.org (Brad Knowles) Date: Sun, 22 May 2011 23:23:50 -0500 Subject: [Mailman-Users] Detecting mail with multiple From: lines In-Reply-To: References: <87aaeebt1m.fsf@uwakimon.sk.tsukuba.ac.jp> Message-ID: <4C82389F-0BCF-4A49-9228-363F80771876@shub-internet.org> On May 22, 2011, at 10:44 PM, Richard Stallman wrote: > Do you mean to say that the people at CSAIL ought to switch to using > SpamAssasin instead of filtering in Mailman? People should be filtering spam at the MTA level using special-purpose tools such as SpamBayes, SpamAssassin, etc.... If they want to add secondary filtering at the Mailman level to catch things that are not currently caught by their MTA, then methods to do that are provided within the code shipped by the Mailman project, but that is not the recommended method of solving this problem. -- Brad Knowles LinkedIn Profile: From stephen at xemacs.org Mon May 23 08:03:39 2011 From: stephen at xemacs.org (Stephen J. Turnbull) Date: Mon, 23 May 2011 15:03:39 +0900 Subject: [Mailman-Users] Detecting mail with multiple From: lines In-Reply-To: References: <87aaeebt1m.fsf@uwakimon.sk.tsukuba.ac.jp> Message-ID: <8762p2ar7o.fsf@uwakimon.sk.tsukuba.ac.jp> Richard Stallman writes: > Do you mean to say that the people at CSAIL ought to switch to using > SpamAssasin instead of filtering in Mailman? I don't know anything about CSAIL, so I can't say for that particular case. But I've yet to see a *good* reason for doing generic filtering at the Mailman level, such as "too many From fields" or "header contains brand name of ED remedy", rather than at the MTA level. And if they're already doing both, I recommend installing additional rules at the MTA level rather than the Mailman level whenever possible. Of course, some things have to involve Mailman (eg, filtering posts on list membership). But even there, the developers consider it a design bug that Mailman has no way to export its member database to filtering software at the MTA level (which would make it possible to reject a post based on the From: nonmember + To: list combination without ever accepting the mail, among many other potential applications). This is being remedied in Mailman 3. From alexander at nautae.eti.br Mon May 23 15:42:24 2011 From: alexander at nautae.eti.br (alexander at nautae.eti.br) Date: Mon, 23 May 2011 10:42:24 -0300 Subject: [Mailman-Users] Best way to clean old messages In-Reply-To: References: Message-ID: <20110523104224.177934k49uuugugw@www.sitemaldito.com.br> > I have searched the archives on the mailman-*@python.org > lists and while I find several posts from you, Maybe I've sent using another email account: alexander at edem.g12.br []s Alexander Brazil ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. From mark at msapiro.net Mon May 23 16:06:06 2011 From: mark at msapiro.net (Mark Sapiro) Date: Mon, 23 May 2011 07:06:06 -0700 Subject: [Mailman-Users] Best way to clean old messages In-Reply-To: <20110523104224.177934k49uuugugw@www.sitemaldito.com.br> Message-ID: alexander at nautae.eti.br wrote: >> I have searched the archives on the mailman-*@python.org >> lists and while I find several posts from you, > >Maybe I've sent using another email account: alexander at edem.g12.br OK. I found the post I had searched Google for q=site:mail.python.org:+inurl:mailman+alexander+brazil. Searching for q=site:mail.python.org:+inurl:mailman+alexander+br found it. See my reply at . -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mike at writestarr.com Mon May 23 13:39:13 2011 From: mike at writestarr.com (Mike Starr) Date: Mon, 23 May 2011 06:39:13 -0500 Subject: [Mailman-Users] Editing MM-List-Subscription-Msg Message-ID: <4DDA4761.1040604@writestarr.com> Hello, I recently had someone outside our group visit the group's Mailman page and subscribe to the list. I corrected the setting so that it now requires administrator approval for someone to join the list. Cool... no problem. However, the text on the Mailman page doesn't make it clear how we limit who we will allow as a member of our list. I thought, okay... I'll just edit the appropriate text via the *General Options* section. Uh oh... it's not there. Okay, so I'll go to the *Members -- HTML Page Editing* page and take care of it. So I click on the *General list information page* and find that the specific bit of text I want to edit appears to be sourced from the ** variable. All I can find in the Wiki and other documentation on that particular variable is a definition. I had really hoped this would be something I could modify from the *General Options* section but no joy. So now I'm apparently going to have to figure out how to edit code on the server somewhere. Can someone point me to what I have to do to edit this particular variable? I've got the sneaking suspicion that this stuff is not going to be easy to gain access to on the hosting company's server. Is this something I can somehow request as a feature enhancement to the *General Options* section? And if so, what's the process for that? Thanks, Mike -- Mike Starr WriteStarr Information Services Technical Writer - Online Help Developer - Technical Illustrator Graphic Designer - Desktop Publisher - MS Office Expert (262) 694-1028 - mike at writestarr.com - http://www.writestarr.com From mark at msapiro.net Mon May 23 16:25:31 2011 From: mark at msapiro.net (Mark Sapiro) Date: Mon, 23 May 2011 07:25:31 -0700 Subject: [Mailman-Users] Editing MM-List-Subscription-Msg In-Reply-To: <4DDA4761.1040604@writestarr.com> Message-ID: Mike Starr wrote: > >I had really hoped this would be something I could modify from the *General Options* section but no joy. So now I'm apparently going to have to figure out how to edit code on the server somewhere. Can someone point me to what I have to do to edit this particular variable? I've got the sneaking suspicion that this stuff is not going to be easy to gain access to on the hosting company's server. You are making this more difficult than it needs be, The replacement for the tag is the result of a procedure in Mailman/HTMLFormatter.py named FormatSubscriptionMsg(), and it creates an 'appropriate' message based on the list's subscribe_policy, private_roster and umbrella_list settings. However, if you don't like the generated message for your list, just edit the list's *General list information page* and replace the tag with whatever text you want. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mike at writestarr.com Mon May 23 16:46:01 2011 From: mike at writestarr.com (Mike Starr) Date: Mon, 23 May 2011 09:46:01 -0500 Subject: [Mailman-Users] Editing MM-List-Subscription-Msg In-Reply-To: References: Message-ID: <4DDA7329.1080309@writestarr.com> Mark, Thanks much for your response. Yes, I did realize I could directly edit that bit of HTML, replacing the tag with my own specific text. I was not sure, though, if there was some sort of mechanism in the built-in user interface for editing the content of the variable that I (clueless bowb that I sometimes am) had overlooked. All things considered, when a chunk of text is sourced from a variable, I'd rather modify the variable definition instead of just taking it out of the process. However, it also just seems to me that this is one of those things that should probably be editable on the *General Options* form page itself, like most of the other text chunks. That's why I also asked about the procedure for adding that editing capability as a feature request for the *General Options* form page. Best regards, Mike -- Mike Starr WriteStarr Information Services Technical Writer - Online Help Developer - Technical Illustrator Graphic Designer - Desktop Publisher - MS Office Expert (262) 694-1028 - mike at writestarr.com - http://www.writestarr.com On 5/23/2011 9:25 AM, Mark Sapiro wrote: > Mike Starr wrote: >> >> I had really hoped this would be something I could modify from the *General Options* section but no joy. So now I'm apparently going to have to figure out how to edit code on the server somewhere. Can someone point me to what I have to do to edit this particular variable? I've got the sneaking suspicion that this stuff is not going to be easy to gain access to on the hosting company's server. > > > You are making this more difficult than it needs be, The replacement > for the tag is the result of a procedure in > Mailman/HTMLFormatter.py named FormatSubscriptionMsg(), and it creates > an 'appropriate' message based on the list's subscribe_policy, > private_roster and umbrella_list settings. > > However, if you don't like the generated message for your list, just > edit the list's *General list information page* and replace the > tag with whatever text you want. > From jsekora at csail.mit.edu Mon May 23 16:57:49 2011 From: jsekora at csail.mit.edu (Jay A. Sekora) Date: Mon, 23 May 2011 10:57:49 -0400 Subject: [Mailman-Users] Detecting mail with multiple From: lines In-Reply-To: References: <87aaeebt1m.fsf@uwakimon.sk.tsukuba.ac.jp> Message-ID: <1306162669.12769.530.camel@crystalline-entity.csail.mit.edu> On Sun, 2011-05-22 at 23:44 -0400, Richard Stallman wrote: > Do you mean to say that the people at CSAIL ought to switch to using > SpamAssasin instead of filtering in Mailman? We *are* using SpamAssassin *as well as* filtering in Mailman. > Jay, do you see a reason not to do it that way? There are complicated site-specific reasons why SpamAssassin isn't a complete solution for our Mailman mailing lists in our current mail infrastructure; I'd rather not get bogged down in that discussion in this venue. SpamAssassin is definitely a big part of our repertoire, though. The immediate problem for me was that (as as Mark explained in his mail dated Friday night his time), the sender filters use get_sender(), which is unhelpful with messages with multiple From: lines, since the return value will be random (or worse, chosen to benefit the spammer). One thing I do to help block spoofed spam to mailing lists is to to block mail that claims to be from the list address itself, which catches the common case of spammers spoofing the from address to be the same as the to address. Because of that, I was surprised to see these messages get through to the list, since they *did* include the list address itself (as well as a bunch of other addresses in our domain) in the From: lines. The explanation that the sender filters are applied only against one particular address explains what was going on (and confirms my suspicion). However, that means that as more spammers use this technique, either sites are going to have to start blocking mail with multiple From: addresses at SMTP time -- and I discovered to my surprise that we *do* have legitimate senders using that feature -- or Mailman's sender filters are going to become somewhat less useful. --Jay From jsekora at csail.mit.edu Mon May 23 17:05:47 2011 From: jsekora at csail.mit.edu (Jay A. Sekora) Date: Mon, 23 May 2011 11:05:47 -0400 Subject: [Mailman-Users] Detecting mail with multiple From: lines In-Reply-To: References: Message-ID: <1306163147.12769.536.camel@crystalline-entity.csail.mit.edu> Thanks very much, Mark; this is exactly what I needed to know! > To answer your question, put a regexp like > > (?s)\nFrom:.*\nFrom: > > in Privacy options... -> Spam filters -> header_filter_rules. These > regexps are searched in IGNORECASE and MULTILINE mode. The (?s) will > set DOTALL (dot matches all) mode as well. Your regexp will be > searched for in a string consisting of all the message headers and > will catch multiple From: headers. Give that rule an appropriate > action and you're set. Great, that's perfect! In theory I suppose the regex should be extended to handle multiple addresses in a single From: line, but since spammers seem exclusively to be using multiple From: lines at the moment, I'm not going to try to compose a regex that handles quoting and commenting in From: lines properly to detect multiple recipients. :-) Jay From barry at list.org Mon May 23 17:06:30 2011 From: barry at list.org (Barry Warsaw) Date: Mon, 23 May 2011 11:06:30 -0400 Subject: [Mailman-Users] Detecting mail with multiple From: lines In-Reply-To: <1306162669.12769.530.camel@crystalline-entity.csail.mit.edu> References: <87aaeebt1m.fsf@uwakimon.sk.tsukuba.ac.jp> <1306162669.12769.530.camel@crystalline-entity.csail.mit.edu> Message-ID: <20110523110630.5a8c9d07@neurotica.wooz.org> On May 23, 2011, at 10:57 AM, Jay A. Sekora wrote: >However, that means that as more spammers use this technique, either >sites are going to have to start blocking mail with multiple From: >addresses at SMTP time -- and I discovered to my surprise that we *do* >have legitimate senders using that feature -- or Mailman's sender >filters are going to become somewhat less useful. What's the legitimate use case for multiple From headers? In MM2 it's somewhat configurable -- I just worked with someone who wanted to remove looking at the Reply-To header -- but yes, it's not as easily configurable as you might like (well, without modifying the source). I'd like to make this easier to configure in Mailman 3, but I want to understand the use cases first. -Barry -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: not available URL: From marc at landrovertech.com Mon May 23 17:04:20 2011 From: marc at landrovertech.com (Marc Rengers) Date: Mon, 23 May 2011 17:04:20 +0200 Subject: [Mailman-Users] removing a lot of members with incorrect address Message-ID: <7154CC41-FD8C-404F-8F54-35F09F1D307B@landrovertech.com> Hi, I've got a list where an other admin has subcribed a lot of members with a dash on the end of the address. Like name at domain.nl- and user at other.com- If it were a few I would unsubscribe them manually, but there are around 150.... Is there a way to create a ilst of these wrong addresses and then easily unsubscribe these? Thanks, Marc From mark at msapiro.net Mon May 23 17:16:46 2011 From: mark at msapiro.net (Mark Sapiro) Date: Mon, 23 May 2011 08:16:46 -0700 Subject: [Mailman-Users] Editing MM-List-Subscription-Msg In-Reply-To: <4DDA7329.1080309@writestarr.com> Message-ID: Mike Starr wrote: > >However, it also just seems to me that this is one of those things that should probably be editable on the *General Options* form page itself, like most of the other text chunks. That's why I also asked about the procedure for adding that editing capability as a feature request for the *General Options* form page. Is I tried to indicate, it's not just a simple chunk of text. It is one of three possible chunks or the empty string depending on subscribe_policy possibly followed by one of two chunks depending on private_roster possibly followed by another chunk if umbrella_list is true. Thus, there are 6 strings plus the empty string and a total of 24 possible combinations of these that make up the final message. The web UI is being totally redone for MM3, so this will certainly change there and may be moot. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From jsekora at csail.mit.edu Mon May 23 17:18:30 2011 From: jsekora at csail.mit.edu (Jay A. Sekora) Date: Mon, 23 May 2011 11:18:30 -0400 Subject: [Mailman-Users] Tangent: Exporting information from Mailman to the MTA In-Reply-To: <8762p2ar7o.fsf@uwakimon.sk.tsukuba.ac.jp> References: <87aaeebt1m.fsf@uwakimon.sk.tsukuba.ac.jp> <8762p2ar7o.fsf@uwakimon.sk.tsukuba.ac.jp> Message-ID: <1306163910.12769.550.camel@crystalline-entity.csail.mit.edu> On Mon, 2011-05-23 at 15:03 +0900, Stephen J. Turnbull wrote: > Of course, some things have to involve Mailman (eg, filtering posts on > list membership). But even there, the developers consider it a design > bug that Mailman has no way to export its member database to filtering > software at the MTA level (which would make it possible to reject a > post based on the From: nonmember + To: list combination without ever > accepting the mail, among many other potential applications). This is > being remedied in Mailman 3. I haven't been following Mailman 3 development plans, and that's good to hear! I've been intending to do this out of a cron job, so that Exim can refuse at SMTP time mail that it knows the destination list would refuse anyway. That reminds me of something I've sort of been wishing for for a bit, which would be the ability to expose arbitrary new list-specific variables to list admins which would be stored in the list pickle. The obvious example is a SpamAssassin threshold over which to refuse mail to the list. We have lots of standard general-purpose lists, but we also have some lists which *discuss* spam and/or security threats, which need a higher score. Other examples would be a list of languages the list accepts, what sorts of attachments to allow, and the like. Obviously, there are other ways to get this sort of information to the MTA and/or filtering software, but treating these things as list attributes, with the same web interface as all the other list attributes, would make things easy on list maintainers. I'm guessing this sort of thing is not possible without code changes to Mailman (forgive my lack of understanding of the Mailman codebase), but if the web UI is in whole or in part programmatically generated, it might be possible already -- and if not, a way for site or list administrators to add arbitrary variables to a list (even if the Mailman codebase doesn't do anything with them itself) might be a useful feature to consider for Mailman 3, especially if there's a general facility for making them available to MTAs. (For all I know, of course, this may already be in the works.) Jay From jsekora at csail.mit.edu Mon May 23 17:24:51 2011 From: jsekora at csail.mit.edu (Jay A. Sekora) Date: Mon, 23 May 2011 11:24:51 -0400 Subject: [Mailman-Users] Detecting mail with multiple From: lines In-Reply-To: <20110523110630.5a8c9d07@neurotica.wooz.org> References: <87aaeebt1m.fsf@uwakimon.sk.tsukuba.ac.jp> <1306162669.12769.530.camel@crystalline-entity.csail.mit.edu> <20110523110630.5a8c9d07@neurotica.wooz.org> Message-ID: <1306164291.12769.558.camel@crystalline-entity.csail.mit.edu> On Mon, 2011-05-23 at 11:06 -0400, Barry Warsaw wrote: > What's the legitimate use case for multiple From headers? Mail sent on behalf of a group, such as mail from a committee or from the multiple authors of a paper, where you want people's individual addresses and names exposed (or you can't create or don't want the hassle of creating an ad-hoc email alias for the group of people). That's what I am told users here have used it for. That's certainly a very rare usage, but it seems to be what the original authors of the RFCs envisioned. I wouldn't feel *too* bad about blocking such mail, but since it's legal and I did discover people using it blocking it is not my first choice. Jay PS -- Of course, the other question is whether the recipient's MUA is going to do anything remotely sensible with such mail. That's why I've never used it myself, even in situations where it would be appropriate. I am told that GMail, for instance, only shows the first sender. From mike at writestarr.com Mon May 23 17:37:02 2011 From: mike at writestarr.com (Mike Starr) Date: Mon, 23 May 2011 10:37:02 -0500 Subject: [Mailman-Users] Editing MM-List-Subscription-Msg In-Reply-To: References: Message-ID: <4DDA7F1E.3090402@writestarr.com> Ah, the sun begins to break over the horizon. I'll edit the HTML then () and wait with bated breath for the overhauled web UI. Thanks much for your patience with my questions. Best regards, Mike -- Mike Starr WriteStarr Information Services Technical Writer - Online Help Developer - Technical Illustrator Graphic Designer - Desktop Publisher - MS Office Expert (262) 694-1028 - mike at writestarr.com - http://www.writestarr.com On 5/23/2011 10:16 AM, Mark Sapiro wrote: > Mike Starr wrote: >> >> However, it also just seems to me that this is one of those things that should probably be editable on the *General Options* form page itself, like most of the other text chunks. That's why I also asked about the procedure for adding that editing capability as a feature request for the *General Options* form page. > > > Is I tried to indicate, it's not just a simple chunk of text. It is one > of three possible chunks or the empty string depending on > subscribe_policy possibly followed by one of two chunks depending on > private_roster possibly followed by another chunk if umbrella_list is > true. Thus, there are 6 strings plus the empty string and a total of > 24 possible combinations of these that make up the final message. > > The web UI is being totally redone for MM3, so this will certainly > change there and may be moot. > From mark at msapiro.net Mon May 23 17:43:02 2011 From: mark at msapiro.net (Mark Sapiro) Date: Mon, 23 May 2011 08:43:02 -0700 Subject: [Mailman-Users] removing a lot of members with incorrect address In-Reply-To: <7154CC41-FD8C-404F-8F54-35F09F1D307B@landrovertech.com> Message-ID: Marc Rengers wrote: > >I've got a list where an other admin has subcribed a lot of members with a dash on the end of the address. Like name at domain.nl- and user at other.com- >If it were a few I would unsubscribe them manually, but there are around 150.... > >Is there a way to create a ilst of these wrong addresses and then easily unsubscribe these? There are a few ways to do this. A somewhat tedious way is to first go to the admin General Options page and set admin_member_chunksize to a number > 150 so the next result won't be 'chunked. Then go to the Membership Management... -> Membership List pages and enter -$ in the Find member box and search. and then check the 'unsub' boxes on the result and Submit Your Changes. If you have command line access, you could do bin/list_members LISTNAME | sed '/[^-]$/d' | \ bin/remove_members -n -N -f - LISTNAME Give the bin/list_members and bin/remove_members commands witth the --help option for more info. Or, if you have a list of the addresses, you could either paste it or upload it to the Membership Management... -> Mass Removal page. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From barry at list.org Mon May 23 17:43:10 2011 From: barry at list.org (Barry Warsaw) Date: Mon, 23 May 2011 11:43:10 -0400 Subject: [Mailman-Users] Tangent: Exporting information from Mailman to the MTA In-Reply-To: <1306163910.12769.550.camel@crystalline-entity.csail.mit.edu> References: <87aaeebt1m.fsf@uwakimon.sk.tsukuba.ac.jp> <8762p2ar7o.fsf@uwakimon.sk.tsukuba.ac.jp> <1306163910.12769.550.camel@crystalline-entity.csail.mit.edu> Message-ID: <20110523114310.64df65f5@neurotica.wooz.org> On May 23, 2011, at 11:18 AM, Jay A. Sekora wrote: >That reminds me of something I've sort of been wishing for for a bit, >which would be the ability to expose arbitrary new list-specific >variables to list admins which would be stored in the list pickle. In MM3, there are no pickles. Everything lives in a database (SQLite3 by default), and the intent (if currently incompletely implemented) is that the Mailman core engine is entirely controllable and inspectable over HTTP/REST/JSON. So presumably, the MTA could query Mailman about anything, and get a JSON response that should be easily parsed. Your MTA could of course query the database directly, but I am not currently making any claims about the stability of the database schema, while I do intend to support a stable REST API. -Barry -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: not available URL: From lucio at lambrate.inaf.it Mon May 23 18:01:53 2011 From: lucio at lambrate.inaf.it (Lucio Chiappetti) Date: Mon, 23 May 2011 18:01:53 +0200 (CEST) Subject: [Mailman-Users] Detecting mail with multiple From: lines In-Reply-To: <1306164291.12769.558.camel@crystalline-entity.csail.mit.edu> References: <1306164291.12769.558.camel@crystalline-entity.csail.mit.edu> Message-ID: On Mon, 23 May 2011, Jay A. Sekora wrote: > On Mon, 2011-05-23 at 11:06 -0400, Barry Warsaw wrote: >> What's the legitimate use case for multiple From headers? > Mail sent on behalf of a group, such as mail from a committee or from > the multiple authors of a paper, where you want people's individual > addresses and names exposed But surely that does not require multiple From lines, like a message addressed to many persons does not have multiple To lines, but a To (or From) line consisting of a list of addresses. I've used myself a From (and/or a Reply-To) line listing more than one addresses (inserting them at MUA level in the ONLY From line allowed by the MUA), when I wanted replies forced to more than one address. -- ------------------------------------------------------------------------ Lucio Chiappetti - INAF/IASF - via Bassini 15 - I-20133 Milano (Italy) For more info : http://www.iasf-milano.inaf.it/~lucio/personal.html ------------------------------------------------------------------------ From CNulk at scu.edu Mon May 23 18:44:05 2011 From: CNulk at scu.edu (C Nulk) Date: Mon, 23 May 2011 09:44:05 -0700 Subject: [Mailman-Users] Automating Mailman Archive Maintenance In-Reply-To: References: Message-ID: <4DDA8ED5.6050602@scu.edu> Thank you very much, Mark. I appreciate the information and help. I have written a small php app which uses the imap libraries to open and process the mbox files. Given a time frame, the app will mark for deletion or remove any messages older than the time frame. Now to write a script to call bin/arch for each of the lists I process with my php app. I think I will still shutdown mailman when I run the php app since I don't have any way to check on any locks. Afterwards, I can restart Mailman, then call the script to rebuild the archives. The combination of the two apps/scripts will allow us to automate removing old archives. Run once a month for marking old messages, then once a year to remove marked messages. We can then keep a running 2 - 3 year archive going. Thanks again, Chris On 5/20/2011 8:44 PM, Mark Sapiro wrote: > C Nulk wrote: >> I am in the process of trying to automate our Mailman Archive >> maintenance before it gets unruly. I looked in the FAQ and wiki for >> information and found some about rebuilding the archives (which will be >> handy) but nothing about automating it. >> >> The assumptions I am working under: >> 1. the html files for the archives are located in > prefix>/ (to be called DIR-A) >> 2. the directory the mbox file to rebuild the archive html files are in >> /.mbox (to be called DIR-B) >> 3. our automated process will process the mbox files in DIR-B and delete >> completely or mark for deletion any messages older than a given timeframe. >> >> Now, the questions: >> 1. If I run bin/arch --wipe to rebuild the archives for >> , do I have to delete the files in DIR-A first or will >> bin/arch do it? > > You do not have to delete any DIR-A files. That's what the --wipe > option does. > > >> 2. When a message is added to the mbox file in DIR-B, is it appended to >> the file or does it get added through some interface? > > It is appended. > > >> 3. When a message is added to the mbox file in DIR-B, are any existing >> messages that are marked for deletion removed or is the message just >> added to the mbox file? > > It is just appended by a file open and append operation. The process > does not in any way emulate an MDA or any IMAP or other mail access > type process. > > >> 4. When bin/arch is run and builds the html files, does it ignore >> messages marked for deletion or does it add the message to the html >> files no matter how it is marked? > > It totally ignores any message status type headers. > > >> 5. Should Mailman be shutdown prior to running my automated process, >> which includes running bin/arch, or can I leave Mailman running? > > It's OK for Mailman to be running. There are archive locks that will > prevent concurrent updates. > > >> 6. In our installation, the public archives directory for each list is a >> link to the private archives directory for each list, is that the >> standard or should I be prepared to see some archives in the public area >> and other in the private depending on the particular list's setting? > > All archive data is in archives/private/. archives/public/ contains > only symlinks. > > >> 7. Is there any other gotcha I should watch out for when using an >> automated process? > > I don't think so. > > -- > Mark Sapiro The highway is for gamblers, > San Francisco Bay Area, California better use your sense - B. Dylan > From michael.c.soh at gmail.com Mon May 23 19:17:29 2011 From: michael.c.soh at gmail.com (Michael Soh) Date: Mon, 23 May 2011 13:17:29 -0400 Subject: [Mailman-Users] Postfix & Mailman not playing well together In-Reply-To: References: Message-ID: Thanks so much for your clues. I've replied in-line On Sat, May 21, 2011 at 1:12 AM, Mark Sapiro wrote: > Don't assume that your HTML markup will pass through a list's content > filtering. > Noted. > The problem is that mail to the lists.mikesoh.com domain is delivered > by a relay other than Postfix's 'local' delivery and that relay > doesn't understand 'pipe' delivery so the string > "|/var/lib/mailman/mail/mailman post somelist" in the alias is > interpreted as a 'local' address rather than a pipe and thus gets > appended with $mydomain. > > Right, and if Postfix is using the 'local' relay for this domain, it > will run the correct command too. > So how do I get Postfix to correctly run the command? >I can't seem to figure out why this is. I've posted my postfix config on a > >pastebin: > >http://paste.ubuntu.com/610641/ > > > If you want someone to actually look at your Postfix configuration, > paste the output from 'postconf -n' rather than the entire 643 line > 'postconf' configuration. > http://paste.ubuntu.com/611943/ In addition to the above clues, look in the Postfix log (maillog) to > see what 'relay' is being used for this mail and figure out why it is > what it is rather than 'local'. This may require looking at > transport_maps and/or master.cf. > Here is the output from the mail.log: May 19 15:18:45 hotdog postfix/smtpd[9652]: 957453430E4B: client= mail-ey0-f179.google.com[209.85.215.179] May 19 15:18:45 hotdog postfix/cleanup[23878]: 957453430E4B: message-id=< BANLkTikskn_wNtvGjbKypcq7gNbBUAUfuQ at mail.gmail.com> May 19 15:18:46 hotdog postfix/qmgr[5173]: 957453430E4B: from=< michael.c.soh at gmail.com>, size=1994, nrcpt=1 (queue active) May 19 15:18:46 hotdog postfix/error[28625]: 957453430E4B: to=<|/var/lib/mailman/mail/mailman post epicfail at mikesoh.com>, orig_to=< epicfail at lists.mikesoh.com>, relay=none, delay=1, delays=0.9/0.07/0/0.05, dsn=5.0.0, status=bounced (User unknown in virtual alias table) May 19 15:18:46 hotdog postfix/cleanup[23878]: 47DAA3430E51: message-id=< 20110519191846.47DAA3430E51 at hotdog.mikesoh.com> May 19 15:18:46 hotdog postfix/bounce[30003]: 957453430E4B: sender non-delivery notification: 47DAA3430E51 May 19 15:18:46 hotdog postfix/qmgr[5173]: 47DAA3430E51: from=<>, size=3968, nrcpt=1 (queue active) And here is my master.cf: http://paste.ubuntu.com/611944/ Thanks again for the help! From michael.c.soh at gmail.com Mon May 23 19:20:29 2011 From: michael.c.soh at gmail.com (Michael Soh) Date: Mon, 23 May 2011 13:20:29 -0400 Subject: [Mailman-Users] Postfix & Mailman not playing well together In-Reply-To: References: Message-ID: Sorry my master.cf paste was incomplete: http://paste.ubuntu.com/611947/ On Mon, May 23, 2011 at 1:17 PM, Michael Soh wrote: > Thanks so much for your clues. I've replied in-line > > On Sat, May 21, 2011 at 1:12 AM, Mark Sapiro wrote: > >> Don't assume that your HTML markup will pass through a list's content >> filtering. >> > > Noted. > > >> The problem is that mail to the lists.mikesoh.com domain is delivered >> by a relay other than Postfix's 'local' delivery and that relay >> doesn't understand 'pipe' delivery so the string >> "|/var/lib/mailman/mail/mailman post somelist" in the alias is >> interpreted as a 'local' address rather than a pipe and thus gets >> appended with $mydomain. >> > > >> Right, and if Postfix is using the 'local' relay for this domain, it >> >> will run the correct command too. >> > > So how do I get Postfix to correctly run the command? > > >I can't seem to figure out why this is. I've posted my postfix config on >> a >> >pastebin: >> >http://paste.ubuntu.com/610641/ >> >> >> If you want someone to actually look at your Postfix configuration, >> paste the output from 'postconf -n' rather than the entire 643 line >> 'postconf' configuration. >> > > http://paste.ubuntu.com/611943/ > > In addition to the above clues, look in the Postfix log (maillog) to >> see what 'relay' is being used for this mail and figure out why it is >> what it is rather than 'local'. This may require looking at >> transport_maps and/or master.cf. >> > > Here is the output from the mail.log: > > May 19 15:18:45 hotdog postfix/smtpd[9652]: 957453430E4B: client= > mail-ey0-f179.google.com[209.85.215.179] > May 19 15:18:45 hotdog postfix/cleanup[23878]: 957453430E4B: message-id=< > BANLkTikskn_wNtvGjbKypcq7gNbBUAUfuQ at mail.gmail.com> > May 19 15:18:46 hotdog postfix/qmgr[5173]: 957453430E4B: from=< > michael.c.soh at gmail.com>, size=1994, nrcpt=1 (queue active) > May 19 15:18:46 hotdog postfix/error[28625]: 957453430E4B: > to=<|/var/lib/mailman/mail/mailman post epicfail at mikesoh.com>, orig_to=< > epicfail at lists.mikesoh.com>, relay=none, delay=1, delays=0.9/0.07/0/0.05, > dsn=5.0.0, status=bounced (User unknown in virtual alias table) > May 19 15:18:46 hotdog postfix/cleanup[23878]: 47DAA3430E51: message-id=< > 20110519191846.47DAA3430E51 at hotdog.mikesoh.com> > May 19 15:18:46 hotdog postfix/bounce[30003]: 957453430E4B: sender > non-delivery notification: 47DAA3430E51 > May 19 15:18:46 hotdog postfix/qmgr[5173]: 47DAA3430E51: from=<>, > size=3968, nrcpt=1 (queue active) > > > And here is my master.cf: > http://paste.ubuntu.com/611944/ > > Thanks again for the help! > From mark at msapiro.net Mon May 23 19:44:53 2011 From: mark at msapiro.net (Mark Sapiro) Date: Mon, 23 May 2011 10:44:53 -0700 Subject: [Mailman-Users] Postfix & Mailman not playing well together In-Reply-To: References: Message-ID: <4DDA9D15.8030804@msapiro.net> On 5/23/2011 10:17 AM, Michael Soh wrote: > > On Sat, May 21, 2011 at 1:12 AM, Mark Sapiro wrote: > > If you want someone to actually look at your Postfix configuration, > paste the output from 'postconf -n' rather than the entire 643 line > 'postconf' configuration. > > > http://paste.ubuntu.com/611943/ I think Geoff Shang's reply (at - only one of the problems of posting as a non-subscriber) was on target. hash:/var/lib/mailman/data/aliases does not belong in virtual_alias_maps = hash:/var/lib/mailman/data/virtual-mailman, hash:/var/lib/mailman/data/aliases, mysql:/etc/postfix/virtual/aliases.cf It should be virtual_alias_maps = hash:/var/lib/mailman/data/virtual-mailman, mysql:/etc/postfix/virtual/aliases.cf hash:/var/lib/mailman/data/aliases should only be in alias_maps as it is. Fix that and see if that fixes the problem. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From michael.c.soh at gmail.com Mon May 23 20:08:03 2011 From: michael.c.soh at gmail.com (Michael Soh) Date: Mon, 23 May 2011 14:08:03 -0400 Subject: [Mailman-Users] Postfix & Mailman not playing well together In-Reply-To: <4DDA9D15.8030804@msapiro.net> References: <4DDA9D15.8030804@msapiro.net> Message-ID: Thanks Mark and Geoff for your help. The fix did work. However, now trying to use mailman in my virtual domain is proving problematic. I removed the previous epicfail at lists.mikesoh.com and created epicfail at linuslive.com. The output of the maillog is: May 23 14:06:34 hotdog postfix/smtpd[11643]: connect from mail-ey0-f181.google.com[209.85.215.181] May 23 14:06:34 hotdog postfix/smtpd[11643]: setting up TLS connection from mail-ey0-f181.google.com[209.85.215.181] May 23 14:06:34 hotdog postfix/smtpd[11643]: Anonymous TLS connection established from mail-ey0-f181.google.com[209.85.215.181]: TLSv1 with cipher RC4-SHA (128/128 bits) May 23 14:06:34 hotdog postfix/smtpd[11643]: D897D518820E: client= mail-ey0-f181.google.com[209.85.215.181] May 23 14:06:35 hotdog postfix/cleanup[21957]: D897D518820E: message-id=< BANLkTikH5QC7-yQcVa8VvyyjXX2+kWcc+w at mail.gmail.com> May 23 14:06:35 hotdog postfix/qmgr[24277]: D897D518820E: from=< michael.c.soh at gmail.com>, size=1996, nrcpt=1 (queue active) May 23 14:06:35 hotdog postfix/error[24526]: D897D518820E: to=< epicfail at mikesoh.com>, orig_to=, relay=none, delay=0.73, delays=0.53/0.04/0/0.16, dsn=5.0.0, status=bounced (User unknown in virtual alias table) May 23 14:06:35 hotdog postfix/cleanup[21957]: 78F51518820F: message-id=< 20110523180635.78F51518820F at hotdog.mikesoh.com> May 23 14:06:35 hotdog postfix/bounce[25719]: D897D518820E: sender non-delivery notification: 78F51518820F May 23 14:06:35 hotdog postfix/qmgr[24277]: 78F51518820F: from=<>, size=3886, nrcpt=1 (queue active) May 23 14:06:35 hotdog postfix/qmgr[24277]: D897D518820E: removed May 23 14:06:48 hotdog postfix/smtp[28082]: 78F51518820F: to=< michael.c.soh at gmail.com>, relay=gmail-smtp-in.l.google.com[74.125.67.27]:25, delay=13, delays=0.09/0.01/4.4/8.7, dsn=2.0.0, status=sent (250 2.0.0 OK 1306174008 k11si7074639yba.80) May 23 14:06:49 hotdog postfix/qmgr[24277]: 78F51518820F: removed May 23 14:07:05 hotdog postfix/smtpd[11643]: disconnect from mail-ey0-f181.google.com[209.85.215.181] I did remember to reload postfix after creating the list. No other changes to postfix have been made. On Mon, May 23, 2011 at 1:44 PM, Mark Sapiro wrote: > On 5/23/2011 10:17 AM, Michael Soh wrote: > > > > On Sat, May 21, 2011 at 1:12 AM, Mark Sapiro wrote: > > > > If you want someone to actually look at your Postfix configuration, > > paste the output from 'postconf -n' rather than the entire 643 line > > 'postconf' configuration. > > > > > > http://paste.ubuntu.com/611943/ > > > I think Geoff Shang's reply (at > - > only one of the problems of posting as a non-subscriber) was on target. > > hash:/var/lib/mailman/data/aliases does not belong in > > virtual_alias_maps = hash:/var/lib/mailman/data/virtual-mailman, > hash:/var/lib/mailman/data/aliases, > mysql:/etc/postfix/virtual/aliases.cf > > It should be > > virtual_alias_maps = hash:/var/lib/mailman/data/virtual-mailman, > mysql:/etc/postfix/virtual/aliases.cf > > hash:/var/lib/mailman/data/aliases should only be in alias_maps as it is. > > Fix that and see if that fixes the problem. > > -- > Mark Sapiro The highway is for gamblers, > San Francisco Bay Area, California better use your sense - B. Dylan > > From mark at msapiro.net Mon May 23 20:23:46 2011 From: mark at msapiro.net (Mark Sapiro) Date: Mon, 23 May 2011 11:23:46 -0700 Subject: [Mailman-Users] Postfix & Mailman not playing well together In-Reply-To: Message-ID: Michael Soh wrote: > >Thanks Mark and Geoff for your help. The fix did work. However, now trying >to use mailman in my virtual domain is proving problematic. > >I removed the previous epicfail at lists.mikesoh.com and created >epicfail at linuslive.com. The output of the maillog is: [...] >May 23 14:06:35 hotdog postfix/qmgr[24277]: D897D518820E: from=< >michael.c.soh at gmail.com>, size=1996, nrcpt=1 (queue active) >May 23 14:06:35 hotdog postfix/error[24526]: D897D518820E: to=< >epicfail at mikesoh.com>, orig_to=, relay=none, >delay=0.73, delays=0.53/0.04/0/0.16, dsn=5.0.0, status=bounced (User unknown >in virtual alias table) [...] What's in mm_cfg.py? In particular, is 'linuslive.com' in POSTFIX_STYLE_VIRTUAL_DOMAINS and in an add_virtualhost() directive. Is the host_name attribute on the lists admin General Options page linuslive.com? -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Mon May 23 20:41:29 2011 From: mark at msapiro.net (Mark Sapiro) Date: Mon, 23 May 2011 11:41:29 -0700 Subject: [Mailman-Users] Postfix & Mailman not playing well together In-Reply-To: Message-ID: Mark Sapiro wrote: >Michael Soh wrote: >> >>Thanks Mark and Geoff for your help. The fix did work. However, now trying >>to use mailman in my virtual domain is proving problematic. >> >>I removed the previous epicfail at lists.mikesoh.com and created >>epicfail at linuslive.com. The output of the maillog is: >[...] >>May 23 14:06:35 hotdog postfix/qmgr[24277]: D897D518820E: from=< >>michael.c.soh at gmail.com>, size=1996, nrcpt=1 (queue active) >>May 23 14:06:35 hotdog postfix/error[24526]: D897D518820E: to=< >>epicfail at mikesoh.com>, orig_to=, relay=none, >>delay=0.73, delays=0.53/0.04/0/0.16, dsn=5.0.0, status=bounced (User unknown >>in virtual alias table) >[...] > > >What's in mm_cfg.py? > >In particular, is 'linuslive.com' in POSTFIX_STYLE_VIRTUAL_DOMAINS and >in an add_virtualhost() directive. On closer inspection, Those aren't the appropriate questions. It appears the problem may be in Postfix. It looks like epicfail at linuslive.com is being mapped to epicfail at mikesoh.com by virtual_alias_maps, but mikesoh.com is in turn a virtual domain (i.e. in virtual_alias_domains). It looks like mydomain is set to mikesoh.com because it defaults myhostname with the first component removed. You either want to set mydomain explicitly to some domain in mydestination or if your Mailman is recent enought to support it, set VIRTUAL_MAILMAN_LOCAL_DOMAIN = 'localhost' in mm_cfg.py and run Mailman's bin/genaliases to rebuild virtual-mailman. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From michael.c.soh at gmail.com Mon May 23 20:43:57 2011 From: michael.c.soh at gmail.com (Michael Soh) Date: Mon, 23 May 2011 14:43:57 -0400 Subject: [Mailman-Users] Postfix & Mailman not playing well together In-Reply-To: References: Message-ID: On Mon, May 23, 2011 at 2:23 PM, Mark Sapiro wrote: > What's in mm_cfg.py? > > In particular, is 'linuslive.com' in POSTFIX_STYLE_VIRTUAL_DOMAINS and > in an add_virtualhost() directive. > POSTFIX_STYLE_VIRTUAL_DOMAINS = ['linuslive.com', 'mikesoh.com'] And it looks like there isn't anything listed in the add_virtualhost() outside of the default. Modifying these settings weren't in the documentation. add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST) I'm assuming then I'll have to add the following lines: add_virtualhost(DEFAULT_URL_HOST, 'mikesoh.com') add_virtualhost(DEFAULT_URL_HOST, 'linuslive.com') > Is the host_name attribute on the lists admin General Options page > linuslive.com? > Yes. From michael.c.soh at gmail.com Mon May 23 20:57:51 2011 From: michael.c.soh at gmail.com (Michael Soh) Date: Mon, 23 May 2011 14:57:51 -0400 Subject: [Mailman-Users] Postfix & Mailman not playing well together In-Reply-To: References: Message-ID: On Mon, May 23, 2011 at 2:41 PM, Mark Sapiro wrote: > It looks like epicfail at linuslive.com is being mapped to > epicfail at mikesoh.com by virtual_alias_maps, but mikesoh.com is in turn > a virtual domain (i.e. in virtual_alias_domains). > Yes, this is correct. I have a lot of e-mail addresses and it's just easier to virtualize the entire domain (hence the mysql hook). > It looks like mydomain is set to mikesoh.com because it defaults > myhostname with the first component removed. You either want to set > mydomain explicitly to some domain in mydestination or if your Mailman > is recent enought to support it, set > > VIRTUAL_MAILMAN_LOCAL_DOMAIN = 'localhost' > > in mm_cfg.py and run Mailman's bin/genaliases to rebuild > virtual-mailman. > I've tried putting in the variable in mm_cfg.py to no avail. Still the same results. I've also tried setting mydomain to a destination ( hotdog.mikesoh.com) and that didn't work either. And tried the default (localdomain) and that failed as well. From mark at msapiro.net Mon May 23 21:14:03 2011 From: mark at msapiro.net (Mark Sapiro) Date: Mon, 23 May 2011 12:14:03 -0700 Subject: [Mailman-Users] Postfix & Mailman not playing well together In-Reply-To: Message-ID: Michael Soh wrote: > >On Mon, May 23, 2011 at 2:41 PM, Mark Sapiro wrote: > >> It looks like epicfail at linuslive.com is being mapped to >> epicfail at mikesoh.com by virtual_alias_maps, but mikesoh.com is in turn >> a virtual domain (i.e. in virtual_alias_domains). >> > >Yes, this is correct. I have a lot of e-mail addresses and it's just easier >to virtualize the entire domain (hence the mysql hook). > > >> It looks like mydomain is set to mikesoh.com because it defaults >> myhostname with the first component removed. You either want to set >> mydomain explicitly to some domain in mydestination or if your Mailman >> is recent enought to support it, set >> >> VIRTUAL_MAILMAN_LOCAL_DOMAIN = 'localhost' >> >> in mm_cfg.py and run Mailman's bin/genaliases to rebuild >> virtual-mailman. >> > >I've tried putting in the variable in mm_cfg.py to no avail. Still the same >results. Did you run Mailman's bin/genaliases after changing mm_cfg.py? What Mailman version is this? What's in data/virtual-mailman? Do the 'to' addresses have @localhost appended. If not, you can append it manually and there are ways to automate this. >I've also tried setting mydomain to a destination ( >hotdog.mikesoh.com) and that didn't work either. What were the postfix log messages in that case? -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From michael.c.soh at gmail.com Mon May 23 21:16:19 2011 From: michael.c.soh at gmail.com (Michael Soh) Date: Mon, 23 May 2011 15:16:19 -0400 Subject: [Mailman-Users] Postfix & Mailman not playing well together In-Reply-To: References: Message-ID: On Mon, May 23, 2011 at 3:05 PM, Mark Sapiro wrote: > This is documented in Defaults.py in the paragraphs immediately > preceding the definitions of DEFAULT_URL_HOST and DEFAULT_EMAIL_HOST. > I was just following the directions on the website, specifically: http://www.list.org/mailman-install/postfix-virtual.html > >add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST) > > > >I'm assuming then I'll have to add the following lines: > >add_virtualhost(DEFAULT_URL_HOST, 'mikesoh.com') > >add_virtualhost(DEFAULT_URL_HOST, 'linuslive.com') > > > No. The url hosts in add_virtualhost directives must be unique. > Otherwise each just replaces the prior one. > > If you aren't going to create lists via the web and are going to create > all lists via bin/newlist with the same (default) url host and the -e > option for specifying email host (or setting the email host via the > list's host_name in the web admin GUI). You don't need add_virtualhost > directives. > This is what I would like to do. I'm a command-line person myself. And since I'd have to run postfix reload after creating the aliases anyway, it makes more sense for me to run it via command-line. > If you have multiple web domains and want to keep them separate, you > need add_virtualhost('web_host_for_this_email_domain', 'email_domain') > for each domain. > I didn't put in add_virtualhost() in the Defaults.py or mm_cfg.py and still having mail bouncing saying that the alias couldn't be found. If worse comes to worse, I can just host all of my mailman lists on the lists.mikesoh.com subdomain but would like to be able to use all of my domains to create mailing lists. From jsekora at csail.mit.edu Mon May 23 21:35:00 2011 From: jsekora at csail.mit.edu (Jay A. Sekora) Date: Mon, 23 May 2011 15:35:00 -0400 Subject: [Mailman-Users] Detecting mail with multiple From: lines In-Reply-To: References: <1306164291.12769.558.camel@crystalline-entity.csail.mit.edu> Message-ID: <1306179300.12769.595.camel@crystalline-entity.csail.mit.edu> On Mon, 2011-05-23 at 18:01 +0200, Lucio Chiappetti wrote: > > Mail sent on behalf of a group, such as mail from a committee or from > > the multiple authors of a paper, where you want people's individual > > addresses and names exposed > > But surely that does not require multiple From lines, like a message > addressed to many persons does not have multiple To lines, but a To (or > From) line consisting of a list of addresses. No, certainly not. (Although I have seen a fair bit of the latter -- multiple recipients each listed in their own To: header -- in legitimate mail. My vague recollection is that most such mail I've seen was gatewayed from tools which are primarily designed for intranets or other non-Internet networks.) However, the problem of sender filters only being applied to one of the multiple possible sender addresses would still apply in this case, so one way or another, if you want to be able to blacklist at the Mailman level individual (claimed) sender addresses when a message has multiple From: addresses (whether listed in one header or each listed in their own header), it sounds like you need to do it with a spam filter of the sort Mark suggested, rather than with the more intuitive sender filters. [digression more appropriate for an actual spam-filtering list snipped.] > I've used myself a From (and/or a Reply-To) line listing more than one > addresses (inserting them at MUA level in the ONLY From line allowed > by the MUA), when I wanted replies forced to more than one address. As an aside, I'd trust MUAs to do the right thing with multiple addresses in a Reply-To: line more than I'd trust them to do the right thing with multiple addresses in a From: line, just because the latter is so rare. (Suspenders *and* a belt should be fine, though. :-) Jay From brian at emwd.com Mon May 23 21:38:59 2011 From: brian at emwd.com (Brian Carpenter) Date: Mon, 23 May 2011 15:38:59 -0400 Subject: [Mailman-Users] Real Names on Roster Message-ID: <4DDAB7D3.9000803@emwd.com> Hello Mailman Community: What change do I need to make to mailman's configuration to allow real names to show up on any lists' roster? I did some searching around and did not find an answer. I did read one post that stated that some sort of configuration setup that allows for this would be implemented in 2.2. Thank you for your assistance. -- -- Brian Carpenter Owner | EMWD& dotList brian at emwd.com | http://www.emwd.com | http://www.mailmanhost.com From mark at msapiro.net Mon May 23 21:39:37 2011 From: mark at msapiro.net (Mark Sapiro) Date: Mon, 23 May 2011 12:39:37 -0700 Subject: [Mailman-Users] Postfix & Mailman not playing well together In-Reply-To: Message-ID: Michael Soh wrote: > >On Mon, May 23, 2011 at 3:05 PM, Mark Sapiro wrote: > >> This is documented in Defaults.py in the paragraphs immediately >> preceding the definitions of DEFAULT_URL_HOST and DEFAULT_EMAIL_HOST. >> > >I was just following the directions on the website, specifically: >http://www.list.org/mailman-install/postfix-virtual.html add_virtualhost is not mentioned in the postfix section because it's not a postfix related setting per se. Section 7 Review your site defaults urges you to read Defaults.py >> >add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST) >> > >> >I'm assuming then I'll have to add the following lines: >> >add_virtualhost(DEFAULT_URL_HOST, 'mikesoh.com') >> >add_virtualhost(DEFAULT_URL_HOST, 'linuslive.com') >> >> >> No. The url hosts in add_virtualhost directives must be unique. >> Otherwise each just replaces the prior one. >> >> If you aren't going to create lists via the web and are going to create >> all lists via bin/newlist with the same (default) url host and the -e >> option for specifying email host (or setting the email host via the >> list's host_name in the web admin GUI). You don't need add_virtualhost >> directives. >> > >This is what I would like to do. I'm a command-line person myself. And >since I'd have to run postfix reload after creating the aliases anyway, it >makes more sense for me to run it via command-line. You don't have to reload Postfix after changing aliases and/or virtual-mailman. The commands defined in POSTFIX_ALIAS_CMD and POSTFIX_MAP_CMD are run automatically and update the .db files and Postfix will notice they've changed. >> If you have multiple web domains and want to keep them separate, you >> need add_virtualhost('web_host_for_this_email_domain', 'email_domain') >> for each domain. >> > >I didn't put in add_virtualhost() in the Defaults.py or mm_cfg.py and still >having mail bouncing saying that the alias couldn't be found. What's in the postfix log? >If worse comes to worse, I can just host all of my mailman lists on the >lists.mikesoh.com subdomain but would like to be able to use all of my >domains to create mailing lists. Do all your email domains use the same web domain? Do you care if list mail from the list at example.net list refers to the example.com domain in web URLs? -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From geoff at QuiteLikely.com Mon May 23 22:21:09 2011 From: geoff at QuiteLikely.com (Geoff Shang) Date: Mon, 23 May 2011 23:21:09 +0300 (IDT) Subject: [Mailman-Users] Real Names on Roster In-Reply-To: <4DDAB7D3.9000803@emwd.com> References: <4DDAB7D3.9000803@emwd.com> Message-ID: On Mon, 23 May 2011, Brian Carpenter wrote: > What change do I need to make to mailman's configuration to allow real names > to show up on any lists' roster? I did some searching around and did not find > an answer. I did read one post that stated that some sort of configuration > setup that allows for this would be implemented in 2.2. IIRC, this shows up for me, but only if the person subscribed via Email which of course sends the name along with the Email address in the From line. Whether or not it will also allow you to add real names if you add users as "Firstname Lastname
References: Message-ID: On Mon, May 23, 2011 at 3:39 PM, Mark Sapiro wrote: > add_virtualhost is not mentioned in the postfix section because it's > not a postfix related setting per se. > > Section 7 Review your site defaults urges you to read Defaults.py > Good to know. > You don't have to reload Postfix after changing aliases and/or > virtual-mailman. The commands defined in POSTFIX_ALIAS_CMD and > POSTFIX_MAP_CMD are run automatically and update the .db files and > Postfix will notice they've changed. > The documentation: http://www.list.org/mailman-install/postfix-integration.html says: One caveat: when you add or remove a list, the aliases.db file will updated, but it will not automatically run *postfix reload*. This is because you need to be root to run this and suid-root scripts are not secure. The only effect of this is that it will take about a minute for Postfix to notice the change to the aliases.db file and update its tables. I assumed that this applied to virtual domains as well. I guess it doesn't. > What's in the postfix log? > I guess these e-mails are getting out of order. I'll post the log for posterity: May 23 14:57:03 hotdog postfix/smtpd[19500]: connect from mail-ey0-f181.google.com[209.85.215.181] May 23 14:57:03 hotdog postfix/smtpd[19500]: setting up TLS connection from mail-ey0-f181.google.com[209.85.215.181] May 23 14:57:04 hotdog postfix/smtpd[19500]: Anonymous TLS connection established from mail-ey0-f181.google.com[209.85.215.181]: TLSv1 with cipher RC4-SHA (128/128 bits) May 23 14:57:04 hotdog postfix/smtpd[19500]: 5AAE1518820E: client= mail-ey0-f181.google.com[209.85.215.181] May 23 14:57:04 hotdog postfix/cleanup[26459]: 5AAE1518820E: message-id= May 23 14:57:04 hotdog postfix/qmgr[1375]: 5AAE1518820E: from=< michael.c.soh at gmail.com>, size=1995, nrcpt=1 (queue active) May 23 14:57:04 hotdog postfix/error[29964]: 5AAE1518820E: to=< epicfail at mikesoh.com>, orig_to=, relay=none, delay=0.44, delays=0.42/0/0/0.02, dsn=5.0.0, status=bounced (User unknown i n virtual alias table) May 23 14:57:04 hotdog postfix/cleanup[26459]: AA043518820F: message-id=< 20110523185704.AA043518820F at hotdog.mikesoh.com> May 23 14:57:04 hotdog postfix/bounce[29979]: 5AAE1518820E: sender non-delivery notification: AA043518820F May 23 14:57:04 hotdog postfix/qmgr[1375]: AA043518820F: from=<>, size=3885, nrcpt=1 (queue active) May 23 14:57:04 hotdog postfix/qmgr[1375]: 5AAE1518820E: removed May 23 15:02:03 hotdog postfix/smtpd[9810]: connect from mail-ew0-f53.google.com[209.85.215.53] May 23 15:02:04 hotdog postfix/smtpd[9810]: setting up TLS connection from mail-ew0-f53.google.com[209.85.215.53] May 23 15:02:04 hotdog postfix/smtpd[9810]: Anonymous TLS connection established from mail-ew0-f53.google.com[209.85.215.53]: TLSv1 with cipher RC4-SHA (128/128 bits) May 23 15:02:04 hotdog postfix/smtpd[9810]: AB276518820E: client= mail-ew0-f53.google.com[209.85.215.53] May 23 15:02:04 hotdog postfix/cleanup[19618]: AB276518820E: message-id= May 23 15:02:04 hotdog postfix/qmgr[23652]: AB276518820E: from=< michael.c.soh at gmail.com>, size=1989, nrcpt=1 (queue active) May 23 15:02:04 hotdog postfix/error[23679]: AB276518820E: to=< epicfail at mikesoh.com>, orig_to=, relay=none, delay=0.53, delays=0.51/0/0/0.01, dsn=5.0.0, status=bounced (User unknown in virtual alias table) May 23 15:02:05 hotdog postfix/cleanup[19618]: 003A3518820F: message-id=< 20110523190205.003A3518820F at hotdog.mikesoh.com> May 23 15:02:05 hotdog postfix/bounce[23696]: AB276518820E: sender non-delivery notification: 003A3518820F May 23 15:02:05 hotdog postfix/qmgr[23652]: 003A3518820F: from=<>, size=3879, nrcpt=1 (queue active) May 23 15:02:05 hotdog postfix/qmgr[23652]: AB276518820E: removed > >If worse comes to worse, I can just host all of my mailman lists on the > >lists.mikesoh.com subdomain but would like to be able to use all of my > >domains to create mailing lists. > > Do all your email domains use the same web domain? > Yes. > Do you care if list mail from the list at example.net list refers to the > example.com domain in web URLs? > No, as long as it does within e-mails. For example, on the list page, I don't care if it says foobar.tld when it really is mikesoh.com but I DO care if list at foobar.tld resolves to list at mikesoh.com. Thanks again for all of your help! From mark at msapiro.net Mon May 23 22:58:37 2011 From: mark at msapiro.net (Mark Sapiro) Date: Mon, 23 May 2011 13:58:37 -0700 Subject: [Mailman-Users] Postfix & Mailman not playing well together In-Reply-To: Message-ID: Michael Soh > >On Mon, May 23, 2011 at 3:39 PM, Mark Sapiro wrote: > >> You don't have to reload Postfix after changing aliases and/or >> virtual-mailman. The commands defined in POSTFIX_ALIAS_CMD and >> POSTFIX_MAP_CMD are run automatically and update the .db files and >> Postfix will notice they've changed. >> > >The documentation: >http://www.list.org/mailman-install/postfix-integration.html > >says: > >One caveat: when you add or remove a list, the aliases.db file will updated, >but it will not automatically run *postfix reload*. This is because you need >to be root to run this and suid-root scripts are not secure. The only effect >of this is that it will take about a minute for Postfix to notice the change >to the aliases.db file and update its tables. > >I assumed that this applied to virtual domains as well. I guess it doesn't. It does to the extent that it applies at all, but see -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From geoff at QuiteLikely.com Mon May 23 23:03:53 2011 From: geoff at QuiteLikely.com (Geoff Shang) Date: Tue, 24 May 2011 00:03:53 +0300 (IDT) Subject: [Mailman-Users] Postfix & Mailman not playing well together In-Reply-To: <4DDA9D15.8030804@msapiro.net> References: <4DDA9D15.8030804@msapiro.net> Message-ID: On Mon, 23 May 2011, Mark Sapiro wrote: > I think Geoff Shang's reply (at > - > only one of the problems of posting as a non-subscriber) was on target. Sorry, I didn't realise this list accepted non-member posts. Geoff. From mark at msapiro.net Mon May 23 23:34:18 2011 From: mark at msapiro.net (Mark Sapiro) Date: Mon, 23 May 2011 14:34:18 -0700 Subject: [Mailman-Users] Postfix & Mailman not playing well together In-Reply-To: Message-ID: Geoff Shang wrote: >On Mon, 23 May 2011, Mark Sapiro wrote: > >> I think Geoff Shang's reply (at >> - >> only one of the problems of posting as a non-subscriber) was on target. > >Sorry, I didn't realise this list accepted non-member posts. In theory it doesn't, but exceptions are made more often than not. In any case, you (Geoff) did nothing wrong. It is or should be up to the non-member poster to check the archives for replies not explicitly addressed to the poster. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Tue May 24 00:07:14 2011 From: mark at msapiro.net (Mark Sapiro) Date: Mon, 23 May 2011 15:07:14 -0700 Subject: [Mailman-Users] Real Names on Roster In-Reply-To: <4DDAB7D3.9000803@emwd.com> Message-ID: Brian Carpenter wrote: > >What change do I need to make to mailman's configuration to allow real >names to show up on any lists' roster? I did some searching around and >did not find an answer. I did read one post that stated that some sort >of configuration setup that allows for this would be implemented in 2.2. You can find the necessary small change to Mailman/HTMLFormatter.py at . -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From brian at emwd.com Tue May 24 00:31:41 2011 From: brian at emwd.com (Brian Carpenter) Date: Mon, 23 May 2011 18:31:41 -0400 Subject: [Mailman-Users] Real Names on Roster In-Reply-To: References: <4DDAB7D3.9000803@emwd.com> Message-ID: <4DDAE04D.7050404@emwd.com> I think the problem is we are using 2.1.14 and not 2.2 which has not been released yet. -- Brian Carpenter Owner | EMWD& dotList brian at emwd.com | http://www.emwd.com | http://www.mailmanhost.com On 5/23/2011 4:21 PM, Geoff Shang wrote: > On Mon, 23 May 2011, Brian Carpenter wrote: > >> What change do I need to make to mailman's configuration to allow >> real names to show up on any lists' roster? I did some searching >> around and did not find an answer. I did read one post that stated >> that some sort of configuration setup that allows for this would be >> implemented in 2.2. > > IIRC, this shows up for me, but only if the person subscribed via > Email which of course sends the name along with the Email address in > the From line. Whether or not it will also allow you to add real > names if you add users as "Firstname Lastname
the various add member screens, I don't know. > > All this is to say that the names will show up in the Member Name > column if Mailman knows it. > > What version of Mailman are you using? > > Or are you asking about something like list_members? I'm assuming you > mean the member list in the web interface. > > Geoff. > From mark at msapiro.net Tue May 24 00:32:16 2011 From: mark at msapiro.net (Mark Sapiro) Date: Mon, 23 May 2011 15:32:16 -0700 Subject: [Mailman-Users] Automating Mailman Archive Maintenance In-Reply-To: <4DDA8ED5.6050602@scu.edu> Message-ID: C Nulk wrote: > >I have written a small php app which uses the imap libraries to open and >process the mbox files. Given a time frame, the app will mark for >deletion or remove any messages older than the time frame. Now to write >a script to call bin/arch for each of the lists I process with my php >app. I think I will still shutdown mailman when I run the php app since >I don't have any way to check on any locks. Afterwards, I can restart >Mailman, then call the script to rebuild the archives. That should work fine, but if you wrote a Python script, it could use Mailman list methods to manage the archive locking and use either Python's imaplib or mailbox modules to actually manipulate messages in the .mbox. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Tue May 24 01:52:32 2011 From: mark at msapiro.net (Mark Sapiro) Date: Mon, 23 May 2011 16:52:32 -0700 Subject: [Mailman-Users] Real Names on Roster In-Reply-To: <4DDAE04D.7050404@emwd.com> Message-ID: Brian Carpenter wrote: >I think the problem is we are using 2.1.14 and not 2.2 which has not >been released yet. [...] > >On 5/23/2011 4:21 PM, Geoff Shang wrote: >> >> IIRC, this shows up for me, but only if the person subscribed via >> Email which of course sends the name along with the Email address in >> the From line. Whether or not it will also allow you to add real >> names if you add users as "Firstname Lastname
> the various add member screens, I don't know. You can mass subscribe members with real names. See the FAQ at . Also, members can provide a real name when subscribing from the web. Brian's issue is he want's to see the real name in the 'roster', not just in the admin membership list. This was implemented for Mailman 2.2, but that will not be officially released (see ). The display of real name in the roster can be added to Mailman 2.1 by adding three lines to Mailman/HTMLFormatter.py as indicated in the change at . -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From stephen at xemacs.org Tue May 24 04:29:50 2011 From: stephen at xemacs.org (Stephen J. Turnbull) Date: Tue, 24 May 2011 11:29:50 +0900 Subject: [Mailman-Users] Detecting mail with multiple From: lines In-Reply-To: <20110523110630.5a8c9d07@neurotica.wooz.org> References: <87aaeebt1m.fsf@uwakimon.sk.tsukuba.ac.jp> <1306162669.12769.530.camel@crystalline-entity.csail.mit.edu> <20110523110630.5a8c9d07@neurotica.wooz.org> Message-ID: <87y61wal0h.fsf@uwakimon.sk.tsukuba.ac.jp> Barry Warsaw writes: > What's the legitimate use case for multiple From headers? Technically, there is none. RFC 5322 requires exactly one From field, and that's that. http://www.ietf.org/rfc/rfc5322.txt, table in section 3.6. (Resent-From, of course, is a different kettle of fish.) However, presumably multiple addresses in the From field (same URL, section 3.6.2) would have the same effect on Mailman's (current) filtering strategy. From barry at list.org Tue May 24 14:10:50 2011 From: barry at list.org (Barry Warsaw) Date: Tue, 24 May 2011 08:10:50 -0400 Subject: [Mailman-Users] Detecting mail with multiple From: lines In-Reply-To: <87y61wal0h.fsf@uwakimon.sk.tsukuba.ac.jp> References: <87aaeebt1m.fsf@uwakimon.sk.tsukuba.ac.jp> <1306162669.12769.530.camel@crystalline-entity.csail.mit.edu> <20110523110630.5a8c9d07@neurotica.wooz.org> <87y61wal0h.fsf@uwakimon.sk.tsukuba.ac.jp> Message-ID: <20110524081050.6a32a7ed@neurotica.wooz.org> On May 24, 2011, at 11:29 AM, Stephen J. Turnbull wrote: >Barry Warsaw writes: > > > What's the legitimate use case for multiple From headers? > >Technically, there is none. RFC 5322 requires exactly one From field, >and that's that. http://www.ietf.org/rfc/rfc5322.txt, table in >section 3.6. (Resent-From, of course, is a different kettle of fish.) > >However, presumably multiple addresses in the From field (same URL, >section 3.6.2) would have the same effect on Mailman's (current) >filtering strategy. Actually, I think MM3 could handle either case: field_values = self.get_all(header, []) senders.extend(address.lower() for (real_name, address) in email.utils.getaddresses(field_values)) -Barry -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: not available URL: From CNulk at scu.edu Tue May 24 23:50:01 2011 From: CNulk at scu.edu (C Nulk) Date: Tue, 24 May 2011 14:50:01 -0700 Subject: [Mailman-Users] Automating Mailman Archive Maintenance In-Reply-To: References: Message-ID: <4DDC2809.4060908@scu.edu> I agree with you, Mark. Unfortunately, as you may know, my Python skills aren't the best. I am working on little bits of improvements for us here as time permits so I use the tools with which I am most familiar. Since we are using Mailman v2.1.9, we are a bit behind where Mailman currently sits. Your gracious help assisted us with the LDAP plus I have made some custom modifications - one you help with was for "Special Posters" and a set of changes to add more logging information to the log files. At some point, we will be migrating to at least v2.1.12 or later, so I need to look at incorporating my mods into the later code. And very little free time to do it. Thanks again for you help, Chris P.S. While my automation php app isn't the best written thing in the world, if anyone wants a copy to use as a starting point for conversion to a Python script, let me know. On 5/23/2011 3:32 PM, Mark Sapiro wrote: > C Nulk wrote: >> I have written a small php app which uses the imap libraries to open and >> process the mbox files. Given a time frame, the app will mark for >> deletion or remove any messages older than the time frame. Now to write >> a script to call bin/arch for each of the lists I process with my php >> app. I think I will still shutdown mailman when I run the php app since >> I don't have any way to check on any locks. Afterwards, I can restart >> Mailman, then call the script to rebuild the archives. > > That should work fine, but if you wrote a Python script, it could use > Mailman list methods to manage the archive locking and use either > Python's imaplib or mailbox modules to actually manipulate messages in > the .mbox. > > -- > Mark Sapiro The highway is for gamblers, > San Francisco Bay Area, California better use your sense - B. Dylan > From mark at msapiro.net Fri May 27 02:04:29 2011 From: mark at msapiro.net (Mark Sapiro) Date: Thu, 26 May 2011 17:04:29 -0700 Subject: [Mailman-Users] Digests and multipart/alternative In-Reply-To: References: Message-ID: <4DDEEA8D.6020707@msapiro.net> Steve Foster wrote: > > We have a slight oddity where we have list admins who > re-send/forward announcements and news email to lists... the problem > appears to be when the source email is encoded base64, the digest and > archive emails are not readable see below It turns out that this is due to a bug in Scrubber.py when ARCHIVE_HTML_SANITIZER = 2 in mm_cfg.py. It is reported with a tentative fix at . -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California Better use your sense - B. Dylan From Steven.Jones at vuw.ac.nz Fri May 27 05:52:58 2011 From: Steven.Jones at vuw.ac.nz (Steven Jones) Date: Fri, 27 May 2011 03:52:58 +0000 Subject: [Mailman-Users] migrating lists off an old RHEl3 server to RHEL6.1 Message-ID: <833D8E48405E064EBC54C84EC6B36E400635B736@STAWINCOX10MBX1.staff.vuw.ac.nz> Hi, Can I just move the aliases file and the various lists directories and archive off the old server and more them to the correct place on the new server restart mailman and it will work? Or is there other work to do regards steven From mark at msapiro.net Fri May 27 06:26:04 2011 From: mark at msapiro.net (Mark Sapiro) Date: Thu, 26 May 2011 21:26:04 -0700 Subject: [Mailman-Users] migrating lists off an old RHEl3 server to RHEL6.1 In-Reply-To: <833D8E48405E064EBC54C84EC6B36E400635B736@STAWINCOX10MBX1.staff.vuw.ac.nz> References: <833D8E48405E064EBC54C84EC6B36E400635B736@STAWINCOX10MBX1.staff.vuw.ac.nz> Message-ID: <4DDF27DC.7020906@msapiro.net> On 5/26/11 8:52 PM, Steven Jones wrote: > Hi, > > Can I just move the aliases file and the various lists directories and archive off the old server and more them to the correct place on the new server restart mailman and it will work? > > Or is there other work to do It depends. At a minimum, you should move the lists/LISTNAME/config.pck files and archives/private/LISTNAME.mbox/LISTNAME.mbox files and run bin/arch on each list to rebuild the pipermail archives. The archives/private/LISTNAME/ directories and their contents will be created by bin/arch LISTNAME. The archives/public/* symlinks will be automatically created as lists are accessed. If any domain names changed, you will need to run fix_url. Aliases depend on whether they are manual or automated on the new server. If they are automated, you only need to run bin/genaliases after moving the lists. Even if manual, bin/genaliases should tell you what you need. See the first part of the FAQ at and the FAQ at . -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California Better use your sense - B. Dylan From javadevelopercl at gmail.com Thu May 26 22:42:57 2011 From: javadevelopercl at gmail.com (javadev3) Date: Thu, 26 May 2011 13:42:57 -0700 (PDT) Subject: [Mailman-Users] Mailman keeps forward mail to Unsubscribed member Message-ID: <31711676.post@talk.nabble.com> I unsubscribed a user from a list because the destination mailbox for that user was full. Yet everytime a message is posted to that list, I get a bounce notification informing that the address had delivery problems. I've looked again at the membership list to make sure the member is not on the list and have no idea why list emails keep being forwarded to that address. -- View this message in context: http://old.nabble.com/Mailman-keeps-forward-mail-to-Unsubscribed-member-tp31711676p31711676.html Sent from the Mailman - Users mailing list archive at Nabble.com. From mark at msapiro.net Fri May 27 08:12:14 2011 From: mark at msapiro.net (Mark Sapiro) Date: Thu, 26 May 2011 23:12:14 -0700 Subject: [Mailman-Users] Mailman keeps forward mail to Unsubscribed member In-Reply-To: <31711676.post@talk.nabble.com> References: <31711676.post@talk.nabble.com> Message-ID: <4DDF40BE.4030706@msapiro.net> On 5/26/11 1:42 PM, javadev3 wrote: > > I unsubscribed a user from a list because the destination mailbox for that > user was full. Yet everytime a message is posted to that list, I get a > bounce notification informing that the address had delivery problems. I've > looked again at the membership list to make sure the member is not on the > list and have no idea why list emails keep being forwarded to that address. Why are bounces coming to you? Are they 'unrecognized' by Mailman? Does the bounce contain the headers of the original message from Mailman? If so, look for X-BeenThere: and Received: headers to be sure the message is coming from the list you think it is. It is also possible that the address that is bouncing is a forward from another member address. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California Better use your sense - B. Dylan From epastore at metagovernment.org Sun May 29 23:22:30 2011 From: epastore at metagovernment.org (Ed Pastore) Date: Sun, 29 May 2011 17:22:30 -0400 Subject: [Mailman-Users] Integrating with a forum Message-ID: Hi, folks. I admin a list for a community which wants to expand our list to a forum. Some of us really like list communication; others would prefer a forum. Instead of forcing the issue, we want to do both, with bidirectional mirroring. I know this issue has been raised before, and I know it's tricky. I'm not a programmer, but we have a programmer on hand who is willing to do the integration. All I need to do is scope the requirements properly. Here is my initial requirements definition, which is all very tentative: http://metagovernment.org/wiki/Forum_integration In there, you can see that I did find M2F, which appears to be a list<- >forum integrator. Great. But it only works with phpBB 2. Not only is phpBB2 out of date, but also from past experience I find phpBB to be pretty underwhelming. So I'd like to use a more sophisticated (but still FOSS) forum such as MyBB (or others if you can suggest one that is up to the task). There is an alpha of M2F that claims to it eventually will do the trick, but it is indeed very alpha. I'm posting here to see if anyone has any better insights than I have had so far and/or any comments on my existing document linked above. Apart from the technical difficulties, the additional problem I see is with message overload. So I'm thinking of setting a second list. The existing one would be a full bidirectional mirror of the forum, and a new one would just be an announce list of any new topics posted to either (ie, anything that is a new topic on the forum or a new thread on the list). Or can I do that with umbrella lists somehow? Am I dreaming. Is this just way too complicated to tackle? I further want the forum to support OpenID. I imagine that adds additional layers of complexity when combined with list integration. Any thoughts on any of this would be greatly appreciated. Thanks! Ed Pastore http://metagovernment.org/wiki/User:Ed_Pastore From marci at ppio.com Tue May 31 00:14:06 2011 From: marci at ppio.com (marci Boskie's Mama =^..^=) Date: Mon, 30 May 2011 17:14:06 -0500 Subject: [Mailman-Users] is it possible to hide email addresses... Message-ID: <20110530221427.E9DA58816C@clientsmtp2.loosefoot.com> Hey guys, New to this list but am a long-time Mailman user. I host a mailing list for artists . We have about 1500 members . Most of our members get the digest version but a few opt for the individual mails. I am running Mailman 2.1.11 through LFChosting . My question is ... is there a way to set the system so that the email addresses of the people writing in dont show up on the digest ? I have a few troublemakers who pick fights with other members offline and I also have a few who have gleaned email addresses from the list, given me a big F.U. and then went off to start their own lists with my members.. so I d love to be able find a way to hide the email addresses from being displayed. ... so that just the name would show ( as in my case, the marci Boskie's Mama" part .. but not the email address in the brackets ... ( The problem is that the members are afraid to rat out the troublemakers.. and by the time I find out who it is, the damage is done ....so if there is a way to prevent them from being able to see the emails of those who write in , that would be great !) Is there any way to do this? I LOVE Mailman ! It has been extremely stable and easy to use . Marci From colby.ray at gmail.com Mon May 30 22:19:29 2011 From: colby.ray at gmail.com (coldbee) Date: Mon, 30 May 2011 13:19:29 -0700 (PDT) Subject: [Mailman-Users] setting to use IP address rather than normal URL Message-ID: <31735323.post@talk.nabble.com> We are hosting our website on a different web host than the email and Mailman mailing lists. This is causing problems with the Admin side of Mailman as the DNS servers point to the web site host and not the mail host. I can get around it for much of the admin tasks by changing the URL to the IP address except for some (i.e. moderating). Is there someplace in Mailman where I can input the IP address so it always goes there instead of the normal URL (i.e. website.com)? TIA! -- View this message in context: http://old.nabble.com/setting-to-use-IP-address-rather-than-normal-URL-tp31735323p31735323.html Sent from the Mailman - Users mailing list archive at Nabble.com. From jeffg at turners.com Tue May 31 05:26:58 2011 From: jeffg at turners.com (Jeff Grossman) Date: Mon, 30 May 2011 20:26:58 -0700 Subject: [Mailman-Users] setting to use IP address rather than normal URL In-Reply-To: <31735323.post@talk.nabble.com> References: <31735323.post@talk.nabble.com> Message-ID: <6dbebdad3413037e6fc6718e844134e5@turners.com> On Mon, 30 May 2011 13:19:29 -0700 (PDT), coldbee wrote: > We are hosting our website on a different web host than the email and > Mailman > mailing lists. This is causing problems with the Admin side of Mailman as > the DNS servers point to the web site host and not the mail host. I can get > around it for much of the admin tasks by changing the URL to the IP address > except for some (i.e. moderating). Is there someplace in Mailman where I > can > input the IP address so it always goes there instead of the normal URL > (i.e. > website.com)? > > TIA! I don't have an answer to your question, but do you have access to your DNS servers? If so, I would recommend you create a host address like lists.example.com and have that point to your e-mail server. That way all of your url redirects will work correctly. Jeff From mark at msapiro.net Tue May 31 06:07:11 2011 From: mark at msapiro.net (Mark Sapiro) Date: Mon, 30 May 2011 21:07:11 -0700 Subject: [Mailman-Users] setting to use IP address rather than normal URL In-Reply-To: <31735323.post@talk.nabble.com> References: <31735323.post@talk.nabble.com> Message-ID: <4DE4696F.6080008@msapiro.net> On 5/30/11 1:19 PM, coldbee wrote: > > We are hosting our website on a different web host than the email and Mailman > mailing lists. This is causing problems with the Admin side of Mailman as > the DNS servers point to the web site host and not the mail host. I can get > around it for much of the admin tasks by changing the URL to the IP address > except for some (i.e. moderating). Is there someplace in Mailman where I can > input the IP address so it always goes there instead of the normal URL (i.e. > website.com)? set DEFAULT_URL_HOST = 'xxx.xxx.xxx.xxx' in mm_cfg.py where xxx.xxx.xxx.xxx is the IP address. If there is already a setting of DEFAULT_URL_HOST and DEFAULT_EMAIL_HOST in mm_cfg.py followed by add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST) just change the DEFAULT_URL_HOST setting. Otherwise see the FAQ at . In either case, after changing mm_cfg.py, restart Mailman and run fix_url - 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 Tue May 31 06:20:28 2011 From: mark at msapiro.net (Mark Sapiro) Date: Mon, 30 May 2011 21:20:28 -0700 Subject: [Mailman-Users] is it possible to hide email addresses... In-Reply-To: <20110530221427.E9DA58816C@clientsmtp2.loosefoot.com> References: <20110530221427.E9DA58816C@clientsmtp2.loosefoot.com> Message-ID: <4DE46C8C.80509@msapiro.net> On 5/30/11 3:14 PM, marci Boskie's Mama =^..^= wrote: > My question is ... is there a way to set the system so that the email > addresses of the people writing in dont show up on the digest ? [...] > I d love to be able find a way to hide the email addresses > from being displayed. ... so that just the name would show ( as in my > case, the marci Boskie's Mama" part .. but not the email address in the > brackets ... You can easily do the first by setting your list anonymous by setting anonymous_list to Yes on the list admin General Options page. However, anonymous lists replace the From: address with the list's address so there will be no header left in the mail that identifies the poster's name or address. This may or may not be a solution for you. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California Better use your sense - B. Dylan From stephen at xemacs.org Tue May 31 06:33:59 2011 From: stephen at xemacs.org (Stephen J. Turnbull) Date: Tue, 31 May 2011 13:33:59 +0900 Subject: [Mailman-Users] Integrating with a forum In-Reply-To: References: Message-ID: <87lixn7ako.fsf@uwakimon.sk.tsukuba.ac.jp> Ed Pastore writes: > I'm posting here to see if anyone has any better insights than I have > had so far and/or any comments on my existing document linked > above. It looks like the webforum world is pretty thoroughly PHP-based, about which I know nothing, so I have no technical comments. > Apart from the technical difficulties, the additional problem I see is > with message overload. So I'm thinking of setting a second list. The > existing one would be a full bidirectional mirror of the forum, and a > new one would just be an announce list of any new topics posted to > either (ie, anything that is a new topic on the forum or a new thread > on the list). Consider an RSS feed for this, too. > Or can I do that with umbrella lists somehow? No, I don't think that really does what you want. I don't see an obvious way to do this other than to just have two lists, with the new topic list reply-to munged to the main list. I suppose they should be sibling lists, though. > I further want the forum to support OpenID. I imagine that adds > additional layers of complexity when combined with list integration. Not if OpenID is just one way to authenticate. The spamfiltering on the list will handle troublemakers there, and the forum just trusts the list and vice versa. If you require that list members and forum participants all use OpenID, then it would get complicated. From tanstaafl at libertytrek.org Tue May 31 13:47:46 2011 From: tanstaafl at libertytrek.org (Tanstaafl) Date: Tue, 31 May 2011 07:47:46 -0400 Subject: [Mailman-Users] Integrating with a forum In-Reply-To: References: Message-ID: <4DE4D562.1040808@libertytrek.org> On 2011-05-29 5:22 PM, Ed Pastore wrote: > In there, you can see that I did find M2F, which appears to be a > list<->forum integrator. Great. But it only works with phpBB 2. Not only > is phpBB2 out of date, but also from past experience I find phpBB to be > pretty underwhelming. So I'd like to use a more sophisticated (but still > FOSS) forum such as MyBB (or others if you can suggest one that is up to > the task). There is an alpha of M2F that claims to it eventually will do > the trick, but it is indeed very alpha. I prefer SimpleMachines forums myself... www.simplemachines.org But I would dearly love to see a reliable and secure method of integrating my forums with mailman... I do believe that with the new architecture of MM3, this is supposed to be much more easily doable...? From khillo100 at hotmail.com Tue May 31 20:14:16 2011 From: khillo100 at hotmail.com (Khalil Abbas) Date: Tue, 31 May 2011 21:14:16 +0300 Subject: [Mailman-Users] reboot servers Message-ID: hi, I have several vps servers with very limited resources running several large mailman lists, n these servers keep stopping from responding n sometimes mailq shows several errors like: too many open files in the system and not enough resourses ... etc. so every hour I do the following: mailmanctl stop postfix stop reboot to free up the system resources, and eventually the mailq shows empty n the mail gets delivered.. is that a good thing I?m doing? for I can?t afford to upgrade the hardware, is there a better solution? is there any side effects?? Thanks.. From mark at msapiro.net Tue May 31 23:33:07 2011 From: mark at msapiro.net (Mark Sapiro) Date: Tue, 31 May 2011 14:33:07 -0700 Subject: [Mailman-Users] reboot servers In-Reply-To: References: Message-ID: <4DE55E93.4000406@msapiro.net> On 5/31/2011 11:14 AM, Khalil Abbas wrote: > > is that a good thing I?m doing? for I can?t afford to upgrade the hardware, is there a better solution? is there any side effects?? IIRC, it was Dolly Parton, a well known US country western singer who, following a 'wardrobe failure' (pre Janet Jackson) on national TV, said "You can't fit 10 pounds of mud in a five pound sack". I think that applies here. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From khillo100 at hotmail.com Tue May 31 20:14:16 2011 From: khillo100 at hotmail.com (Khalil Abbas) Date: Tue, 31 May 2011 21:14:16 +0300 Subject: [Mailman-Users] reboot servers Message-ID: hi, I have several vps servers with very limited resources running several large mailman lists, n these servers keep stopping from responding n sometimes mailq shows several errors like: too many open files in the system and not enough resourses ... etc. so every hour I do the following: mailmanctl stop postfix stop reboot to free up the system resources, and eventually the mailq shows empty n the mail gets delivered.. is that a good thing I?m doing? for I can?t afford to upgrade the hardware, is there a better solution? is there any side effects?? Thanks..