Thanks
fpmurphy for your answer.
You're totally right, it looks like the config file are under
/etc/exim4/.
So I copied the parameters from
server1 to
server2.
Quote:
supernova:~# cat /etc/exim4/passwd.client
*:xxxxxxxx.xxxx@xxxxx.xx:xxxxxxxxxx
supernova:~# cat /etc/exim4/update-exim4.conf.conf
dc_eximconfig_configtype='satellite'
dc_other_hostnames=''
dc_local_interfaces='127.0.0.1'
dc_readhost='supernova.caoba.fr'
dc_relay_domains=''
dc_minimaldns='false'
dc_relay_nets=''
dc_smarthost='smtp.gmail.com::465'
CFILEMODE='644'
dc_use_split_config='false'
dc_hide_mailname='true'
dc_mailname_in_oh='true'
dc_localdelivery='mail_spool'
|
As you can see, one file stores the address of the gmail smtp server. The other one contains my login and password (in clear text, sic!).
So it looks like now,
mailx is connecting to the gmail server. But it freezes at some point. I know gmail uses a ssl something and I can't find where it is configured on
server1.
Quote:
supernova:~# mail -v -s 'subject' xxxxxxxx.xxxx@xxxxx.xx <<< 'message'
LOG: MAIN
<= root@stock.ovh.net U=root P=local S=359
delivering 1LXu85-0005fD-Bw
R: smarthost for xxxxxxxx.xxxx@xxxxx.xx
supernova:~# T: remote_smtp_smarthost for xxxxxxxx.xxxx@xxxxx.xx
LOG: retry_defer MAIN
== xxxxxxxx.xxxx@xxxxx.xx R=smarthost T=remote_smtp_smarthost defer (-53): retry time not reached for any host
|
Any advice so I can move one step forward?
Santiago