8 messages in net.sourceforge.lists.courier-maildropRe: [maildropl] execute an autoreply ...
FromSent OnAttachments
Thierry BJan 23, 2005 4:11 pm 
Stefan HornburgJan 24, 2005 12:49 am 
Thierry BJan 24, 2005 1:10 am 
Rolan YangJan 24, 2005 6:55 am 
Thierry BJan 24, 2005 7:06 am 
Devin RubiaJan 24, 2005 8:37 am 
Thierry BJan 24, 2005 8:56 am 
Devin RubiaJan 24, 2005 11:53 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [maildropl] execute an autoreply script in maildroprcActions...
From:Devin Rubia (dev@thezone.net)
Date:Jan 24, 2005 11:53:07 am
List:net.sourceforge.lists.courier-maildrop

On Mon, Jan 24, 2005 at 05:55:32PM +0100, Thierry B wrote:

Thanks a lot. It works!

But I do"t understand something.

With the pipe, it means that my script will take in input "cc", but I don't understand why it works, because I thaught cc took a mail and send it. So I think the pipe in maildrop, is not the same meaning that the pipe in bash no?

So, I suppose cc is used only to tell maildrop to execute my script and after to o the rule "to".

Is it exact?

'cc' can do many things. The explanation is in the manpages under "TO" ('cc' uses the same syntax as 'to' so it isn't repeated):

$ man maildropfilter [SNIP] TO - DELIVER MESSAGE TO A MAILBOX to expression [SNIP] An expression that begins with the "|" character specifies an external program to run to handle the actual delivery. The SHELL variable specifies the shell to execute the given command. The message is provided to the command on standard input. [SNIP]

So, yes, the pipe in maildrop has pretty much the same meaning as in the shell.