<!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.6000.16609" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV>
<DIV>Through help from people on the lists and then further investigation based
on those results, here is what I did.</DIV>
<DIV> </DIV>
<DIV>1) I set the office to a statically assigned IP instead of from the
pool.</DIV>
<DIV>2) I made an A entry on one of my domains aiur.ics-il.net (where aiur
is the machine name).</DIV>
<DIV>3) I added aiur.ics-il.net directly after 127.0.0.1 in the /etc/hosts
file (copied below).</DIV>
<DIV>4) I set the from email address (serveremail) in
/etc/asterisk/voicemail.conf to something at the domain I created (<A
href="mhtml:{0916BD85-977B-435E-8613-81F94FE157CF}mid://00000452/!x-usc:mailto:voicemail@aiur.ics-il.net">voicemail@aiur.ics-il.net</A>).</DIV>
<DIV>5) Presto!</DIV>
<DIV> </DIV>
<DIV>[root@Aiur ~]# cat /etc/hosts<BR># Do not remove the following line, or
various programs<BR># that require network functionality will
fail.<BR>127.0.0.1 aiur.ics-il.net
Aiur localhost.localdomain
localhost<BR>::1 localhost6.localdomain6
localhost6</DIV></DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>----------<BR>Mike Hammett<BR>Intelligent Computing Solutions<BR><A
href="http://www.ics-il.com">http://www.ics-il.com</A></DIV>
<DIV> </DIV>
<DIV> </DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=asterisk-users@ics-il.net
href="mailto:asterisk-users@ics-il.net">Mike Hammett</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=asterisk-users@lists.digium.com
href="mailto:asterisk-users@lists.digium.com">Asterisk Users Mailing List -
Non-Commercial Discussion</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Thursday, March 13, 2008 4:04
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [asterisk-users] Mail
Server</DIV>
<DIV><BR></DIV>
<DIV><FONT face=Arial size=2>I need to setup a small mail server on a local
network. It only needs SMTP ability as it's just so Asterisk can send
out emails. The machine has sendmail installed. My primary mail
server seems to be rejecting the messages. Some research says something
isn't configured properly. What do I have to do so the outside world
accepts emails from my Asterisk box? It is behind a NAT.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>----------<BR>Mike Hammett<BR>Intelligent
Computing Solutions<BR><A
href="http://www.ics-il.com">http://www.ics-il.com</A></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<P>
<HR>
<P></P>_______________________________________________<BR>-- Bandwidth and
Colocation Provided by http://www.api-digital.com --<BR><BR>asterisk-users
mailing list<BR>To UNSUBSCRIBE or update options visit:<BR>
http://lists.digium.com/mailman/listinfo/asterisk-users</BLOCKQUOTE></BODY></HTML>