procmail
[Top] [All Lists]

How to Reply to All?

2006-06-22 14:11:38
I'm trying to modify a small recipe to reply to all, instead of only the 
sender.

The formail -r flag does the trick to reply to the sender, but excludes 
anybody on the To: or Cc: lists and so on. I don't see any modifier, or 
additional flag to "reply to all" but thought I could fake it like this...

:0 h
REPLYCC =| formail -tcx "To:" -tcx "Cc:"

<other great stuff happens here> :-)

:0 fwh
| (formail -r -I "Cc: ${REPLYCC}") | ${SENDMAIL} ...

That results in a blank CC: header... apparently the REPLYCC =| formail 
is not doing what I expect it to be doing. :-(

What am I misunderstanding about extracting header contents from messages?

Thank you. :-)


____________________________________________________________
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>