procmail
[Top] [All Lists]

Re: How to Reply to All?

2006-06-22 15:57:59
On Thu, Jun 22, 2006 at 11:57:46PM +0200, Dallman Ross wrote:

    REPLYCC = `formail -zx To: -zx Cc:`

But you will have a multiline result in REPLYCC now.  To get it
on one line, you could do this:

    REPLYCC = `formail -zx To: -zx Cc: | xargs`

Actually, it turns out this doesn't matter.  The 
recipe:

   :0 h
   | formail -r -I "Cc: $REPLYCC" | ...

Works the same with or without bothering with xargs or
another trick to get REPLYCC to be all on one line.

Dallman

____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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