Thank you Dan for your input.
Le 07/08/2019 à 17:28, Dan Purgert a écrit :
rudu wrote:
Hi all,
Until recently my machines running debian testing used to send me
e-mails as reports from cron tasks or from LAMP applications.
This is not working anymore.
I did of course a dpkg-reconfigure exim4-config to get this
/etc/exim4/update-exim4.conf.conf file :
[...]
# This is a Debian specific file
dc_eximconfig_configtype='satellite'
dc_other_hostnames='*'
Not sure if it makes a difference or not; but my exim satellite configs
have this entry (dc_other_hostnames) set to the local system's name.
[...]
dc_smarthost='mail.myprovider.fr::465'
This is another problem I noticed. My satellite configs simply state
dc_smarthost='mail.djph.net'; without any port configurations.
As you suggested, I changed both parameters and this is what I get :
$ echo 'Hello there !!' | mail my.n...@domain.org -s Test13 -v
LOG: MAIN
<= j...@example.org U=jean P=local S=453
jean@poste1:~$ delivering 1hvOe8-000392-5m
R: smarthost for my.n...@domain.org
T: remote_smtp_smarthost for my.n...@domain.org
Connecting to mail.myprovider.fr [91.217.154.228]:25 ... connected
SMTP<< 220 mx0.myprovider.fr ESMTP Postfix (Debian/GNU)
SMTP>> EHLO example.org
SMTP<< 250-mx0.myprovider.fr
250-PIPELINING
250-SIZE 18442404
250-VRFY
250-ETRN
250-AUTH PLAIN LOGIN
250-AUTH=PLAIN LOGIN
250-ENHANCEDSTATUSCODES
250-8BITMIME
250-DSN
250 SMTPUTF8
SMTP>> MAIL FROM:<j...@example.org> SIZE=1490
SMTP>> RCPT TO:<my.n...@domain.org>
SMTP>> DATA
SMTP<< 250 2.1.0 Ok
SMTP<< 554 5.7.1 Service unavailable; Client host [109.12.75.40]
blocked using lk55tga7gkjpcy432ojwxtvvim.zen.dq.spamhaus.net;
https://www.spamhaus.org/query/ip/109.12.75.40
SMTP<< 554 5.5.1 Error: no valid recipients
SMTP>> QUIT
SMTP(close)>>
LOG: MAIN
** my.n...@domain.org R=smarthost T=remote_smtp_smarthost
H=mail.myprovider.fr [91.217.154.228]: SMTP error from remote mail
server after RCPT TO:<my.n...@domain.org>: 554 5.7.1 Service
unavailable; Client host [109.12.75.40] blocked using
lk55tga7gkjpcy432ojwxtvvim.zen.dq.spamhaus.net;
https://www.spamhaus.org/query/ip/109.12.75.40
LOG: MAIN
<= <> R=1hvOe8-000392-5m U=Debian-exim P=local S=2163
delivering 1hvOe8-000395-GS
R: system_aliases for j...@example.org
R: hub_user for j...@example.org
R: system_aliases for j...@example.org
R: hub_user_smarthost for j...@example.org
T: remote_smtp_smarthost for j...@example.org
LOG: MAIN
Completed
Connecting to mail.myprovider.fr [91.217.154.228]:25 ... connected
SMTP<< 220 mx0.myprovider.fr ESMTP Postfix (Debian/GNU)
SMTP>> EHLO example.org
SMTP<< 250-mx0.myprovider.fr
250-PIPELINING
250-SIZE 18442404
250-VRFY
250-ETRN
250-AUTH PLAIN LOGIN
250-AUTH=PLAIN LOGIN
250-ENHANCEDSTATUSCODES
250-8BITMIME
250-DSN
250 SMTPUTF8
SMTP>> MAIL FROM:<> SIZE=3243
SMTP>> RCPT TO:<j...@example.org>
SMTP>> DATA
SMTP<< 250 2.1.0 Ok
SMTP<< 554 5.7.1 Service unavailable; Client host [109.12.75.40]
blocked using lk55tga7gkjpcy432ojwxtvvim.zen.dq.spamhaus.net;
https://www.spamhaus.org/query/ip/109.12.75.40
SMTP<< 554 5.5.1 Error: no valid recipients
SMTP>> QUIT
SMTP(close)>>
LOG: MAIN
** j...@example.org R=hub_user_smarthost T=remote_smtp_smarthost
H=mail.myprovider.fr [91.217.154.228]: SMTP error from remote mail
server after RCPT TO:<j...@example.org>: 554 5.7.1 Service unavailable;
Client host [109.12.75.40] blocked using
lk55tga7gkjpcy432ojwxtvvim.zen.dq.spamhaus.net;
https://www.spamhaus.org/query/ip/109.12.75.40
LOG: MAIN
Frozen (delivery error message)
I understand that I've been rejected as a spammer.
My provider insist on using port 465 though and maybe I didn't tell
exim4 to use ssl/tls ??
Where should I look ?
Thanks
Rudu