nate wrote:
Nicholas Fitzgerald said:
I'm running RedHad 8.0. Now that I think of it, the last 7.3 server I
worked with didn't have this problem. Too bad RedHat can't see their way
clear to upgrade the packages for it like apache and php to something a
bit more current. I tried the test you used up there with a couple
different email addresses and that didn't work either.
well you know what the saying is .. "don't use a redhat .0 release :)"
I'm not really a redhat user but a debian user, though I have a redhat
system on my LAN here just so I am famillar with it ..
what does the log show? a test I usually do would be
Here is the log entries from the last time I tried to send:
Feb 21 20:40:12 dns sendmail[19527]: h1M4eCkl019527: from=apache, size=355, class=0, nrcpts=1, msgid=<[EMAIL PROTECTED]>, [EMAIL PROTECTED]
Feb 21 20:40:12 dns sendmail[19529]: h1M4eCqe019529: from=<[EMAIL PROTECTED]>, size=592, class=0, nrcpts=1, msgid=<[EMAIL PROTECTED]>, proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1]
Feb 21 20:40:12 dns sendmail[19527]: h1M4eCkl019527: [EMAIL PROTECTED], ctladdr=apache (48/48), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30150, relay=localhost.localdomain. [127.0.0.1], dsn=2.0.0, stat=Sent (h1M4eCqe019529 Message accepted for delivery)
Feb 21 20:40:12 dns sendmail[19531]: h1M4eCqe019529: to=<[EMAIL PROTECTED]>, ctladdr=<[EMAIL PROTECTED]> (48/48), delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=30387, relay=icesource.com. [66.12.123.173], dsn=4.0.0, stat=Deferred: Connection refused by icesource.com.
echo "test" | mail [EMAIL PROTECTED] ; tail -f /var/log/maillog
worst case perhaps, purge out the sendmail rpm and reinstall maybe
the upgrade broke something.
I tried that test, and I did totally clean out and reinstall sendmail with
no luck at all.
That's fine, I don't have a problme sending via localhost as that's all I
need it to do, but it's not, it's sending via the actual network hostname
of the computer. Any idea how to change it to?
sending via the network interface, well if I understand what your
saying is normal and that should work. It can only RECIEVE mail on
the loopback interface by default, which seems to be fine for your
situation.
do you have any firewall rules? try iptables -L
I didn't install the firewall.
I seem to remember some redhat versions comming with a fairly
strict firewall config in some situations.
another thing to try is to telnet to the mail server your sending
mail to on port 25 and be sure that network-wise it works(do this
from the redhat box that's having the trouble). If your not sure
what mail server is associated with an email address use the
host command (e.g. host -t MX aphroland.org)
good luck!
nate