[Mailman-Users] Unable to execute a script when incoming mail arrives
Hi, I am using MailMan 1.0.1. Whenever a mail arrives, i want to execute a script this is in relation to the integration with mail2forum software. The document says, Then add the following line to the .forward file of your mailing list's account: |/path/to/m2f/m2f_import_msgs.sh I am not sure what exactly is meant by this .forward file. I tried putting the alias in the /etc/aliases file but it doesnot seem to archive. Can someone tell me as to where exactly this aforementioned .forward file resides. It has eaten up my brain for last 8 hours though. -- Regards, Kannan Ekanath -- You aint any expert, if you are - PROUD -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp
Re: [Mailman-Users] Unable to execute a script when incoming mail arrives
I am using MailMan 1.0.1. I am using MailMan 2.1.6 On 2/21/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, I am using MailMan 1.0.1. Whenever a mail arrives, i want to execute a script this is in relation to the integration with mail2forum software. The document says, Then add the following line to the .forward file of your mailing list's account: |/path/to/m2f/m2f_import_msgs.sh I am not sure what exactly is meant by this .forward file. I tried putting the alias in the /etc/aliases file but it doesnot seem to archive. Can someone tell me as to where exactly this aforementioned .forward file resides. It has eaten up my brain for last 8 hours though. -- Regards, Kannan Ekanath -- You aint any expert, if you are - PROUD -- Regards, Kannan Ekanath -- You aint any expert, if you are - PROUD -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp
Re: [Mailman-Users] I've built apache, sendmail, mailman successfully, how to make them work?
Hello, tons of thanks to Mark and Patrick. Any subscriber can receive emails from mailing list after moderator confirm the messages. Now my Mailman system works fine. Thanks again. Sincerely, lovecreatesbeauty, lovecreatesbeauty at gmail dot com, http://www.spaces.msn.com/lovecreatesbeauty/ -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp
Re: [Mailman-Users] Unable to execute a script when incoming mailarrives
[EMAIL PROTECTED] wrote: I am using MailMan 2.1.6 OK On 2/21/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Whenever a mail arrives, i want to execute a script this is in relation to the integration with mail2forum software. The document says, Then add the following line to the .forward file of your mailing list's account: |/path/to/m2f/m2f_import_msgs.sh This is not really a Mailman question, it is a mail2forum question. Also, integration of mail2forum with Mailman is really not within the scope of this list. I am not sure what exactly is meant by this .forward file. If you're trying to set this up to forward posts to Mailman to mail2forum, it won't work. The .forward file is like an alias file for a local mail recipient. I.e. an actual local user who receives mail addressed to [EMAIL PROTECTED] can create a file named .forward in his/her home directory, and that file can contain addresses or pipes to which to deliver the mail instead of delivering it to the user's local mailbox. In the Mailman case, incoming mail is already piped to Mailman via MTA aliases (or some other MTA mechanism), and there is no local mailbox to which it would be delivered, thus no home directory in which to put a .forward file. -- Mark Sapiro [EMAIL PROTECTED] The 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://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp
Re: [Mailman-Users] Unable to execute a script when incoming mailarrives
One possible solution may be to create a local user for this purpose, subscribe it to all your lists, and then add the .forward line suggested to that user's .forward in that user's home directory. There may be a better way... or this may not apply to mail2forum at all. I don't know what it is. - Patrick Bogen On 2/21/06, Mark Sapiro [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: I am using MailMan 2.1.6 OK On 2/21/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Whenever a mail arrives, i want to execute a script this is in relation to the integration with mail2forum software. The document says, Then add the following line to the .forward file of your mailing list's account: |/path/to/m2f/m2f_import_msgs.sh This is not really a Mailman question, it is a mail2forum question. Also, integration of mail2forum with Mailman is really not within the scope of this list. I am not sure what exactly is meant by this .forward file. If you're trying to set this up to forward posts to Mailman to mail2forum, it won't work. The .forward file is like an alias file for a local mail recipient. I.e. an actual local user who receives mail addressed to [EMAIL PROTECTED] can create a file named .forward in his/her home directory, and that file can contain addresses or pipes to which to deliver the mail instead of delivering it to the user's local mailbox. In the Mailman case, incoming mail is already piped to Mailman via MTA aliases (or some other MTA mechanism), and there is no local mailbox to which it would be delivered, thus no home directory in which to put a .forward file. -- Mark Sapiro [EMAIL PROTECTED] The 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://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/pdbogen%40gmail.com Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp -- - Patrick Bogen -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp
[Mailman-Users] From address format question
Why is it that in outlook, when I get an email from mail man that it puts; [EMAIL PROTECTED] on behalf of ME [EMAIL PROTECTED] Shouldn't it just be the listname? Or if this is normal can someone explain it to me. I've been left with this duty of figuring out every odd and end of mailman to tell my managers and they don't like the fact that it does this. Not that it matters to any of you but. ya.. hah anyways, any help is much appreciated. If i was a rabbit, i would ROLL... ROLL! -Kompressor Jonathan Larsen The Awesome I.S. Dept Questions? mail us mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] Call us 801.257.5754 Fax us 801.366.5702 -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp
Re: [Mailman-Users] From address format question
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jonathan Larsen wrote: Why is it that in outlook, when I get an email from mail man that it puts; [EMAIL PROTECTED] on behalf of ME [EMAIL PROTECTED] See FAQ 2.3: From field displayed by Microsoft Outlook http://www.python.org/cgi-bin/faqw-mm.py?req=showfile=faq02.003.htp Shouldn't it just be the listname? Or if this is normal can someone explain it to me. I've been left with this duty of figuring out every odd and end of mailman to tell my managers and they don't like the fact that it does this. Not that it matters to any of you but. ya.. hah anyways, any help is much appreciated. What's the polite way to tell a manger that Outlook is shit and MS insists on making life difficult for those who use their products? :-) - -- ToddOpenPGP - KeyID: 0xD654075A | URL: www.pobox.com/~tmz/pgp == Remember, there's a big difference between kneeling down and bending over. -- Frank Zappa -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2 (GNU/Linux) Comment: When crypto is outlawed bayl bhgynjf jvyy unir cevinpl. iG0EARECAC0FAkP7a0cmGGh0dHA6Ly93d3cucG9ib3guY29tL350bXovcGdwL3Rt ei5hc2MACgkQuv+09NZUB1qfbwCg3+1pXDbhZJjA2wEmWLueodn3gYYAoNvX90oC eoLa9l31wQ7Wq5nNUhXJ =DKLL -END PGP SIGNATURE- -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp
[Mailman-Users] Removing Disabled List Members
I was under the impression, which may be wrong, that when a list subscription was disabled due to bounces, then a period of time passed, without the subscription being renewed by the user, that his/her address was automatically removed from the list. Am I wrong. This isn't happening with my system. I run some 80 lists, many of which are years old, so these things are starting to add up. Dave David Andrews and white cane Harry. -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp
Re: [Mailman-Users] Removing Disabled List Members
David Andrews wrote: I was under the impression, which may be wrong, that when a list subscription was disabled due to bounces, then a period of time passed, without the subscription being renewed by the user, that his/her address was automatically removed from the list. Am I wrong. This isn't happening with my system. I run some 80 lists, many of which are years old, so these things are starting to add up. Your impression is correct, BUT it depends on appropriate settings for bounce_you_are_disabled_warnings and bounce_you_are_disabled_warnings_interval, i.e. they should both be reasonably small numbers - normal defaults are 3 warnings at 7 day intervals. It also depends on the user's delivery status being 'disabled by bounce' and it depends on the daily cron/disabled job being run. -- Mark Sapiro [EMAIL PROTECTED] The 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://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp
Re: [Mailman-Users] From address format question
Install Thunderbird and tell him it's a code name for a new Outlook beta. On 2/21/06, Mark Sapiro [EMAIL PROTECTED] wrote: Jonathan Larsen wrote: Why is it that in outlook, when I get an email from mail man that it puts; [EMAIL PROTECTED] on behalf of ME [EMAIL PROTECTED] Shouldn't it just be the listname? Or if this is normal can someone explain it to me. I've been left with this duty of figuring out every odd and end of mailman to tell my managers and they don't like the fact that it does this. In that case, you should probably familiarize yourself with the FAQ and the archives of this list. Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ The answer to your specific question is in FAQ 2.3 -- Mark Sapiro [EMAIL PROTECTED] The 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://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/pdbogen%40gmail.com Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp -- - Patrick Bogen -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp
Re: [Mailman-Users] Displaying message sender
Matthew Thompson wrote: I was looking for a way that we could automatically add the sender's name or email address to the message to make this more fool-proof. I would prefer to add it to the subject line to make sorting in the mail client meaningful but adding it to the message body would be useful too. You will have to modify code to make this happen. I have several ideas about how this could be done, but perhaps the most interesting to me is not to make the list anonymous, but to mung the address in From:. Exactly how to design this depends on what naughty.com looks at/for. Does it care about Reply-To:? It would be cool if it didn't. You could mung the address in From: replacing '@' with ' at ' and '.' with ' dot ' or whatever works. Now, if there's already a Reply-To:, you're done because reply would go there anyway. If there isn't a Reply-To:, you add one with the original From: address. If it cares about Reply-To:, you probably have to strip it (a current list option), and people will have to edit the addresses in their replies so this is not nearly as viable. Also, even in the first case, you'll probably run into MUA's that want to reply to the To: and the Cc: and the From: and the Reply-To: on a 'reply all', so the From: will have to be edited out in those cases. The logical place to do all this is Mailman/Handlers/CookHeaders.py. -- Mark Sapiro [EMAIL PROTECTED] The 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://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp
Re: [Mailman-Users] Displaying message sender
Matthew == Matthew Thompson [EMAIL PROTECTED] writes: Matthew I have a mailing list with users subscribed from two Matthew particular domains, call them nice.com and naughty.com. Matthew The security czars are naughty.com have decided that Matthew inbound email with naughty.com in the From address cannot Matthew possibly be legitimate so they silently drop the mail. Mr. Foot, meet Mr. Bullet. Make sure you cash any checks from naughty.com immediately; one gets the feeling they're not going to be around for very long. Matthew One way around this is to make the list anonymous but Matthew that creates the problem that we don't know who sent the Matthew message unless everyone always remembers to mark the Matthew messages either in the subject line or at the end of the Matthew message. Why not simply change all instances of @naughty.com in the author headers to @naughty.invalid or @censored.invalid or something like that? It's easy enough to create a custom Handler to do that kind of thing, and should be safe, too. Since you're going to have to modify Mailman in any case, I believe, this is the least intrusive way to do it. If the answer is that would work for us, then I'll look at doing the coding and documenting the installation process, unless somebody beats me to it. :-) Gotta run -- School of Systems and Information Engineering http://turnbull.sk.tsukuba.ac.jp University of TsukubaTennodai 1-1-1 Tsukuba 305-8573 JAPAN Ask not how you can do free software business; ask what your business can do for free software. -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp
Re: [Mailman-Users] Unable to execute a script when incoming mailarrives
Well i think you can ignore the mail2forum part. Here is my requirement. When a mail comes to a dummy alias i want some script to be executed (a simple .sh file with execute permissions being provided) I added the following line /etc/aliases file, forumtest-dummymember: |/home/kannan/scripts/somescript.sh But the thing is it doesnt seem to call the script. Any idea why? If the script got executed it creates a dummy file in the directory. (In this case the file wasnt created). Any thoughts? Regards, kannan On 2/21/06, Patrick Bogen [EMAIL PROTECTED] wrote: One possible solution may be to create a local user for this purpose, subscribe it to all your lists, and then add the .forward line suggested to that user's .forward in that user's home directory. There may be a better way... or this may not apply to mail2forum at all. I don't know what it is. - Patrick Bogen On 2/21/06, Mark Sapiro [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: I am using MailMan 2.1.6 OK On 2/21/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Whenever a mail arrives, i want to execute a script this is in relation to the integration with mail2forum software. The document says, Then add the following line to the .forward file of your mailing list's account: |/path/to/m2f/m2f_import_msgs.sh This is not really a Mailman question, it is a mail2forum question. Also, integration of mail2forum with Mailman is really not within the scope of this list. I am not sure what exactly is meant by this .forward file. If you're trying to set this up to forward posts to Mailman to mail2forum, it won't work. The .forward file is like an alias file for a local mail recipient. I.e. an actual local user who receives mail addressed to [EMAIL PROTECTED] can create a file named .forward in his/her home directory, and that file can contain addresses or pipes to which to deliver the mail instead of delivering it to the user's local mailbox. In the Mailman case, incoming mail is already piped to Mailman via MTA aliases (or some other MTA mechanism), and there is no local mailbox to which it would be delivered, thus no home directory in which to put a .forward file. -- Mark Sapiro [EMAIL PROTECTED] The 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://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/pdbogen%40gmail.com Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp -- - Patrick Bogen -- Regards, Kannan Ekanath -- You aint any expert, if you are - PROUD -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp
[Mailman-Users] Non-member posting
Hi all, I looked through the faq but didn't the answer - perhaps I'm missing what's too obvious. Anyway - how do I make an existing list open for non-members to post to. (I'm doing a list for tournament managers which should also act as a helpdesk). Regards, Martin S -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp
Re: [Mailman-Users] Unable to execute a script when incoming mailarrives
[EMAIL PROTECTED] wrote: I added the following line /etc/aliases file, forumtest-dummymember: |/home/kannan/scripts/somescript.sh But the thing is it doesnt seem to call the script. Any idea why? If the script got executed it creates a dummy file in the directory. (In this case the file wasnt created). Did you run postalias or newaliases or whatever the appropriate command is for your MTA to update the aliases.db file? What happens to the mail sent to forumtest-dummymember? -- Mark Sapiro [EMAIL PROTECTED] The 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://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp
Re: [Mailman-Users] Non-member posting
Martin S wrote: Anyway - how do I make an existing list open for non-members to post to. Privacy options...-Sender filters-generic_nonmember_action = Accept -- Mark Sapiro [EMAIL PROTECTED] The 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://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp