Ken R. Dye
2007-May-21 14:26 UTC
[Pkg-exim4-users] "relay not permitted" for host specified in /etc/mailname
Debian, exim 4.50, trivial smarthost config. When /etc/mailname is updated, the update-exim4.conf is run and exim4 restarted, I still got "relay not permitted" when exim4 would not receive mail to itself! Is there some reason this is not the behavior by default? I figured out that I had to dc_other_hostnames=''DEBCONFvisiblenameDEBCONF:...'' but that seemd a tad wierd to me...and I swear that this used to work before... (my /etc/mailname is usually something like adsl-76-223-44-207.dsl.chcgil.sbcglobal.net... I use this for "throw away" "give us your email address" addresses that will be short-lived. --Ken
Andreas Metzler
2007-May-21 17:01 UTC
[Pkg-exim4-users] "relay not permitted" for host specified in?/etc/mailname
Ken R. Dye <dye1146 at sbcglobal.net> wrote:> Debian, exim 4.50, trivial smarthost config. When /etc/mailname > is updated, the update-exim4.conf is run and exim4 restarted, > I still got "relay not permitted" when exim4 would not receive > mail to itself!> Is there some reason this is not the behavior by default? I figured > out that I had to dc_other_hostnames=''DEBCONFvisiblenameDEBCONF:...'' > but that seemd a tad wierd to me...and I swear that this used to > work before...[...] It did, until 4.50-5. Quote /usr/share/doc/exim4-config/NEWS.Debian.gz: exim4 (4.50-5) unstable; urgency=low mailname, the local name of the system used to qualify senders and recipients is no longer a local domain by default. Having local delivery for that host name used to break satellite and smarthost setups where no local delivery was expected. /etc/exim4/update-exim4.conf.conf is modified automatically on upgrade from the appropriate earlier versions, so if you don''t do any funky things with /etc/exim4/update-exim4.conf.conf, you should be fine. -- Marc Haber <mh+debian-packages at zugschlus.de> Sat, 2 Apr 2005 20:31:27 +0200 cu andreas -- `What a good friend you are to him, Dr. Maturin. His other friends are so grateful to you.'' `I sew his ears on from time to time, sure''