procmail
[Top] [All Lists]

Re: majordomo

2001-11-20 04:17:41
On Wed, Nov 14, 2001 at 08:55:28AM -0800, Professional Software Engineering 
wrote:
You want to put a filter in front of majordomo?  No problem.

If you check your aliases definitions (which may not be in 
/etc/mail/aliases, but in a majordomo-specific aliases file, also included 
into your procmail configuration), you should note that majordomo is 
invoked as as a program which the message is piped to.  Thus having Mlocal 
set to procmail doesn't give you the ability to do a global procmailrc -- 
you need to explicitly invoke procmail in front of the majordomo program 
(probably 'wrapper').


somelistalias:          "|/usr/local/bin/procmail -m /path/somefilter.rc 
\"original majordomo filter command, sans the leading pipe\""


Hi There,
        This question is not directly related to procmail but...
i have an alias file in which i was calling

testlist: "|/usr/bin/procmail /etc/procmailrc

and in the /etc/procmailrc i had

:0
* ^TOtestlist(_at_)domain
{
  :0 c
  |/usr/lib/listar/listar -s testlist

  :0
  |formail | /home/troyr/mailscripts/test.pl
}


I was wondering if i could do the whole thing in the alias file..something
like

testlist: "|formail | /home/troyr/mailscripts/test.pl
\|/usr/lib/listar/listar -s testlist"

But listar doesn't receive the message..



TIA

troy
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>