Re: [exim] configuring exim4 smtp to use SSL

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Jeremy Harris
Data:  
Para: exim-users
CC: jgh
Asunto: Re: [exim] configuring exim4 smtp to use SSL
On 23/03/15 03:14, Gary Dale wrote:
>>> /home/garydale# exim -v -M 1YY9QG-0006Yj-AV
>>> delivering 1YY9QG-0006Yj-AV
>>> R: smarthost for gary@???
>>> T: remote_smtp_smarthost for gary@???
>>> Transport port=25 replaced by host-specific port=465
>>> Connecting to sunspot.dnchosting.com [199.7.109.2]:465 ... connected


So you've set for port 465 - but this is not sufficient


> remote_smtp_smarthost:
>    debug_print = "T: remote_smtp_smarthost for $local_part@$domain"
>    driver = smtp
>    hosts_try_auth = <; ${if exists{CONFDIR/passwd.client} \
>          {\
> ${lookup{$host}nwildlsearch{CONFDIR/passwd.client}{$host_address}}\
>          }\
>          {} \
>        }
> .ifdef REMOTE_SMTP_SMARTHOST_HOSTS_AVOID_TLS
>    hosts_avoid_tls = REMOTE_SMTP_SMARTHOST_HOSTS_AVOID_TLS
> .endif
> .ifdef REMOTE_SMTP_HEADERS_REWRITE
>    headers_rewrite = REMOTE_SMTP_HEADERS_REWRITE
> .endif
> .ifdef REMOTE_SMTP_RETURN_PATH
>    return_path = REMOTE_SMTP_RETURN_PATH
> .endif
> .ifdef REMOTE_SMTP_HELO_DATA
>    helo_data=REMOTE_SMTP_HELO_DATA
> .endif
> .ifdef TLS_DH_MIN_BITS
> tls_dh_min_bits = TLS_DH_MIN_BITS
> .endif

>
>


No mention of protocol. You nees to set that, to "smtps".
And having done that, the port setting is redundant.
--
Cheers,
Jeremy