OK!! That's not what I did.... I've gone back and changed
things according to what you indicated, thanks for making it so simple
to folow...<br>
<br>
The Asterisk box is on an internal network so instead of <a href="http://asterisk.mydomain.com/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">asterisk.mydomain.com</a>
I tried using our external fixed IP address. The error messages
have disappeared, but I'm still not getting email. <br>
<br>
Just for fun I changed the email I'm using in voicemail.conf to my
gmail account and it worked!! When I use our work email though,
it doesn't work here's the error I see using the 'tail' command:<br>
<p class="MsoNormal">Mar 20 11:50:19 69 sendmail[2609]: k2KGoJvC002609:
from=<root@###.###.###.###>, size=88081, class=0, nrcpts=1,
msgid=<Asterisk-16-452038559-301-2592@###.###.###.###>, proto=ESMTP,
daemon=MTA, relay=[<a href="http://127.0.0.1">127.0.0.1</a>]<br>
Mar 20 11:50:20 69 sendmail[2606]: k2KGoJD1002606: to=Hugh Oliver
<<a href="mailto:hugh@gesturetek.com">hugh@gesturetek.com</a>>, ctladdr=root (0/0), delay=00:00:01,
xdelay=00:00:01, mailer=relay, pri=30325, relay=[<a href="http://127.0.0.1">127.0.0.1</a>] [<a href="http://127.0.0.1">127.0.0.1</a>],
dsn=2.0.0, stat=Sent (k2KGoJvC002609 Message accepted for delivery)<br>
Mar 20 11:50:20 69 sendmail[2611]: k2KGoJvC002609: to=<<a href="mailto:hugh@gesturetek.com">hugh@gesturetek.com</a>>,
ctladdr=<root@###.###.###.###> (0/0), delay=00:00:01, xdelay=00:00:01,
mailer=esmtp, pri=30451, relay=<a href="http://mail.gesturetek.com">mail.gesturetek.com</a>. [<a href="http://64.41.126.140">64.41.126.140</a>], dsn=5.6.0,
stat=Data format error<br>
Mar 20 11:50:20 69 sendmail[2611]: k2KGoJvC002609:
k2KGoKvC002611: DSN: Data format error<br>
Mar 20 11:50:20 69 sendmail[2611]: k2KGoKvC002611:
to=<root@###.###.###.###>, delay=00:00:00, xdelay=00:00:00, mailer=local,
pri=119105, dsn=2.0.0, stat=Sent</p>
I appreciate your help. I've pasted my hosts, network & access files below.<br><br>
Thanks,<br>
Hugh<br>
<br>
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" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">127.0.0.1</a> <my IP address in the form ###.###.###.###><br>
<br>
network:<br>
NETWORKING=yes<br>
HOSTNAME=<my IP address in the form ###.###.###.###><br>
<br>
access:<br>
# Check the /usr/share/doc/sendmail/README.cf file for a description<br>
# of the format of this file. (search for access_db in that file)<br>
# The /usr/share/doc/sendmail/README.cf is part of the sendmail-doc<br>
# package.<br>
#<br>
# by default we allow relaying from localhost...<br>
localhost.localdomain RELAY<br>
localhost RELAY<br>
<a href="http://127.0.0.1" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">127.0.0.1</a> RELAY<br>
<br>
<br><br><div><span class="gmail_quote">On 3/20/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;">
Maybe
I am misunderstanding what you did here, but I just want to make
sure... First, in the "network' file, the goal was to change
the hostname from "localhost.localdomain" reference to a real hostname
that would be accepted, so that the file would look more like:<br>NETWORKING=yes<br>HOSTNAME=<a href="http://asterisk.mydomain.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">asterisk.mydomain.com
</a><br><br>And
the other poster was recommeding that the hosts file, should be setup
to point the loopback address to that name as well, such as adding (or
modifying the existing <a href="http://127.0.0.1" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">127.0.0.1</a> line to look like:<br><br><a href="http://127.0.0.1" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
127.0.0.1</a> <a href="http://asterisk.mydomain.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">asterisk.mydomain.com</a><br><br>Another
thing to do, would be to go to your /etc/mail/access
file [vi /etc/mail/access] ahd make sure, or add your
localhost as a trusted machine for sendmail.. From this link
<a href="http://www.linuxhomenetworking.com/linux-hn/sendmail.htm" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.linuxhomenetworking.com/linux-hn/sendmail.htm</a> I am reading/recommending that you put lines such as these in your "access" file:
<br>
<br>localhost.localdomain RELAY<br>localhost
RELAY<br><a href="http://127.0.0.1" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">127.0.0.1</a>
RELAY<br><br>If your "access" file isn't in the /etc/mail directory,
you may have to do a "locate access" to find it.. "locate"
will only work if you have sometime in the past run an "updatedb" to
build the hard drive's index for the locate to work on it...<br><br>Hope this helps..<br><br>-Steve<br><br><br><br>________________________________<br><br>From: hugolivude [mailto:<a href="mailto:hugolivude@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
hugolivude@gmail.com
</a>]<br>Sent: Mon 3/20/2006 10:14 AM<br>To: Asterisk Users Mailing List - Non-Commercial Discussion<br>Subject: Re: [Asterisk-Users] Re: problems with emailing voicemail<br><br><br>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" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">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" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">127.0.0.1</a> localhost.localdomain localhost<br><a href="http://127.0.0.1" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
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" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">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><br>On 3/17/06, Colin Anderson <<a href="mailto:ColinA@landmarkmasterbuilder.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
ColinA@landmarkmasterbuilder.com</a>> wrote:<br><br> if
you are using Sendmail, then you have to add a trusted user to
/etc/sendmail.cf in the format:<br><br> Tuser<br><br> 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. 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.<br><br><br><br><br> -----Original Message-----<br> From:
hugolivude [mailto:<a href="mailto:hugolivude@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">hugolivude@gmail.com</a>]<br><br> Sent:
Friday, March 17, 2006 10:49 AM<br> To:
Asterisk Users Mailing List - Non-Commercial Discussion<br> Subject:
Re: [Asterisk-Users] Re: problems with emailing voicemail<br><br><br><br> Wow,
Thanks so much for all your help. I tried Steve's suggestion
using tail and found:<br><br> from=<<a href="mailto:root@localhost.localdomain" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">root@localhost.localdomain</a> >, ...<br> 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> 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<br><br><br><br> On 3/17/06, Steve Jones <
<a href="mailto:sjones@ftdata.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">sjones@ftdata.com
</a>> wrote:<br><br> 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><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><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>