On Tue, 03 Jan 2012 22:09:33 +0100
"Alois Mahdal" <[email protected]> wrote:

> On Tue, 03 Jan 2012 21:30:22 +0100, Alois Mahdal
> <[email protected]> wrote:
> 
> > It seems that exm4 does not rewrite addresses as I wish according to
> > /etc/exim4/email-addresses:
> >   aloism@localhost: [email protected]
> >   [email protected]: [email protected]
> >   aloism@gebba: [email protected]
> >   aloism: [email protected]
> >  Neither of these lines work.  But manual says:
> >    (sender addresses) "...are rewritten for users that appear  to
> > be in the local domain..."
> >  and my domain (in resov.conf) is different from
> > gebba.aloism.test.local. Might this be the cause?  That
> > "[email protected]" does not "appear to be in local
> > domain"?
> >
> 
> Nope, blind silly human. :-D  It's
> 
>     /etc/email-addresses
> 

It's nice when it turns out to be easy, isn't it?

> 
> Now it works: addresses rewritten, e-mails delivered! :-) (the gate
> does not seem to care about thing in "EHLO thing")
> 

A smarthost won't be too fussy about an authenticated sender, but if
you send direct by unauthenticated SMTP, the receiving server certainly
will be. The HELO/EHLO will need to be a hostname which can be resolved
to an IP address in public DNS. Not necessarily the sender's IP
address, but it won't do any harm if it is.

You may also get away with just a domain name in the HELO, if the
domain's DNS server [incorrectly] resolves this to an IP address.

Joe


-- 
To UNSUBSCRIBE, email to [email protected] 
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]

Reply via email to