[Pkg-exim4-users] smtps support in Stretch

Gary Dale garydale at torfree.net
Tue Apr 12 18:26:07 UTC 2016


On 12/04/16 10:17 AM, Hendrik Jaeger wrote:
> Hi
>
> On Sun, 10 Apr 2016 20:23:52 -0400
> Gary Dale <garydale at torfree.net> wrote:
>
>> I'm running stretch on and AMD64 system and an old problem resurfaced.
>> My ISP uses smtps on port 465 for encrypted smtp connections. I had
>> solved this a year ago by adding "protocol = smtps" to
>> /etc/exim4/exim4.conf.template and reconfiguring. However this now
>> doesn't seem to work.
>>  
>> According the Exim wiki at
>> http://www.exim.org/exim-html-current/doc/html/spec_html/ch-encrypted_smtp_connections_using_tlsssl.html,
>> I should be adding instead the line
>>    tls_on_connect_ports = 465
>>
>> but that doesn't seem to be helping. Mail still shows as frozen in the
>> queue.
> No, that is for _receiving_ mails.
>
>> I'm not sure at what point Exim4 stopped working because I don't use
>> the mail command very often.
>>
>> The Debian documentation at https://wiki.debian.org/GmailAndExim4
>> suggests that I add the protocol line to
>> 30_exim4-config_remote_smtp_smarthost in /etc/exim4/conf.d/transport,
>> which seems odd. I thought those would be overwritten when Exim4 is
>> reconfigured but after trying it, it doesn't seem to be happening -
>> even when I split the config into small files as per dpkg-reconfigure
>> exim4-conf. However it also didn't work - just like it didn't work a
>> year ago when I also tried it.
>>
>> Any ideas?
> Look in your logs and _show_ us the actual problem.
> What you said first should still work, btw, so it’s either a different
> issue or you are doing something wrong.
>
> Good luck
>
> henk
>

Thanks Henk. Here's the entries in the mainlog:

2016-04-12 10:31:02 1apzLK-0005Sf-U8 <= listmail at primus.ca U=root
P=local S=2277
2016-04-12 10:31:03 1apzLK-0005Sf-U8 ** garydale at primus.ca R=smarthost
T=remote_smtp_smarthost: retry time not reached for any host after a
long failure period
2016-04-12 10:31:03 1apzLK-0005Sf-U8 ** -s at rahim-dale.org R=smarthost
T=remote_smtp_smarthost: retry time not reached for any host after a
long failure period
2016-04-12 10:31:03 1apzLK-0005Sf-U8 ** test at rahim-dale.org R=smarthost
T=remote_smtp_smarthost: retry time not reached for any host after a
long failure period
2016-04-12 10:31:03 1apzLL-0005Si-1Z <= <> R=1apzLK-0005Sf-U8
U=Debian-exim P=local S=3877
2016-04-12 10:31:03 1apzLK-0005Sf-U8 Completed
2016-04-12 10:31:03 1apzLL-0005Si-1Z ** listmail at primus.ca R=smarthost
T=remote_smtp_smarthost: retry time not reached for any host after a
long failure period
2016-04-12 10:31:03 1apzLL-0005Si-1Z Frozen (delivery error message)

The message is being sent via the listmail account to my garydale
account (both with Primus.ca).

Here is my update-exim4.conf.conf:

dc_eximconfig_configtype='satellite'
dc_other_hostnames=''
dc_local_interfaces='127.0.0.1'
dc_readhost='rahim-dale'
dc_relay_domains=''
dc_minimaldns='false'
dc_relay_nets=''
dc_smarthost='smtp.primus.ca::465'
CFILEMODE='644'
dc_use_split_config='false'
dc_hide_mailname='true'
dc_mailname_in_oh='true'
dc_localdelivery='mail_spool'






More information about the Pkg-exim4-users mailing list