Re: [exim] configuring exim4 smtp to use SSL

Top Page
Delete this message
Reply to this message
Author: Ferenc Wagner
Date:  
To: gary
CC: exim-users
Subject: Re: [exim] configuring exim4 smtp to use SSL
Gary Dale <garydale@???> writes:

> On 14/03/15 04:33 PM, Ferenc Wagner wrote:
>
>> Gary Dale <garydale@???> writes:
>>
>>> If dc_smarthost has the port set to 26, mail gets sent. However with
>>> it set to 465, it stays in the mailq.
>>>
>>> dc_eximconfig_configtype='smarthost'
>>> dc_smarthost='<remote host name>:465'
>>
>> Man update-exim4.conf says two colons are needed here.
>> Also check /var/log/exim4/mainlog for problems.
>
> The single colon is a typo on my part. The actual file has 2.
>
> The log for an unsuccessful mail says:
> 2015-03-14 00:47:44 1YWdzE-0000l6-CR <= <sending e-mail address> U=garydale P=local S=1665
> 2015-03-14 00:47:44 1YWdzE-0000l6-CR ** -r@localhost: Unrouteable address


Did you really send your message to the -r address?

> 2015-03-14 00:47:44 1YWdzE-0000l6-CR ** gary@??? R=smarthost T=remote_smtp_smarthost: retry time not reached for any host after a long failure period


It does not even try to send. Delete your retry database:

$ sudo exim_tidydb -t 0d /var/spool/exim4 retry

and try again.
--
Regards,
Feri.