[Exim] Re: Underscore in domain is being rejected

Góra strony
Delete this message
Reply to this message
Autor: Derrick 'dman' Hudson
Data:  
Dla: exim-users
Temat: [Exim] Re: Underscore in domain is being rejected
--
On Fri, Jun 28, 2002 at 08:47:02PM +0100, Sean Rima wrote:

| ,----
| | 501 <mail@st_agency.com>: malformed address: _agency.com> may not
| | follow <mail@st
| `----


That's right. "_agency.com" may not follow "mail@st".

See RFC 2821, section 4.1.2. :

[...]
characters outside the set of alphas, digits, and hyphen MUST NOT
appear in domain name labels for SMTP clients or servers. In
particular, the underscore character is not permitted. SMTP servers
that receive a command in which invalid character codes have been
employed, and for which there are no other reasons for rejection,
MUST reject that command with a 501 response.

| In my fetchmail log,


You're not using the option
    mda "/usr/sbin/exim %T"
in your .fetchmailrc?  That's not good since fetchmail does not have a
complete SMTP implementation.  (ie it won't bounce messages like the
above that are rejected by exim)


| Any suggestions


Don't do syntax checks if you want to allow invalid syntax :-). If
you are using exim 4 (I'm not sure about exim 3) you can sidestep the
problem using the 'mda' option in fetchmail -- local injection of mail
is not subject to the ACLs.

-D

--

One OS to rule them all, one OS to find them,
One OS to bring them all and in the darkness bind them,
In the Land of Redmond, where the Shadows lie.

http://dman.ddts.net/~dman/

--
[ Content of type application/pgp-signature deleted ]
--