Não é possível enviar e-mail via sendmail

1

Estou tentando enviar e-mail via sendmail, mas o e-mail não é recebido. Aqui está o comando:

/bin/cat /scripts/zabbix/test.txt | mail -v -s "Blocked IPs" [email protected]

Aqui está a saída

[email protected]... Connecting to [127.0.0.1] via relay...
220 nshost1.example.am ESMTP Sendmail 8.15.2/8.15.2; Fri, 3 Feb 2017 13:05:32 +0400 (AMT)
>>> EHLO nshost1.example.am
250-nshost1.example.am Hello localhost [127.0.0.1], pleased to meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-8BITMIME
250-SIZE
250-DSN
250-ETRN
250-STARTTLS
250-DELIVERBY
250 HELP
>>> STARTTLS
220 2.0.0 Ready to start TLS
>>> EHLO nshost1.example.am
250-nshost1.example.am Hello localhost [127.0.0.1], pleased to meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-8BITMIME
250-SIZE
250-DSN
250-ETRN
250-DELIVERBY
250 HELP
>>> MAIL From:<[email protected]> SIZE=76
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
>>> .
250 2.0.0 v1395W8n061857 Message accepted for delivery
[email protected]... Sent (v1395W8n061857 Message accepted for delivery)
Closing connection to [127.0.0.1]
>>> QUIT
221 2.0.0 nshost1.example.am closing connection

Aqui está a saída do maillog

Feb  3 13:05:27 nshost1 sendmail[61739]: v1395R0Q061739: from=david, size=76, class=0, nrcpts=1, msgid=<[email protected]>, relay=root@localhost
Feb  3 13:05:32 nshost1 sm-mta[61857]: ruleset=check_relay, arg1=localhost, arg2=127.0.0.1, relay=localhost [127.0.0.1], discard
Feb  3 13:05:32 nshost1 sm-mta[61857]: STARTTLS=server, relay=localhost [127.0.0.1], version=TLSv1.2, verify=NO, cipher=DHE-RSA-AES256-GCM-SHA384, bits=256/256
Feb  3 13:05:32 nshost1 sendmail[61739]: STARTTLS=client, relay=[127.0.0.1], version=TLSv1.2, verify=FAIL, cipher=DHE-RSA-AES256-GCM-SHA384, bits=256/256
Feb  3 13:05:32 nshost1 sm-mta[61857]: v1395W8n061857: from=<[email protected]>, size=408, class=0, nrcpts=1, msgid=<[email protected]>, proto=ESMTPS, daemon=IPv4, relay=localhost [127.0.0.1]
Feb  3 13:05:32 nshost1 sm-mta[61857]: v1395W8n061857: discarded
Feb  3 13:05:32 nshost1 sendmail[61739]: v1395R0Q061739: [email protected], ctladdr=david (1007/1007), delay=00:00:05, xdelay=00:00:05, mailer=relay, pri=30076, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (v1395W8n061857 Message accepted for delivery)

Alguma sugestão?

    
por David 03.02.2017 / 10:21

1 resposta

0

Obrigado Andrzej A. Filip. Meu problema é resolvido depois que eu corro

make restart
    
por 03.02.2017 / 13:01