Re: [Mailman-Users] Best way to clean old messages
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: alexan...@edem.g12.br []s Alexander Brazil This message was sent using IMP, the Internet Messaging Program. -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
Re: [Mailman-Users] Best way to clean old messages
alexan...@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: alexan...@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 http://mail.python.org/pipermail/mailman-users/2010-November/070601.html. -- Mark Sapiro m...@msapiro.netThe highway is for gamblers, San Francisco Bay Area, Californiabetter use your sense - B. Dylan -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
[Mailman-Users] Editing MM-List-Subscription-Msg
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 *MM-List-Subscription-Msg* 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 StarrWriteStarr Information Services Technical Writer - Online Help Developer - Technical Illustrator Graphic Designer-Desktop Publisher - MS Office Expert (262) 694-1028 - m...@writestarr.com - http://www.writestarr.com -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
Re: [Mailman-Users] Editing MM-List-Subscription-Msg
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 MM-List-Subscription-Msg 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 MM-List-Subscription-Msg tag with whatever text you want. -- Mark Sapiro m...@msapiro.netThe highway is for gamblers, San Francisco Bay Area, Californiabetter use your sense - B. Dylan -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
Re: [Mailman-Users] Editing MM-List-Subscription-Msg
Mark, Thanks much for your response. Yes, I did realize I could directly edit that bit of HTML, replacing the MM-List-Subscription-Msg 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 StarrWriteStarr Information Services Technical Writer - Online Help Developer - Technical Illustrator Graphic Designer-Desktop Publisher - MS Office Expert (262) 694-1028 - m...@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 theMM-List-Subscription-Msg 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 MM-List-Subscription-Msg tag with whatever text you want. -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
Re: [Mailman-Users] Detecting mail with multiple From: lines
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 -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
Re: [Mailman-Users] Detecting mail with multiple From: lines
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 -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
Re: [Mailman-Users] Detecting mail with multiple From: lines
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 signature.asc Description: PGP signature -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
[Mailman-Users] removing a lot of members with incorrect address
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 n...@domain.nl- and u...@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 -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
Re: [Mailman-Users] Editing MM-List-Subscription-Msg
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 m...@msapiro.netThe highway is for gamblers, San Francisco Bay Area, Californiabetter use your sense - B. Dylan -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
[Mailman-Users] Tangent: Exporting information from Mailman to the MTA
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 -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
Re: [Mailman-Users] Detecting mail with multiple From: lines
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. -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
Re: [Mailman-Users] Editing MM-List-Subscription-Msg
Ah, the sun begins to break over the horizon. I'll edit the HTML then (grin) and wait with bated breath for the overhauled web UI. Thanks much for your patience with my questions. Best regards, Mike -- Mike StarrWriteStarr Information Services Technical Writer - Online Help Developer - Technical Illustrator Graphic Designer-Desktop Publisher - MS Office Expert (262) 694-1028 - m...@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. -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
Re: [Mailman-Users] removing a lot of members with incorrect address
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 n...@domain.nl- and u...@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 m...@msapiro.netThe highway is for gamblers, San Francisco Bay Area, Californiabetter use your sense - B. Dylan -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
Re: [Mailman-Users] Tangent: Exporting information from Mailman to the MTA
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 signature.asc Description: PGP signature -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
Re: [Mailman-Users] Detecting mail with multiple From: lines
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 -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
Re: [Mailman-Users] Automating Mailman Archive Maintenance
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 some prefix/listname (to be called DIR-A) 2. the directory the mbox file to rebuild the archive html files are in some prefix/listname.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 listname to rebuild the archives for listname, 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 m...@msapiro.netThe highway is for gamblers, San Francisco Bay Area, Californiabetter use your sense - B. Dylan -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
Re: [Mailman-Users] Postfix Mailman not playing well together
Thanks so much for your clues. I've replied in-line On Sat, May 21, 2011 at 1:12 AM, Mark Sapiro m...@msapiro.net 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_wntvgjbkypcq7gnbbuau...@mail.gmail.com May 19 15:18:46 hotdog postfix/qmgr[5173]: 957453430E4B: from= michael.c@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 epicf...@mikesoh.com, orig_to= epicf...@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.47daa3430...@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! -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
Re: [Mailman-Users] Postfix Mailman not playing well together
Sorry my master.cf paste was incomplete: http://paste.ubuntu.com/611947/ On Mon, May 23, 2011 at 1:17 PM, Michael Soh michael.c@gmail.comwrote: Thanks so much for your clues. I've replied in-line On Sat, May 21, 2011 at 1:12 AM, Mark Sapiro m...@msapiro.net 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_wntvgjbkypcq7gnbbuau...@mail.gmail.com May 19 15:18:46 hotdog postfix/qmgr[5173]: 957453430E4B: from= michael.c@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 epicf...@mikesoh.com, orig_to= epicf...@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.47daa3430...@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! -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
Re: [Mailman-Users] Postfix Mailman not playing well together
On 5/23/2011 10:17 AM, Michael Soh wrote: On Sat, May 21, 2011 at 1:12 AM, Mark Sapiro m...@msapiro.net 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 http://mail.python.org/pipermail/mailman-users/2011-May/071602.html - 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 m...@msapiro.netThe highway is for gamblers, San Francisco Bay Area, Californiabetter use your sense - B. Dylan -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
Re: [Mailman-Users] Postfix Mailman not playing well together
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 epicf...@lists.mikesoh.com and created epicf...@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+kwc...@mail.gmail.com May 23 14:06:35 hotdog postfix/qmgr[24277]: D897D518820E: from= michael.c@gmail.com, size=1996, nrcpt=1 (queue active) May 23 14:06:35 hotdog postfix/error[24526]: D897D518820E: to= epicf...@mikesoh.com, orig_to=epicf...@linuslive.com, 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.78f515188...@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@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 m...@msapiro.net wrote: On 5/23/2011 10:17 AM, Michael Soh wrote: On Sat, May 21, 2011 at 1:12 AM, Mark Sapiro m...@msapiro.net 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 http://mail.python.org/pipermail/mailman-users/2011-May/071602.html - 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 m...@msapiro.netThe highway is for gamblers, San Francisco Bay Area, Californiabetter use your sense - B. Dylan -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
Re: [Mailman-Users] Postfix Mailman not playing well together
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 epicf...@lists.mikesoh.com and created epicf...@linuslive.com. The output of the maillog is: [...] May 23 14:06:35 hotdog postfix/qmgr[24277]: D897D518820E: from= michael.c@gmail.com, size=1996, nrcpt=1 (queue active) May 23 14:06:35 hotdog postfix/error[24526]: D897D518820E: to= epicf...@mikesoh.com, orig_to=epicf...@linuslive.com, 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 m...@msapiro.netThe highway is for gamblers, San Francisco Bay Area, Californiabetter use your sense - B. Dylan -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
Re: [Mailman-Users] Postfix Mailman not playing well together
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 epicf...@lists.mikesoh.com and created epicf...@linuslive.com. The output of the maillog is: [...] May 23 14:06:35 hotdog postfix/qmgr[24277]: D897D518820E: from= michael.c@gmail.com, size=1996, nrcpt=1 (queue active) May 23 14:06:35 hotdog postfix/error[24526]: D897D518820E: to= epicf...@mikesoh.com, orig_to=epicf...@linuslive.com, 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 epicf...@linuslive.com is being mapped to epicf...@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 m...@msapiro.netThe highway is for gamblers, San Francisco Bay Area, Californiabetter use your sense - B. Dylan -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
Re: [Mailman-Users] Postfix Mailman not playing well together
On Mon, May 23, 2011 at 2:23 PM, Mark Sapiro m...@msapiro.net 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. -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
Re: [Mailman-Users] Postfix Mailman not playing well together
On Mon, May 23, 2011 at 2:41 PM, Mark Sapiro m...@msapiro.net wrote: It looks like epicf...@linuslive.com is being mapped to epicf...@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. -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
Re: [Mailman-Users] Postfix Mailman not playing well together
Michael Soh wrote: On Mon, May 23, 2011 at 2:41 PM, Mark Sapiro m...@msapiro.net wrote: It looks like epicf...@linuslive.com is being mapped to epicf...@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 m...@msapiro.netThe highway is for gamblers, San Francisco Bay Area, Californiabetter use your sense - B. Dylan -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
Re: [Mailman-Users] Postfix Mailman not playing well together
On Mon, May 23, 2011 at 3:05 PM, Mark Sapiro m...@msapiro.net 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. -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
Re: [Mailman-Users] Detecting mail with multiple From: lines
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 -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
[Mailman-Users] Real Names on Roster
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 br...@emwd.com | http://www.emwd.com | http://www.mailmanhost.com -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
Re: [Mailman-Users] Postfix Mailman not playing well together
Michael Soh wrote: On Mon, May 23, 2011 at 3:05 PM, Mark Sapiro m...@msapiro.net 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 l...@example.net list refers to the example.com domain in web URLs? -- Mark Sapiro m...@msapiro.netThe highway is for gamblers, San Francisco Bay Area, Californiabetter use your sense - B. Dylan -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
Re: [Mailman-Users] Real Names on Roster
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 addr...@example.com in 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. -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
Re: [Mailman-Users] Postfix Mailman not playing well together
On Mon, May 23, 2011 at 3:39 PM, Mark Sapiro m...@msapiro.net 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=BANLkTi=d2yytsqktnaxlzk5prr+2+s9...@mail.gmail.com May 23 14:57:04 hotdog postfix/qmgr[1375]: 5AAE1518820E: from= michael.c@gmail.com, size=1995, nrcpt=1 (queue active) May 23 14:57:04 hotdog postfix/error[29964]: 5AAE1518820E: to= epicf...@mikesoh.com, orig_to=epicf...@linuslive.com, 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.aa0435188...@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=BANLkTi=L3E=G=7wih7jiovyr547hsnh...@mail.gmail.com May 23 15:02:04 hotdog postfix/qmgr[23652]: AB276518820E: from= michael.c@gmail.com, size=1989, nrcpt=1 (queue active) May 23 15:02:04 hotdog postfix/error[23679]: AB276518820E: to= epicf...@mikesoh.com, orig_to=epicf...@linuslive.com, 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.003a35188...@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 l...@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 l...@foobar.tld resolves to l...@mikesoh.com. Thanks again for all of your help! -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
Re: [Mailman-Users] Postfix Mailman not playing well together
Michael Soh On Mon, May 23, 2011 at 3:39 PM, Mark Sapiro m...@msapiro.net 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 http://www.postfix.org/DATABASE_README.html#detect -- Mark Sapiro m...@msapiro.netThe highway is for gamblers, San Francisco Bay Area, Californiabetter use your sense - B. Dylan -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
Re: [Mailman-Users] Postfix Mailman not playing well together
On Mon, 23 May 2011, Mark Sapiro wrote: I think Geoff Shang's reply (at http://mail.python.org/pipermail/mailman-users/2011-May/071602.html - 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. -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
Re: [Mailman-Users] Postfix Mailman not playing well together
Geoff Shang wrote: On Mon, 23 May 2011, Mark Sapiro wrote: I think Geoff Shang's reply (at http://mail.python.org/pipermail/mailman-users/2011-May/071602.html - 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 m...@msapiro.netThe highway is for gamblers, San Francisco Bay Area, Californiabetter use your sense - B. Dylan -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
Re: [Mailman-Users] Real Names on Roster
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 http://bazaar.launchpad.net/~mailman-coders/mailman/2.2/revision/1034. -- Mark Sapiro m...@msapiro.netThe highway is for gamblers, San Francisco Bay Area, Californiabetter use your sense - B. Dylan -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
Re: [Mailman-Users] Real Names on Roster
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 br...@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 addr...@example.com in 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. -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
Re: [Mailman-Users] Automating Mailman Archive Maintenance
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 m...@msapiro.netThe highway is for gamblers, San Francisco Bay Area, Californiabetter use your sense - B. Dylan -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
Re: [Mailman-Users] Real Names on Roster
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 addr...@example.com in the various add member screens, I don't know. You can mass subscribe members with real names. See the FAQ at http://wiki.list.org/x/YoA9. 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 http://mail.python.org/pipermail/mailman-developers/2009-November/020858.html). 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 http://bazaar.launchpad.net/~mailman-coders/mailman/2.2/revision/1034. -- Mark Sapiro m...@msapiro.netThe highway is for gamblers, San Francisco Bay Area, Californiabetter use your sense - B. Dylan -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
Re: [Mailman-Users] Detecting mail with multiple From: lines
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. -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org