Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mailx -a /opt/script/log/status.log -S smtp=flrsmtp.menarini.net -r
- "test@gmail.com" -s "$HOSTNAME critical_subject " -v "mymail@gmail.com" << EOF
- Critical Status found during the Monitoring and Control Operation. Please
- check the Attach Log.
- EOF
- Resolving host [..] . . . done.
- Connecting to [..]:smtp . . . connected.
- 220 [..] ESMTP Wed, 02 Aug 2017 09:42:58 +0200
- >>> HELO a.b.c
- 250 a.b.c.Hello [..]
- >>> MAIL FROM:<test@gmail.com>
- 250 OK
- >>> RCPT TO:<mymail@gmail.com>
- 550 relay is not permitted on this host.
- smtp-server: 550 relay is not permitted on this host.
- "/root/dead.letter" 102/5133
- . . . message not sent.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement