<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1476" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=655522915-15092005><FONT face=Arial color=#0000ff size=2><A
href="mailto:*@home">*@home</A> 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:</FONT></SPAN></DIV>
<DIV><SPAN class=655522915-15092005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=655522915-15092005><FONT face=Arial color=#0000ff
size=2>define(`SMART_HOST',`mail-out.your.provider') </FONT></SPAN></DIV>
<DIV><SPAN class=655522915-15092005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=655522915-15092005><FONT face=Arial color=#0000ff size=2>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. </FONT></SPAN></DIV>
<DIV><SPAN class=655522915-15092005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=655522915-15092005><FONT face=Arial color=#0000ff size=2>Once
you are done editing sendmail.mc, run "make" from /etc/mail and run "service
sendmail restart"</FONT></SPAN></DIV>
<DIV><SPAN class=655522915-15092005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=655522915-15092005><FONT face=Arial color=#0000ff size=2>To
test it, "sendmail -v yourname@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</FONT></SPAN></DIV><SPAN
class=655522915-15092005>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><SPAN class=655522915-15092005></SPAN><FONT face=Arial color=#0000ff
size=2>T<SPAN class=655522915-15092005>his is the 2 cent version, Sendmail is a
frustrating and bitchy beast to get working properly but once it's working,
nothing beats it. </SPAN><BR></FONT></DIV></SPAN>
<DIV><SPAN class=655522915-15092005><FONT face=Arial color=#0000ff size=2>Google
"Sendmail smart host howto" or see this link:</FONT></SPAN></DIV>
<DIV><SPAN class=655522915-15092005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=655522915-15092005><FONT face=Arial color=#0000ff size=2><A
href="http://www.tldp.org/HOWTO/Sendmail-Address-Rewrite-3.html">http://www.tldp.org/HOWTO/Sendmail-Address-Rewrite-3.html</A></FONT></SPAN></DIV>
<DIV><SPAN class=655522915-15092005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=655522915-15092005><FONT face=Arial color=#0000ff
size=2>hth</DIV></FONT></SPAN>
<DIV><SPAN class=655522915-15092005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B> Matt Love
[mailto:matt.love@interface-devices.com]<BR><B>Sent:</B> Thursday, September
15, 2005 9:19 AM<BR><B>To:</B>
asterisk-users@lists.digium.com<BR><B>Subject:</B> [Asterisk-Users] Getting
email of voicemail to work<BR><BR></FONT></DIV>
<DIV><SPAN class=663561615-15092005><FONT face=Arial
size=2>Hi,</FONT></SPAN></DIV>
<DIV><SPAN class=663561615-15092005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=663561615-15092005><FONT face=Arial size=2>Can someone point
me in the direction of getting the voicemail -> Email to work on <A
href="mailto:*@home">*@home</A> 1.5</FONT></SPAN></DIV>
<DIV><SPAN class=663561615-15092005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=663561615-15092005><FONT face=Arial size=2>Ive put in the
email addresses of voicemail users eg <A
href="mailto:myemail@company.com">myemail@company.com</A> 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.</FONT></SPAN></DIV>
<DIV><SPAN class=663561615-15092005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=663561615-15092005><FONT face=Arial size=2>Can anyone help.
(you may have guessed im an @ newbie)</FONT></SPAN></DIV>
<DIV><SPAN class=663561615-15092005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=663561615-15092005><FONT face=Arial
size=2>Thanks</FONT></SPAN></DIV>
<DIV><SPAN class=663561615-15092005><FONT face=Arial
size=2>Matt</FONT></SPAN></DIV></BLOCKQUOTE></BODY></HTML>