Sample Header Ad - 728x90

SMTP relay check (test) (Postfix)

-1 votes
1 answer
5880 views
I want to add item/trigger to Zabbix to check that some server A can send mails via mail server B (SMTP relay) **without sending on real/fake email** and I haven't a problem with firewall/iptables rules and postfix rules. Mail service belongs to me and I use Postfix / CentOS 7. How can I do it? I know that I can send real mail via mailx or netcat, the command will be something like this: echo "Test message" | mailx -v -r "from@some.com" -s "Some subject" -S smtp="mail-server-b.com:25" to@some.org and parse result but I don't want to do it.
Asked by Harlam (99 rep)
Dec 5, 2017, 03:27 PM
Last activity: Nov 19, 2022, 05:04 PM