Ce message vient d'un contrôle de sécurité permettant d'éviter la récupération d'informations en se connectant au port 25.
Pour corriger, il faut modifier le fichier '/etc/sendmail.cf' pour modifier la ligne :
O PrivacyOptions=authwarnings
par
O PrivacyOptions=authwarnings noexpn novrfy
et relancer le service Sendmail :
# startsrc -s sendmail -a'-bd -q30m'
Pour vérifier, il effectuer les commandes suivantes :
AVANT la correction :
telnet localhost 25
Trying...
Connected to loopback.
Escape character is '^]'.
220 MonServeur ESMTP Sendmail Thu, 10 Sep 2026 14:18:57 +0200
EHLO test
250-MonServeur Hello loopback [127.0.0.1], pleased to meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-EXPN
250-VERB
250-8BITMIME
250-SIZE
250-DSN
250-ETRN
250-DELIVERBY
250 HELP
VRFY root
250 2.1.5
EXPN root
250 2.1.5
==> On voit que les informations peuvent être récupérées !
APRES correction :
# telnet localhost 25
Trying...
Connected to loopback.
Escape character is '^]'.
220 MonServeur ESMTP Sendmail Thu, 10 Sep 2026 14:31:13 +0200
EHLO test
250-MonServeur Hello loopback [127.0.0.1], pleased to meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-8BITMIME
250-SIZE
250-DSN
250-ETRN
250-DELIVERBY
250 HELP
VRFY root
252 2.5.2 Cannot VRFY user; try RCPT to attempt delivery (or try finger)
EXPN root
502 5.7.0 Sorry, we do not allow this operation
Le blocage est bien actif.