-----BEGIN PGP SIGNED MESSAGE----- I have a replcomps that looks like: %(lit)%(formataddr{from})%(formataddr{to})%(formataddr{cc})%(formataddr{bcc})\ %<(match freeswan)From: [EMAIL PROTECTED] \n%?{}%>\ %(lit)%(formataddr %<{reply-to}%?{from}%?{sender}%?{return-path}%>)%(void(width))%(putaddr To: ) %(lit)%(formataddr{to})%(formataddr{cc})%<(nonnull)%(void(width))%(putaddr cc: )\n%>\ %<{fcc}Fcc: %{fcc}\n%>\ %<{subject}Subject: Re: %{subject}\n%>\ %<{date}In-reply-to: Your message of "\ %<(nodate{date})%{date}%|%(pretty{date})%>."%<{message-id} %{message-id}%>\n%>\ - -------- Basically, I want to put in a different From: address if there is anything in From:To:CC: with that string. This works. However, my To: and CC: is then blank. If I remove the first line, I get a filled in To: It is as if formataddr() or something winds up nuking that field so that it can no longer be examined. I've traced through fmt_scan() a bit, but I do not quite understand what is up. I'm running nmh 1.04 installed from NetBSD pkgsrc. I also, btw, have some patches to permit inc to popen() a process to get connected to the pop server. I use this with a hacked spopd to do POP over SSH to my mail server. The spopd patches may need to be seperated (since nmh does not include spopd...), but the inc patches are pretty clean. ] ON HUMILITY: to err is human. To moo, bovine. | firewalls [ ] Michael Richardson, Sandelman Software Works, Ottawa, ON |net architect[ ] [EMAIL PROTECTED] http://www.sandelman.ottawa.on.ca/ |device driver[ ] panic("Just another NetBSD/notebook using, kernel hacking, security guy"); [ -----BEGIN PGP SIGNATURE----- Version: 2.6.3ia Charset: latin1 Comment: Processed by Mailcrypt 3.5.6, an Emacs/PGP interface iQCVAwUBO6UhFoqHRg3pndX9AQFVSwQAhVqRzUerfff6h09FOWZXsCKasLglHW8u 07VsKBBkLe+qQyeheQ+ERq4meZ69hOvCksqb3UrXX6XSYTYMOQgwZldV+6XEXl7J J4YbN9nltNzMiqK4Ihh0edGTDfT+IY3Q8mU36kjrdZei6yXYUAf1MuxKWoHW/c4M yziPkuW8Bkw= =s3aq -----END PGP SIGNATURE-----