Page 1 of 1

Mail alert not working

Posted: Fri Jun 07, 2013 7:39 am
by inderraw
Dear Team,

I have configured , but not getting mail notification, when i click on send test mail, getting following error.

A test email was sent to [email protected]
----
Mailer said: Could not instantiate mail function. (method=sendmail)
An error occurred sending a test email!


Regards
Inder Singh Rawat.

Re: Mail alert not working

Posted: Fri Jun 07, 2013 9:47 am
by abrist
Are you running one of our VMs, or was this a source install? If it was a source install, what version of centos/rhel?
What is the output of:

Code: Select all

ls -la /etc/alternatives/mta
which sendmail

Re: Mail alert not working

Posted: Mon Jun 10, 2013 3:45 am
by inderraw
Dear Team,

Please find enclosed, after running command.

Regards
Inder Singh Rawat.

Re: Mail alert not working

Posted: Mon Jun 10, 2013 11:19 am
by abrist
abrist wrote:Are you running one of our VMs, or was this a source install? If it was a source install, what version of centos/rhel?

Re: Mail alert not working

Posted: Tue Jun 11, 2013 2:11 am
by inderraw
Dear All,

Version is CentOS release 5.7 (Final).

Regards
Inder Singh Rawat

Re: Mail alert not working

Posted: Tue Jun 11, 2013 9:46 am
by abrist
You may need to install sendmail:

Code: Select all

yum install sendmail

Re: Mail alert not working

Posted: Tue Jun 11, 2013 12:21 pm
by inderraw
Dear Team,

I have install sendmail, using following command.

yum install sendmail

now what next?

Regards
Inder Singh Rawat

Re: Mail alert not working

Posted: Tue Jun 11, 2013 12:24 pm
by abrist

Code: Select all

ls -la /etc/alternatives/mta
which sendmail
Do notifications work now?

Re: Mail alert not working

Posted: Tue Jun 11, 2013 12:32 pm
by inderraw
Dear Team,

now when i do click on send test mail, it is showing" message send sucessfully", but i am not getting mail.

Regards
Inder Singh Rawat

Re: Mail alert not working

Posted: Tue Jun 11, 2013 1:35 pm
by sreinhardt
Cool thanks for letting us know