On Tue, 03 Jan 2012 22:09:33 +0100 "Alois Mahdal" <alois.mah...@zxcvb.cz> wrote:
> On Tue, 03 Jan 2012 21:30:22 +0100, Alois Mahdal > <alois.mahdal.1-ndm...@zxcvb.cz> wrote: > > > It seems that exm4 does not rewrite addresses as I wish according to > > /etc/exim4/email-addresses: > > aloism@localhost: correct.sen...@mydomain.cz > > alo...@gebba.aloism.test.local: correct.sen...@mydomain.cz > > aloism@gebba: correct.sen...@mydomain.cz > > aloism: correct.sen...@mydomain.cz > > 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 > > "alo...@gebba.aloism.test.local" 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 debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20120103223707.55adb...@jretrading.com