[asterisk-users] Send email notification

Anselm Martin Hoffmeister anselm at hoffmeister-online.de
Wed Jan 10 11:19:47 MST 2007


Am Mittwoch, den 10.01.2007, 13:41 -0400 schrieb H Aranguren:
> Thanks for your answer Anselm,
> 
>    But, why do you think that the problem is in the mail server, if I
> can send mails with esmtp, with the command /usr/sbin/sendmail without
> problem. But the Voicemail app never sends the notification.
> 
> I used ethereal and i couldn't see any message from asterisk box to my
> smtp server when i leave a voicemail

My experience with people setting up a mail server is that they tend to
forget small but important things - I often enough do myself, with all
that complexity. Like the possibility that the "sendmail" command, run
as user "asterisk", will not be allowed to send mail from any
e-mail-adress but "asterisk at localhost" or so. If you use the sendmail -t
command as you wrote, then the first step of any e-mail to be sent will
be local and not appear in ethereal. Have you looked in the log files?
Are you _sure_ notifications are not sent?
When you replace "sendmail -t" with something like "cat > /tmp/1", will
that file appear? Might you have a PATH issue, like sendmail living
in /usr/bin instead of /usr/sbin/?

Just guessing in the dark, and naming things that would most probably
happen in a debug session if I sat in front of the machine.

Hth
Anselm



More information about the asterisk-users mailing list