Re: [Exim] Exim as a secondary MX

Top Pagina
Delete this message
Reply to this message
Auteur: Philip Hazel
Datum:  
Aan: Steffan Henke
CC: exim-users
Onderwerp: Re: [Exim] Exim as a secondary MX
On Fri, 7 Nov 2003, Steffan Henke wrote:

> The scenario I have is as follows:
> mx1.mydomain.com (sendmail)
> mx2.mydomain.com (Exim)
>
> mx1 is a primary MX, mx2 a secondary and has mydomain.com in
> /etc/secondarymx .
>
> Now, what has actually happened is:
> Emails from ordb.org written as
> "marvin@??? were accepted by the secondary mx,
> relayed to the primary mx, which in turn didn't deliver them locally, but
> instead relayed to marvin@???, resulting in a temporary
> listing at ordb.org.


That is a bug in the primary mx host.

> My question about this is: why did the Exim box accept
> "marvin@??? in the first place ? Is that a
> valid address according to the RFC ?


Yes. You can use any printing characters you like in a quoted local
part.

> If it is, is there a way to reject messages written like that in Exim ?


You can configure an ACL to reject them. In fact, the default config
will reject local parts that contain @.

--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.
Get the Exim 4 book:    http://www.uit.co.uk/exim-book