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 address1(_at_)fourwinds(_dot_)com)%(void(lit
address1(_at_)fourwinds(_dot_)com))\
%?(match address2(_at_)fourwinds(_dot_)com)%(void(lit
address2(_at_)fourwinds(_dot_)com))\
...
%|%(void(lit jon(_at_)fourwinds(_dot_)com))%>
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
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers