Guys,<br>
<br>
Thanks again for all your help. I've updated /etc/sysconfig/network and /etc/hosts as per your suggestions:<br>
<br>
/etc/sysconfig/network:<br>
NETWORKING=yes<br>
HOSTNAME=localhost.localdomain<br>
<a href="http://127.0.0.1">127.0.0.1</a> <my external, static IP address> asterisk localhost<br>
<br>
/etc/hosts:<br>
# Do not remove the following line, or various programs<br>
# that require network functionality will fail.<br>
<a href="http://127.0.0.1">127.0.0.1</a> localhost.localdomain localhost<br>
<a href="http://127.0.0.1">127.0.0.1</a> <my external, static IP address> asterisk localhost<br><br>
But still no luck. I've also noticed a problem when I boot the
server. Sendmail along with a number of other processes generate
an errror message. They're all pretty much the same error message
and same line number so here's an example:<br>
<br>
etc/rc.d/rc.sysinit error line 3: <a href="http://127.0.0.1">127.0.0.1</a> command not
found<br>
<br>
FWIW, I've included the first part of my etc/rc.d/rc.sysinit below.<br>
<br>
I'm stumped. This was working before, what could have possibly
happened? Any other ideas on how to fix it before I go and
re-install RedHat??<br>
<br>
Thanks,<br>
Hugh<br>
<br>
#!/bin/bash<br>
#<br>
# /etc/rc.d/rc.sysinit - run once at boot time<br>
#<br>
# Taken in part from Miquel van Smoorenburg's bcheckrc.<br>
#<br>
<br>
# Rerun ourselves through initlog<br>
if [ -z "$IN_INITLOG" -a -x /sbin/initlog ]; then<br>
exec /sbin/initlog $INITLOG_ARGS -r /etc/rc.d/rc.sysinit<br>
fi<br>
<br>
# If we're using devfs, start devfsd now - we need the old device names<br>
[ -e /dev/.devfsd -a -x /sbin/devfsd ] && /sbin/devfsd /dev<br>
<br>
HOSTNAME=`/bin/hostname`<br>
if [ -f /etc/sysconfig/network ]; then<br>
. /etc/sysconfig/network<br>
else<br>
NETWORKING=no<br>
fi<br>
if [ -z "$HOSTNAME" -o "$HOSTNAME" = "(none)" ]; then<br>
HOSTNAME=localhost<br>
fi<br>
<br>
. /etc/init.d/functions<br>
<br>
# Start the graphical boot, if necessary<br>
if [ "$BOOTUP" = "graphical" ]; then<br>
if [ -x /usr/bin/rhgb ]; then<br>
/usr/bin/rhgb<br>
else<br>
export BOOTUP=color<br>
fi<br>
fi<br>
<br>
last=0<br>
for i in `LC_ALL=C grep '^[0-9]*.*respawn:/sbin/mingetty' /etc/inittab | sed 's/^.* tty\([0-9][0-9]*\).*/\1/g'`; do<br>
> /dev/tty$i<br>
last=$i<br>
done<br>
if [ $last -gt 0 ]; then<br>
> /dev/tty$((last+1))<br>
> /dev/tty$((last+2))<br>
fi<br>
<br>
if [ "`/sbin/consoletype`" = "vt" -a -x /sbin/setsysfont ]; then<br>
<br>
echo -n "Setting default font ($SYSFONT): "<br>
/sbin/setsysfont<br>
if [ $? -eq 0 ]; then<br>
success<br>
else<br>
failure<br>
fi<br>
echo ; echo<br>
fi<br>
<br>
<br>
<br><div><span class="gmail_quote">On 3/17/06, <b class="gmail_sendername">Colin Anderson</b> <<a href="mailto:ColinA@landmarkmasterbuilder.com">ColinA@landmarkmasterbuilder.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div style="direction: ltr;">
<div><span><font color="#0000ff" face="Arial" size="2">if you
are using Sendmail, then you have to add a trusted user to /etc/sendmail.cf in
the format:</font></span></div>
<div><span><font color="#0000ff" face="Arial" size="2"></font></span> </div>
<div><span><font color="#0000ff" face="Arial" size="2">Tuser</font></span></div>
<div><span><font color="#0000ff" face="Arial" size="2"></font></span> </div>
<div><span><font color="#0000ff" face="Arial" size="2">So if
the user you run Asterisk under is called "asterisk" then you add Tasterisk to
<a href="http://sendmail.cf" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">sendmail.cf</a>. Restart Sendmail. </font></span><span><font color="#0000ff" face="Arial" size="2">Then in
voicemail.conf you can set the email address to whatever you want, it's at the
top of the config file, I believe. </font></span></div>
<div><span><font color="#0000ff" face="Arial" size="2"></font></span> </div>
<blockquote>
<div align="left" dir="ltr"><font face="Tahoma" size="2"></font></div><font face="Tahoma" size="2"></font><div style="direction: ltr;"><span class="q"><font face="Tahoma" size="2">-----Original Message-----<br><b>From:
</b> hugolivude
[mailto:<a href="mailto:hugolivude@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">hugolivude@gmail.com</a>]<br></font></span></div><div style="direction: ltr;"><span class="e" id="q_10a097a2c1634510_2">
<font face="Tahoma" size="2"><b>Sent:</b> Friday, March 17, 2006 10:49
AM<br><b>To:</b> Asterisk Users Mailing List - Non-Commercial
Discussion<br><b>Subject:</b> Re: [Asterisk-Users] Re: problems with emailing
voicemail<br><br></font></span></div><div style="direction: ltr;"></div></blockquote></div><div style="direction: ltr;"><span class="e" id="q_10a097a2c1634510_4">Wow, Thanks so much for all your help. I
tried Steve's suggestion using tail and found:<br><br><span style="font-size: 12pt;">from=<<a href="mailto:root@localhost.localdomain" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">root@localhost.localdomain
</a>>,
...</span><br><span style="font-size: 12pt;"><span></span>stat=Deferred:
450 <<a href="mailto:root@localhost.localdomain" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">root@localhost.localdomain</a>>:
Sender address rejected: Domain not found<br><br style="font-family: arial,sans-serif;"><span style="font-family: arial,sans-serif;"></span></span>So it looks like the
sender email is no longer acceptable. This worked fine b4, so perhaps
the ISP taking care of the callees email has changed its policy? Anyway,
I could use a hand on how to fix this. How do I get Asterisk to use a
valid email address rather than <a href="mailto:root@localhost.localdomain" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">root@localhost.localdomain</a>?<br><br>Many
Thanks,<br>Hugh<span style="font-size: 12pt;"><br></span><br><br>
<div><span class="gmail_quote">On 3/17/06, <b class="gmail_sendername">Steve
Jones</b> <<a href="mailto:sjones@ftdata.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">sjones@ftdata.com</a>>
wrote:</span>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Do
a "tail -f /var/log/maillog" which will give you a real-time view
of your mail server activity, then while that's running, leave yourself a
voicemail.<br><br><br><br>________________________________<br><br>From: Tony
Mountifield [mailto:<a href="mailto:tony@softins.clara.co.uk" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">tony@softins.clara.co.uk</a>]<br>Sent:
Fri 3/17/2006 10:13 AM<br>To: <a href="mailto:asterisk-users@lists.digium.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">asterisk-users@lists.digium.com</a><br>Subject:
[Asterisk-Users] Re: problems with emailing voicemail<br><br><br><br>In
article <<a href="mailto:c471e4e30603170705t5e596848laf5a0a490b178b12@mail.gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">c471e4e30603170705t5e596848laf5a0a490b178b12@mail.gmail.com
</a>>,<br>hugolivude <<a href="mailto:hugolivude@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">hugolivude@gmail.com</a>>
wrote:<br>><br>> I'm running a 1.1 version of Asterisk (a stable build
from back in Oct-05)<br>> running on RedHat 9.0 . Everything's
been great but a couple of days ago, we<br>> all stopped receiving emails
of our voicemail. There's been no changes to<br>> our
configuration<br>><br>> I bet I'm expereiencing a Linux problem rather
than an Asterisk problem, but <br>> because I know only as much Linux as
required to get Asterisk going, I'm<br>> hoping someone can steer me in
the right direction!<br>><br>> Any suggestions where/how to
troubleshoot?<br><br>The first place to look would be in /var/log/maillog on
the box. <br><br>Look particularly around the time when a voicemail should
have been sent.<br><br>Cheers<br>Tony<br>--<br>Tony Mountifield<br>Work: <a href="mailto:tony@softins.co.uk" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">tony@softins.co.uk</a> - <a href="http://www.softins.co.uk" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://www.softins.co.uk</a><br>Play: <a href="mailto:tony@mountifield.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">tony@mountifield.org</a> - <a href="http://tony.mountifield.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://tony.mountifield.org</a><br><br><br><br><br>_______________________________________________
<br>--Bandwidth and Colocation provided by <a href="http://Easynews.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Easynews.com</a> --<br><br>Asterisk-Users mailing
list<br>To UNSUBSCRIBE or update options visit:<br> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://lists.digium.com/mailman/listinfo/asterisk-users
</a><br><br><br></blockquote></div><br></span></div><div style="direction: ltr;">
</div><br>_______________________________________________<br>--Bandwidth and Colocation provided by <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://Easynews.com" target="_blank">Easynews.com</a> --
<br><br>Asterisk-Users mailing list<br>To UNSUBSCRIBE or update options visit:<br> <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">
http://lists.digium.com/mailman/listinfo/asterisk-users</a><br><br><br></blockquote></div><br>