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 
[EMAIL PROTECTED] 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 "[EMAIL PROTECTED]" to the mail server.  What ultimately 
solved the problem was setting mailcmd=/usr/sbin/sendmail -t -f 
[EMAIL PROTECTED] 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

[EMAIL PROTECTED] 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
>   

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to