Answer the question
In order to leave comments, you need to log in
Sendmail message is sent but not received. What's wrong?
Hello.
I'm trying to send a letter to my gmail box, it seems to be sent, but in Gmail I don't see it anywhere at all, and on other mail services the same way. I don't understand what's wrong.
Here is what sendmail says when sending:
[email protected]:~# echo "mail" | sendmail -v [email protected]
[email protected] Connecting to [127.0.0.1] via relay...
220 localhost.localdomain ESMTP Sendmail 8.14.4/8.14.4/Debian-2ubuntu2.1; Wed, 21 Mar 2018 12:05:39 GMT; (No UCE/UBE) logging access from: localhost.localdomain(OK)-localhost.localdomain [127.0.0.1]
>>> EHLO localhost.localdomain
250-localhost.localdomain Hello localhost.localdomain [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-AUTH DIGEST-MD5 CRAM-MD5
250-DELIVERBY
250 HELP
>>> VERB
250 2.0.0 Verbose mode
>>> MAIL From:<[email protected]> SIZE=46 [email protected]
250 2.1.0 <[email protected]>... Sender ok
>>> RCPT To:<[email protected]>
>>> DATA
250 2.1.5 <[email protected]>... Recipient ok
354 Enter mail, end with "." on a line by itself
>>> .
050 <[email protected]>... Connecting to gmail-smtp-in.l.google.com. via esmtp...
050 220 mx.google.com ESMTP c77-v6si1537205lfg.297 - gsmtp
050 >>> EHLO localhost.localdomain
050 250-mx.google.com at your service, [2a00:1838:37:14d::ba67]
050 250-SIZE 157286400
050 250-8BITMIME
050 250-STARTTLS
050 250-ENHANCEDSTATUSCODES
050 250-PIPELINING
050 250-CHUNKING
050 250 SMTPUTF8
050 >>> STARTTLS
050 220 2.0.0 Ready to start TLS
050 >>> EHLO localhost.localdomain
050 250-mx.google.com at your service, [2a00:1838:37:14d::ba67]
050 250-SIZE 157286400
050 250-8BITMIME
050 250-ENHANCEDSTATUSCODES
050 250-PIPELINING
050 250-CHUNKING
050 250 SMTPUTF8
050 >>> MAIL From:<[email protected]> SIZE=341
050 250 2.1.0 OK c77-v6si1537205lfg.297 - gsmtp
050 >>> RCPT To:<[email protected]>
050 >>> DATA
050 250 2.1.5 OK c77-v6si1537205lfg.297 - gsmtp
050 354 Go ahead c77-v6si1537205lfg.297 - gsmtp
050 >>> .
050 550-5.7.1 [2a00:1838:37:14d::ba67] Our system has detected that this message
050 550-5.7.1 does not meet IPv6 sending guidelines regarding PTR records and
050 550-5.7.1 authentication. Please review
050 550-5.7.1 https://support.google.com/mail/?p=IPv6AuthError for more information
050 550 5.7.1 . c77-v6si1537205lfg.297 - gsmtp
050 <[email protected]>... Connecting to local...
050 <[email protected]>... Sent
250 2.0.0 w2LC5dvA001979 Message accepted for delivery
[email protected] Sent (w2LC5dvA001979 Message accepted for delivery)
Closing connection to [127.0.0.1]
>>> QUIT
221 2.0.0 localhost.localdomain closing connection
You have new mail in /var/mail/root
Answer the question
In order to leave comments, you need to log in
Вот в чём дело
050 550-5.7.1 [2a00:1838:37:14d::ba67] Our system has detected that this message
050 550-5.7.1 does not meet IPv6 sending guidelines regarding PTR records and
050 550-5.7.1 authentication. Please review
050 550-5.7.1 https://support.google.com/mail/?p=IPv6AuthError for more information
050 550 5.7.1 . c77-v6si1537205lfg.297 - gsmtp
localhost хоть поправьте) гугл хороший, он примет, но в спам положить может.
Вообще если у письма есть status=Sent в логе сендмыла, то оно ушло от Вашего сервера. Если оно не дошло до конечника, то оно зарублено сервером на той стороне, почему....ответ Вам уже назвали.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question