On Mon, 30 Jul 2001 23:54:51 -0400
"Eric S. Raymond" <esr(_at_)thyrsus(_dot_)com> wrote:
Jonathan Hudson <jonathan(_at_)daria(_dot_)co(_dot_)uk>:
I assume a more complete solution would involve rewriting
rfc822.c/reply_hack.
I've applied this patch. I'll accept a parallel one for
reply_hack().
Oh dear. You asked for it. Ugly as hell, but "works for me" (modulo
the 5.8.14 no bouce feature).
--- rfc822.c.~1~ Sat Jul 7 18:04:07 2001
+++ rfc822.c Tue Jul 31 22:00:37 2001
@@ -101,7 +101,7 @@
last_nws = *from;
if (*from == '<')
state = 3;
- else if (*from == '@')
+ else if (*from == '@' || *from == '!')
has_host_part = TRUE;
else if (*from == '"')
state = 2;
@@ -158,7 +158,7 @@
break;
case 3: /* we're in a <>-enclosed address */
- if (*from == '@')
+ if (*from == '@' || *from == '!')
has_host_part = TRUE;
else if (*from == '>' && from[-1] != '<')
{