Re: smail doesn't like trailing dot
email@example.com (David Engel) wrote on 07.03.97 in <firstname.lastname@example.org>:
> For reasons that I still don't understand, our sysadmin has decided to
> change some our aliases to include a trailing dot in the host name.
Include a trailing dot where? Context is very important here. Some places
that take such names like trailing dots (some even need them), some don't.
> In the case of my list, the alias on ods.com is now
> "email@example.com.". This has broken the list as smail doesn't
> like the trailing dot when the host name is the local host. This
Actually, smail shouldn't allow trailing dots in any message leaving it.
It's a syntax error. See RFC 1123, section 5.2.18 (or just search for
(What it accepts as input is a completely separate question.)
> is shown by the following test:
> elo$ /usr/sbin/smail -bv firstname.lastname@example.org.
> email@example.com. ... not deliverable: router inet_hosts: MX record for
> elo.sw.ods.com points to local host
Does it answer the same if you leave off the dot? That's what I'd expect:
your smail simply doesn't know that it's supposed to handle mail to
This is what other mailers call "local configuration error", or even "I
refuse to talk to myself".
"My config says to send this mail out, but DNS says to keep it. HELP!"
On the other hand, if there's really a different answer with and without
the dot, then the real error message ought to be "syntax error in input:
trailing dots are not allowed in email addresses". Which is true. See