i am sending email notifications from OSSEC active response script firewall-drop.sh, but when the email is sent through it, the FROM address is like this
-@mydomain.com it should be ossec@mydomain.com or root@ossec.mydomain.com
As the script is running from root.
i have tried with different email clients, like mail, mutt, mailx, sendEmail and other python and perl based scripts, all of them add the "-" before @mydomain.com. What could be the reason?