[Mailman-Users] Unable to execute a script when incoming mailarrives

Mark Sapiro msapiro at value.net
Tue Feb 21 17:15:42 CET 2006


kannan.ekanath at gmail.com wrote:

>I am using MailMan 2.1.6


OK


>On 2/21/06, kannan.ekanath at gmail.com <kannan.ekanath at gmail.com> 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 local_user at example.com 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 <msapiro at value.net>       The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan




More information about the Mailman-Users mailing list