Re: [exim] Exim4, can't send mail with SSL/TLS after upgrade…

Top Page
Delete this message
Reply to this message
Author: timebandit
Date:  
To: Daniel Tiefnig
CC: exim-users
Subject: Re: [exim] Exim4, can't send mail with SSL/TLS after upgrade from Sarge to Lenny?
Hi again.

Yes, either run update-exim4.conf or run dpkg-reconfigure exim4-config
as far as I know.
Thank you very much! I made the TLS_ON... to lower case and modified the
update file some.
Now it works with SSL again. Thank you. I have tried to correct this
error for some weeks now.

Regards,
Kensy


On Tue, 17 Feb 2009 23:24:50 +0100
Daniel Tiefnig <exim@???> wrote:

> timebandit wrote:
> > TLS_ON_CONNECT_PORTS=465 is written in the exim4.conf.template
>
> Hmm, I think this should be "tls_on_connect_ports=465", with lower-case
> letters. AFAICS there is no TLS_ON_CONNECT_PORTS macro in the Debian
> config template, and tls_on_connect_ports is a main configuration option
> for exim4.
>
> Some general notes related to Debian-exim, you most likely already know
> all of this:
>
> Always call update-exim4.conf after modifying the template.
>
> Make sure update-exim4.conf uses exim4.conf.template. Look for
> dc_use_split_config='false' in /etc/exim4/update-exim4.conf.conf. You'll
> have to set your settings in the files below the /etc/exim4/conf.d/
> directory otherwise.
>
> Make sure exim uses the generated config file.
> The command
> $ exim4 -bV
> should print something like
> "Configuration file is /var/lib/exim4/config.autogenerated"
> on the last output line. But if it prints e.g. /etc/exim4/exim4.conf,
> exim will use this file instead and you'll have to change that one.
>
> Further:
>
> Check whether exim listens to port 465. "netstat -tpln" is your friend.
>
> Try connecting to localhost port 465 using telnet. It should NOT show
> the SMTP banner but wait for the SSL handshake.
> Install telnet-ssl using apt and try to connect using "telnet -z ssl",
> you should see the SMTP banner this time.
>
> br,
> daniel
>
> --
> ## List details at http://lists.exim.org/mailman/listinfo/exim-users
> ## Exim details at http://www.exim.org/
> ## Please use the Wiki with this list - http://wiki.exim.org/