[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

debian + exim + gmail : SMTP protocol synchronization error (input sent without waiting for greeting)



Ehlo (sic),

J'ai configuré ma Debian afin de pouvoir envoyer des mails sur mon
compte gmail (http://wiki.debian.org/GmailAndExim4).

Si j'envoie un mail manuellement :
ro@neptune:~$ nc 0 25
220 neptune.milkyway ESMTP Exim 4.63 Fri, 06 Feb 2009 16:18:26 +0100
HELO YOU
250 neptune.milkyway Hello ro at localhost [127.0.0.1]
mail from:<revolver.onslaught@gmail.com>
250 OK
rcpt to:<revolver.onslaught@gmail.com>
250 Accepted
DATA
354 Enter message, ending with "." on a line by itself
subject "test"
cdzsoucvjiosdvhilsjhvl
.
250 OK id=1LVSUN-0001mC-QE
2009-02-06 16:19:45 1LVSUN-0001mC-QE <= revolver.onslaught@gmail.com
H=localhost (YOU) [127.0.0.1] U=ro P=smtp S=401
QUIT

Là, pas de problème.

Par contre, si je fais ceci:
nc 0 25 < mon_mail.txt (où mon_mail.txt est le contenu des commandes
tapèes précédemment)...

Ca tombe en erreur :
2009-02-06 16:05:05 SMTP protocol synchronization error (input sent
without waiting for greeting): rejected connection from H=localhost
[127.0.0.1] U=root input="HELO neptune.milkyway\nmail
from:<root@neptune.milkyway>\nrcpt to:<ro>\nDATA\nsubject: System is
going down for halt now!\nSystem is going down for halt now!\n."


Avez-vous une idée ?

Merci d'avance.

R.O.


Reply to: