NODE 1e82e46cmail header parser?
bill@twwells.com (T. William Wells)Sat, 21 Aug 93 11:37:36 PDT
I'm in the process of updating my anonymous server. Up till now, I've relied
on a really brain-dead parsing of the mail headers. This is good enough
essentially all of the time; it may even be good enough all of the time (on
the theory that those addresses it rejects violate de facto standards even if
they don't violate de jure ones).
Nonetheless, if there is a simple *and* correct mail header parser (Internet
and uucp-style), I'd appreciate a pointer to it.
Ya know, I *hate* testing sometimes. Eventually I want to release this thing
but I want a test suite to go with it -- and I think the damned suite will be
bigger than the server!
NODE 9a9a1694Re: mail header parser?
khijol!erc@apple.com (Ed Carp)Sat, 21 Aug 93 12:12:43 PDT
> I'm in the process of updating my anonymous server. Up till now, I've relied
> on a really brain-dead parsing of the mail headers. This is good enough
> essentially all of the time; it may even be good enough all of the time (on
> the theory that those addresses it rejects violate de facto standards even if
> they don't violate de jure ones).
>
> Nonetheless, if there is a simple *and* correct mail header parser (Internet
> and uucp-style), I'd appreciate a pointer to it.
>
> Ya know, I *hate* testing sometimes. Eventually I want to release this thing
> but I want a test suite to go with it -- and I think the damned suite will be
> bigger than the server!
Uh, I hate to say this, but why not use the one in sendmail or smail? Of
course, you *could* write your own parser... ;)
--
Ed Carp, N7EKG erc@apple.com 510/659-9560
anon-0001@khijol.uucp
If you want magic, let go of your armor. Magic is so much stronger than
steel! -- Richard Bach, "The Bridge Across Forever"
NODE f5578553Re: mail header parser?
strick -- henry strickland <strick@versant.com>Sat, 21 Aug 93 13:17:53 PDT
THUS SPAKE bill@twwells.com (T. William Wells):
# Nonetheless, if there is a simple *and* correct mail header parser (Internet
# and uucp-style), I'd appreciate a pointer to it.
You might try to c-client code inside "imap" ... contact
Internet: MRC@CAC.Washington.EDU
Postal mail: Mark Crispin
University of Washington
Networks and Distributed Computing, HG-45
Seattle, WA 98195
USA
Phone: +1 (206) 543-5762
FAX: +1 (206) 543-3909
or prehaps ask archie for "imap". strick