I added:
mailcmd=/usr/bin/sendmail -f hostname -t
to the voicemail.conf file under [general]
- James
On Jan 6, 2006, at 10:31 PM, Pisac wrote:
Yes, I found that this is problem with my server. Second server is
connected through second provider, and first server and my domain is
hosted at
Voice-mail messages aren't sent to e-mail address.
I have two Asterisk servers, first one is upgraded from 1.0.RC2 to
1.0.9, and second one is from 1.0.7 to 1.0.9. Both Asterisk have EXACTLY
same voicemail.conf configuration, but second Asterisk don't sending
voice mail messages through e-mail!
In 1.2.1 The mail is sent, according to app_voicemail.c, with:
/* Default mail command to mail voicemail. Change it with the
mailcmd= command in voicemail.conf */
#define SENDMAIL /usr/sbin/sendmail -t
as it says, you can change the behaviour through mailcmd parameter
in voicemail.conf
I had a similar problem, but I was able to see the message getting
rejected to rr.com because they were looking up the hostname pbx
and rejecting it. I changed the mailcmd to add a -f realhostname.com
and it started working.
- James
On Jan 6, 2006, at 4:24 PM, Pisac wrote:
Yes, I found that this is problem with my server. Second server is
connected through second provider, and first server and my domain is
hosted at fist provider. My (first) provider has some stupid logic that
reject e-mails from mailservers which don't have public hostname but
private (my second