[asterisk-users] Sendmail for Voicemail

Brent Davidson brent at texascountrytitle.com
Fri Oct 31 15:12:44 CDT 2008


I ran into almost this exact same problem when I first installed 
asterisk.  My company uses a virtualdomain hosted by our isp.  We'll 
call it mycompany.com for example.  When I first set everything up I 
wasn't able to send any mail from the asterisk server even though it was 
on an accepted IP.  The problem turned out to be that I did not use an 
FQDN along with the e-mail address on the server.  Setting 
servermail=voicemail at mycompany.com in voicemail.conf didn't solve the 
problem so I tried creating an actual mailbox under our virtual domain 
called voicemail.  That still didn't work.  For some reason sendmail was 
still passing "voicemail at localhost" to the mail server.  What ultimately 
solved the problem was setting mailcmd=/usr/sbin/sendmail -t -f 
voicemail at mycompany.com in voicemail.conf.  After that relaying worked 
perfectly.

Apparently the account had to both exist under our domain and be passed 
correctly by sendmail.

Good luck,
Brent

asterisk-users at kfife.mailworks.org wrote:
> When I send email from my local asterisk machine, my IP address get's
> RBL'd.  
>
> Asterisk is my only reason for running sendmail, so to keep it simple, I
> tried to make my ISP's mail server a 'smart host' (relaying to a trusted
> mail server) but my ISP doesn't allow ANY kind of relaying these days.  
>
> I imagine there are many like me who are not sendmail experts who want
> to send Asterisk Voicemal.  Can someone direct me to the quick, dirty
> and secure way to send mail from my asterisk box?  The good news is that
> I'm on a Fixed IP on a registered network with working reverse
> in-addr.arpa lookups, and as you might have guessed, all mail would
> originate from the local host.
>
> Suggestions?
> Thanks!
>
> -Karl
>   



More information about the asterisk-users mailing list