On 13/03/15 01:19 PM, Eduardo M KALINOWSKI wrote:
> On Sex, 13 Mar 2015, Gary Dale wrote:
>> My update-exim4.conf.conf file is (replacing <remote host name> with
>> the actual name). 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_other_hostnames=''
>> dc_local_interfaces='127.0.0.1'
>> dc_readhost='<remote host name>'
>> dc_relay_domains=''
>> dc_minimaldns='false'
>> dc_relay_nets=''
>> dc_smarthost='<remote host name>:465'
>> CFILEMODE='644'
>> dc_use_split_config='false'
>> dc_hide_mailname='false'
>> dc_mailname_in_oh='true'
>> dc_localdelivery='mail_spool'
>>
>> Any ideas?
>
> What do the logs say?
>
> Also, port 465 is SSL on connect, you probably need to tell exim that.
> (Or convince the remote server administrators do move to STARTTLS on
> port 587.)
I did add tls_on_connect_ports = 465 to exim4.conf.localmacros, which is
supposed to cover the SSL on connect issue.
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
2015-03-14 00:47:44 1YWdzE-0000l6-CR **
ga...@extremeground.com
R=smarthost T=remote_smtp_smarthost: retry time not reached for any host
after a long failure period
2015-03-14 00:47:44 1YWdzE-0000l6-CR ** <sending e-mail address>
R=smarthost T=remote_smtp_smarthost: retry time not reached for any host
after a long failure period
2015-03-14 00:47:44 1YWdzE-0000lB-Ik <= <> R=1YWdzE-0000l6-CR
U=Debian-exim P=local S=2720
2015-03-14 00:47:44 1YWdzE-0000lB-Ik ** <sending e-mail address>
R=smarthost T=remote_smtp_smarthost: retry time not reached for any host
after a long failure period
2015-03-14 00:47:44 1YWdzE-0000lB-Ik Frozen (delivery error message)
2015-03-14 00:47:44 1YWdzE-0000l6-CR Completed
I use /etc/email-addresses to change garydale to <sending e-mail
address>. Otherwise the e-mail just bounces.
When I change to port 26 and leave everything else the same, the mail
goes through.
Archive:
https://lists.debian.org/5503C069...@torfree.net