Re: [exim] configuring exim4 smtp to use SSL

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Gary Dale
Data:  
Para: exim-users
Asunto: Re: [exim] configuring exim4 smtp to use SSL
On 16/03/15 12:56 PM, Ferenc Wagner wrote:
> 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.

That stops messages from immediately entering the frozen state if unable
to be delivered but doesn't resolve the problem of the messages not
being delivered. Here's the exim4 log for a clean queue with a fresh
message just sent:

2015-03-17 10:49:17 1YXso1-0004vW-2v <= <sending address> U=root P=local
S=785
2015-03-17 10:49:17 1YXso1-0004vW-2v == gary@???
R=smarthost T=remote_smtp_smarthost defer (-53): retry time not reached
for any host