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 :
r...@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.onslau...@gmail.com>
250 OK
rcpt to:<revolver.onslau...@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.onslau...@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:<r...@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.

--
Lisez la FAQ de la liste avant de poser une question :
http://wiki.debian.org/DebFrFrenchLists
Vous pouvez aussi ajouter le mot ``spam'' dans vos champs "From" et
"Reply-To:"

To UNSUBSCRIBE, email to debian-user-french-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Répondre à