>> From: Jon Steinhart %(addr{to}))
>
>That falls apart if there are multiple To: addresses.

Yeah, definitely not robust.  So, looks like to me your best choices are:

- Have your mail server (since it looks like you control it) add something
  like a Delivered-To header like pobox.com does, and use that.  You could
  then just use {delivered-to} directly as a component.

- Use something like this:

%(lit)%(concataddr{to})%(concataddr{cc})\
%<(match [email protected])%(void(lit [email protected]))\
%?(match [email protected])%(void(lit [email protected]))\
...
%|%(void(lit [email protected]))%>
From: Jon Steinhart <%(putstr)>

Or, you know, something like that.  That would admittedly be pretty
cumbersome, but it should work.

--Ken

_______________________________________________
Nmh-workers mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/nmh-workers

Reply via email to