procmail
[Top] [All Lists]

Re: How to Reply to All?

2006-06-23 03:05:00
On Thu, Jun 22, 2006 at 05:47:24PM -0700, Don Russell wrote:

Dallman Ross wrote:
You may not really need commas.  Depends on your server.
  

I will check the RFC again... but I really like to make sure I produce 
RFC compliant e-mail messages. With the myriad of e-mail clients out 
there, if somebody comes back to me and says "this doesn't work 
properly", I can say "get an RFC compliant client". :-)

I suppose my smtp server my rewrite such "bad" headers, but it's not 
that much effort to create them properly in the first place. :-)

Adding commas isn't hard with shell tools, of course.  E.g.:



 REPLYCC = `formail -zx To: -zx Cc: | xargs | sed "s/\([^,]\)[$WS]\{1,\}/\1, 
/g"`

But if you're going to do all that, you might as well just run formail
twice instead.

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

However, I'd do this a with recursive procmail INCLUDERC and not use
formail at all.  It's a bit tricky, but we've done it on this list
before.  See the archives and search for "recursive INCLUDERC".


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>