Thanks again for all your help. I've updated /etc/sysconfig/network and /etc/hosts as per your suggestions:
/etc/sysconfig/network:
NETWORKING=yes
HOSTNAME=localhost.localdomain
127.0.0.1 <my external, static IP address> asterisk localhost
/etc/hosts:
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
127.0.0.1 <my external, static IP address> asterisk localhost
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:
etc/rc.d/rc.sysinit error line 3: 127.0.0.1 command not found
FWIW, I've included the first part of my etc/rc.d/rc.sysinit below.
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??
Thanks,
Hugh
#!/bin/bash
#
# /etc/rc.d/rc.sysinit - run once at boot time
#
# Taken in part from Miquel van Smoorenburg's bcheckrc.
#
# Rerun ourselves through initlog
if [ -z "$IN_INITLOG" -a -x /sbin/initlog ]; then
exec /sbin/initlog $INITLOG_ARGS -r /etc/rc.d/rc.sysinit
fi
# If we're using devfs, start devfsd now - we need the old device names
[ -e /dev/.devfsd -a -x /sbin/devfsd ] && /sbin/devfsd /dev
HOSTNAME=`/bin/hostname`
if [ -f /etc/sysconfig/network ]; then
. /etc/sysconfig/network
else
NETWORKING=no
fi
if [ -z "$HOSTNAME" -o "$HOSTNAME" = "(none)" ]; then
HOSTNAME=localhost
fi
. /etc/init.d/functions
# Start the graphical boot, if necessary
if [ "$BOOTUP" = "graphical" ]; then
if [ -x /usr/bin/rhgb ]; then
/usr/bin/rhgb
else
export BOOTUP=color
fi
fi
last=0
for i in `LC_ALL=C grep '^[0-9]*.*respawn:/sbin/mingetty' /etc/inittab | sed 's/^.* tty\([0-9][0-9]*\).*/\1/g'`; do
> /dev/tty$i
last=$i
done
if [ $last -gt 0 ]; then
> /dev/tty$((last+1))
> /dev/tty$((last+2))
fi
if [ "`/sbin/consoletype`" = "vt" -a -x /sbin/setsysfont ]; then
echo -n "Setting default font ($SYSFONT): "
/sbin/setsysfont
if [ $? -eq 0 ]; then
success
else
failure
fi
echo ; echo
fi
On 3/17/06, Colin Anderson <[EMAIL PROTECTED]> wrote:
if you are using Sendmail, then you have to add a trusted user to /etc/sendmail.cf in the format:TuserSo if the user you run Asterisk under is called "asterisk" then you add Tasterisk to sendmail.cf. Restart Sendmail. 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.-----Original Message-----
From: hugolivude [mailto:[EMAIL PROTECTED]]Sent: Friday, March 17, 2006 10:49 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] Re: problems with emailing voicemailWow, Thanks so much for all your help. I tried Steve's suggestion using tail and found:
from=<[EMAIL PROTECTED] >, ...
stat=Deferred: 450 <[EMAIL PROTECTED]>: Sender address rejected: Domain not found
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 [EMAIL PROTECTED]?
Many Thanks,
Hugh
On 3/17/06, Steve Jones <[EMAIL PROTECTED]> wrote: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.
________________________________
From: Tony Mountifield [mailto:[EMAIL PROTECTED]]
Sent: Fri 3/17/2006 10:13 AM
To: asterisk-users@lists.digium.com
Subject: [Asterisk-Users] Re: problems with emailing voicemail
In article <[EMAIL PROTECTED] >,
hugolivude <[EMAIL PROTECTED]> wrote:
>
> I'm running a 1.1 version of Asterisk (a stable build from back in Oct-05)
> running on RedHat 9.0 . Everything's been great but a couple of days ago, we
> all stopped receiving emails of our voicemail. There's been no changes to
> our configuration
>
> I bet I'm expereiencing a Linux problem rather than an Asterisk problem, but
> because I know only as much Linux as required to get Asterisk going, I'm
> hoping someone can steer me in the right direction!
>
> Any suggestions where/how to troubleshoot?
The first place to look would be in /var/log/maillog on the box.
Look particularly around the time when a voicemail should have been sent.
Cheers
Tony
--
Tony Mountifield
Work: [EMAIL PROTECTED] - http://www.softins.co.uk
Play: [EMAIL PROTECTED] - http://tony.mountifield.org
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
_______________________________________________ --Bandwidth and Colocation provided by Easynews.com --
Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users