Through help from people on the lists and then further investigation based on 
those results, here is what I did.

1)  I set the office to a statically assigned IP instead of from the pool.
2)  I made an A entry on one of my domains aiur.ics-il.net (where aiur is the 
machine name).
3)  I added aiur.ics-il.net directly after 127.0.0.1 in the /etc/hosts file 
(copied below).
4)  I set the from email address (serveremail) in /etc/asterisk/voicemail.conf 
to something at the domain I created ([EMAIL PROTECTED]).
5)  Presto!

[EMAIL PROTECTED] ~]# cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1       aiur.ics-il.net Aiur    localhost.localdomain   localhost
::1     localhost6.localdomain6 localhost6


----------
Mike Hammett
Intelligent Computing Solutions
http://www.ics-il.com


  ----- Original Message ----- 
  From: Mike Hammett 
  To: Asterisk Users Mailing List - Non-Commercial Discussion 
  Sent: Thursday, March 13, 2008 4:04 PM
  Subject: [asterisk-users] Mail Server


  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.


  ----------
  Mike Hammett
  Intelligent Computing Solutions
  http://www.ics-il.com




------------------------------------------------------------------------------


  _______________________________________________
  -- 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
_______________________________________________
-- 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