Re: [Exim] exim+Debian+Mailman

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Nigel Metheringham
日付:  
To: Chris Mayes
CC: exim-users
題目: Re: [Exim] exim+Debian+Mailman
Working from your config...
local_domains = calliope.penguinpowered.com:calliope.myip.org:127.0.0.
1:localhost
relay_domains = 127.0.0.1
relay_domains_include_local_mx = true

You don't want the 127.0.0.1 (and probably not the localhost) in those,
unless your host really takes mail to user@127.0.0.1

The relay_domains_include_local_mx is really only for people providing
secondary MX services - so probably also superfluous.

  # >> Option rewritten by convert4r3
  host_accept_relay = "! * : \
      *"


/me looks at Philip.... maybe convert4r3 should have a tad more
intelligence :-)

Change that one to
host_accept_relay = 127.0.0.1/32:!0.0.0.0/0

[ie relay only from localhost]
You might also, just possibly, want to add your own IP address in there
- ie if your IP is 1.2.3.4
host_accept_relay = 127.0.0.1/32:1.2.3.4/32:!0.0.0.0/0

Mailman sometimes, depending on how it was configured, tries to send
its mail to port 25 on `hostname` (as looked up in hosts or DNS). This
can have suprising results on machines where the hostname does not
match things correctly. One of the mailman config files can be hacked
to localhost - make sure hosts has an entry for it.


    Nigel.
-- 
[ - Opinions expressed are personal and may not be shared by VData - ]
[ Nigel Metheringham                  Nigel.Metheringham@??? ]
[ Phone: +44 1423 850000                         Fax +44 1423 858866 ]