[Asterisk-Users] Getting email of voicemail to work

Colin Anderson ColinA at landmarkmasterbuilder.com
Thu Sep 15 08:39:44 MST 2005


*@home <mailto:*@home>  uses Sendmail. The default configuration of AAH's
sendmail is not to relay the email to an external server, but to try local
delivery. You must modify the sendmail.mc file in /etc/mail with this line:
 
define(`SMART_HOST',`mail-out.your.provider') 
 
where `mail-out.your.provider' is the fully qualified name of your regular
SMTP server. You must also configure your SMTP server to allow relay
connections from the IP address of your Asterisk server. This varies,
depending on what kind of SMTP server you have. 
 
Once you are done editing sendmail.mc, run "make" from /etc/mail and run
"service sendmail restart"
 
To test it,  "sendmail -v yourname at yourmailserver" from the command line.
Type some crap, press enter, type a period, press enter. You will see some
stuff printed to the console finally ending in something like: "Message
accepted for delivery". You should see an email message from "root"  (or
whatever the curently logged on user is) in your mailbox
 
This is the 2 cent version, Sendmail is a frustrating and bitchy beast to
get working properly but once it's working, nothing beats it. 

Google "Sendmail smart host howto" or see this link:
 
http://www.tldp.org/HOWTO/Sendmail-Address-Rewrite-3.html
<http://www.tldp.org/HOWTO/Sendmail-Address-Rewrite-3.html> 
 
hth
 

-----Original Message-----
From: Matt Love [mailto:matt.love at interface-devices.com]
Sent: Thursday, September 15, 2005 9:19 AM
To: asterisk-users at lists.digium.com
Subject: [Asterisk-Users] Getting email of voicemail to work


Hi,
 
Can someone point me in the direction of getting the voicemail -> Email to
work on *@home <mailto:*@home>  1.5
 
Ive put in the email addresses of voicemail users eg myemail at company.com
<mailto:myemail at company.com>  But i cant find where to set the email server
up. we have a company email server an idealy i would like to relay the mails
to it. However i cant find within the AMP where to setup either the Sendmail
server or put in a relay address for an external server.
 
Can anyone help. (you may have guessed im an @ newbie)
 
Thanks
Matt

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050915/d32ee070/attachment.htm


More information about the asterisk-users mailing list