[Pkg-exim4-users] Troubleshooting exim4 in Wheezy.

Peter Easthope peter at easthope.ca
Thu Mar 13 17:21:26 UTC 2014


On Thu, March 13, 2014 12:47 am, Marc Haber wrote:
> What do the logs say about the message?

/var/log/exim4/mainlog has many lines such as this.
2014-03-13 09:04:36 1WNjEW-0001wJ-6r Message is frozen
And this.
2014-03-13 09:05:08 1WO884-0005FE-CB ** peter at easthope.ca R=smarthost
T=remote_smtp_smarthost: retry time not reached for any host after a long
failure period 2

Not at all illuminating.  In any case, the blockage appears to be
merely wrong port usage.  See below.

> Why did you remove them?

The suggested aliases have been present since exim was installed years
ago and nothing has been removed.  The problem now is to make exim4 work
with a fresh ISP.

> This is from the manpage for exim4-config_files. /etc/email-addresses
> and /etc/aliases _do_ share a common format. Their function is
> something entirely different.

OK, thanks.  I'll give attention to /etc/email-aliases soon.

> What does "ip addr" show?

root at dalton:~# ip addr show
  ...
4: LocBel7411cc: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc
pfifo_fast state UP qlen 1000
    link/ether 00:05:1b:74:11:cc brd ff:ff:ff:ff:ff:ff
    inet 172.24.1.1/24 brd 172.24.1.255 scope global LocBel7411cc
    inet6 fe80::205:1bff:fe74:11cc/64 scope link
       valid_lft forever preferred_lft forever
  ...

With tls-on-connect, swaks sent a test message.
So a current challenge is simply to make exim4 assign ports to
interfaces correctly.  I suspect that correct port usage will
allow messages to be sent.

My intention is that exim4 receives local SMTP connections on port
25 with no TLS and calls the remote SMTP server with tls_on_connect,
port 465.

http://www.exim.org/exim-html-current/doc/html/spec_html/ch-encrypted_smtp_connections_using_tlsssl.html
admonishes,
"You still need to specify all the ports that the daemon uses (by setting
daemon_smtp_ports or local_interfaces or the -oX command line option)
because tls_on_connect_ports does not add an extra port – rather, it
specifies different behaviour on a port that is defined elsewhere."

Well, according to "find", daemon_smtp_ports doesn't exist.
root at dalton:/etc/exim4# find . -type f -exec grep "daemon_smtp_ports" '{}'
\; -print
root at dalton:/etc/exim4#

And local_interfaces is assigned whatever lurks in MAIN_LOCAL_INTERFACES,
regardless of my intention.

Can anyone advise how to assign ports according to my intention stated
above?

Thanks,                  ... Peter E.

-- 
Telephone 1 360 639 0202.  Bcc: peter at easthope.ca "http://carnot.yi.org/ "





More information about the Pkg-exim4-users mailing list