Asterisk won't e-mail


#1

Any idea why Asterisk won’t send e-mails on new messages?

I have the e-mail addresses specified and sendmail is installed, any ideas?

Thanks


#2

go back and read your own message in the eyes of anyone else except you and think if anyone is really going to be able to provide anything constructive what-so-ever with the vast amount of useful data you have provided.

p


#3

[quote=“voipnew”]Any idea why Asterisk won’t send e-mails on new messages?

I have the e-mail addresses specified and sendmail is installed, any ideas?

Thanks[/quote]

First check at the Linux level whether your sendmail is setup to work properly.
At a linux prompt, send an email to yourself :-

mail -s “subject text” me@mydomain.com

type in the text of your message here

to check how the mail server is going you can type in :

mailq -v

if the mail has gone out successfully, you should see an empty queue

also, check the mail log file:-

cat /var/log/maillog

When you can successfully send mail out just using the Linux commands, then you can move on to ensuring that you have the Asterisk voicemail.conf file set up properly. - See Chapter 6 - More DialPlan Concepts, of that fantastic book “Asterisk - the Furure of Telephony” published by O’Reilly and available free online. That explains briefly how to setup voicemail to email people. That part is very simple really. The sendmail setup in Linux is not so simple.
Good luck.