Hello Nitass,
thanks for your reply.
Yes ssmtp.conf is configured, alertd has been restarted.
mailhub=mail.domain.xxx
Set this to never rewrite the "From:" line (unless not given) and to
use that address in the "from line" of the envelope.
FromLineOverride=YES
A test mail is OK:
[bchadmin@P02LBF02:Active:In Sync] ~ echo "ssmtp test mail" | mail -vs "Test email" bch@ogone.com
[<-] 220 Fri, 9 Aug 2013 09:56:33 +0200
[->] HELO
[<-] 250
[->] MAIL FROM:
[<-] 250 2.1.0 l....Sender OK
[->] RCPT TO:
[<-] 250 2.1.5 bch@ogone.com
[->] DATA
[<-] 354 Start mail input; end with .
[->] Received: by l (sSMTP sendmail emulation); Fri, 9 Aug 2013 09:56:32 +0200
[->] From: "root"
[->] Date: Fri, 9 Aug 2013 09:56:32 +0200
[->] To: bch@ogone.com
[->] Subject: Test email
[->]
[->] ssmtp test mail
[->] .
[<-] 250 2.6.0 Queued mail for delivery
[->] QUIT
[<-] 221 2.0.0l Service closing transmission channel
[bchadmin@P02LBF02:Active:In Sync] ~
And I get the test mail in my mailbox.
Prior to working with the user_alert.conf, I did follow this SOL:
https://support.f5.com/kb/en-us/solutions/public/3000/600/sol3667.html
But the result was the same, not able to get a mail sent.
I will remove custom entries in /etc/alert/alert.conf and keep you posted.
best regards,
--
Benoit