ex_rat wrote:Moi j'ai eu des soucis avec un kim. L'ip était totalement vérolé, j'étais blacklisté d'absolument partout...
Quand tu lance juste un:
echo 'Salut, je suis un email.' | mail -s 'Hello world' ton_mail@machin.com
ça te sors quelque chose ou pas ?
Non, il ne se passe rien.
ex_rat wrote:Pour tes log tu peux tenter:
cat /var/log/mail.log
pour voir si un truc te pique l’œil déjà.
Ex.
Alors j'ai ça
Mar 25 12:46:00 Serveur1 postfix/error[28698]: B8A37B3E8: to=<root@Serveur1>, relay=none, delay=0.31, delays=0.22/0.01/0/0.08, dsn=4.4.2, status=deferredery temporarily suspended: conversation with mail.gandi.net[217.70.184.11] timed out while receiving the initial server greeting)
Mar 25 12:52:20 Serveur1 postfix/qmgr[20484]: B8A37B3E8: from=<root@Serveur1>, size=436, nrcpt=1 (queue active)
Mar 25 12:52:20 Serveur1 postfix/smtp[29096]: CLIENT wrappermode (port smtps/465) is unimplemented
Mar 25 12:52:20 Serveur1 postfix/smtp[29096]: instead, send to (port submission/587) with STARTTLS
Mar 25 12:57:21 Serveur1 postfix/smtp[29096]: B8A37B3E8: lost connection with mail.gandi.net[217.70.184.11] while receiving the initial server greeting
Mar 25 13:02:20 Serveur1 postfix/qmgr[20484]: 92A0FB3CB: from=<root@Serveur1>, size=483, nrcpt=1 (queue active)
Mar 25 13:02:20 Serveur1 postfix/smtp[29795]: CLIENT wrappermode (port smtps/465) is unimplemented
Mar 25 13:02:20 Serveur1 postfix/smtp[29795]: instead, send to (port submission/587) with STARTTLS
Mar 25 13:02:21 Serveur1 postfix/smtp[29096]: B8A37B3E8: to=<root@Serveur1>, relay=mail.gandi.net[2001:4b98:c:521::11]:465, delay=981, delays=380/0.12/601/0,dsn=4.4.2, status=deferred (conversation with mail.gandi.net[2001:4b98:c:521::11] timed out while receiving the initial server greeting)
Mar 25 13:03:54 Serveur1 postfix/pickup[26803]: 8E66BB3DC: uid=0 from=<root@Serveur1>
Mar 25 13:03:54 Serveur1 postfix/cleanup[29917]: 8E66BB3DC: message-id=<20140325120354.8E66BB3DC@Serveur1>
Mar 25 13:03:54 Serveur1 postfix/qmgr[20484]: 8E66BB3DC: from=<root@Serveur1>, size=436, nrcpt=1 (queue active)
Mar 25 13:03:54 Serveur1 postfix/smtp[29096]: CLIENT wrappermode (port smtps/465) is unimplemented
Mar 25 13:03:54 Serveur1 postfix/smtp[29096]: instead, send to (port submission/587) with STARTTLS
Mar 25 13:05:17 Serveur1 postfix/pickup[26803]: 4EB03B3EF: uid=0 from=<root@Serveur1>
Mar 25 13:05:17 Serveur1 postfix/cleanup[29917]: 4EB03B3EF: message-id=<20140325120517.4EB03B3EF@Serveur1>
Mar 25 13:05:17 Serveur1 postfix/qmgr[20484]: 4EB03B3EF: from=<root@Serveur1>, size=343, nrcpt=1 (queue active)
Mar 25 13:05:17 Serveur1 postfix/smtp[30110]: CLIENT wrappermode (port smtps/465) is unimplemented
Mar 25 13:05:17 Serveur1 postfix/smtp[30110]: instead, send to (port submission/587) with STARTTLS