Advertisement
Guest User

Untitled

a guest
Aug 2nd, 2017
464
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 KB | None | 0 0
  1. mailx -a /opt/script/log/status.log -S smtp=flrsmtp.menarini.net -r
  2. "test@gmail.com" -s "$HOSTNAME critical_subject " -v "mymail@gmail.com" << EOF
  3. Critical Status found during the Monitoring and Control Operation. Please
  4. check the Attach Log.
  5. EOF
  6.  
  7. Resolving host [..] . . . done.
  8. Connecting to [..]:smtp . . . connected.
  9. 220 [..] ESMTP Wed, 02 Aug 2017 09:42:58 +0200
  10. >>> HELO a.b.c
  11. 250 a.b.c.Hello [..]
  12. >>> MAIL FROM:<test@gmail.com>
  13. 250 OK
  14. >>> RCPT TO:<mymail@gmail.com>
  15. 550 relay is not permitted on this host.
  16. smtp-server: 550 relay is not permitted on this host.
  17. "/root/dead.letter" 102/5133
  18. . . . message not sent.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement