exim and xinetd
I can't seem to get the relationship between exim and
xinetd straight in my head. While I go do a little
more reading on exim and xinetd can someone give me
some pointers? Would it be better for exim to just run
in daemon mode?
I see this in /etc/init.d/exim :
# Exit if exim runs from /etc/inetd.conf
if [ -f /etc/inetd.conf ] && grep -q "^ *smtp"
/etc/inetd.conf; then
exit 0
fi
And even though I've got xinetd installed
/etc/inetd.conf does exists and contains a line
beginning w/ smtp. xinetd is running, and the exim
config in /etc/xinetd.conf is this :
service smtp
{
socket_type = stream
protocol = tcp
wait = no
user = mail
server = /usr/sbin/exim
server_args = -bs
}
A further complication could be my firewall, however,
I ran the port probe at grc.com and it shows that smtp
is open. A check of the firewall rules shows port 25
being forwarded appropriately. I can send mail locally
from my user account to root and the mail ends up back
in my user account as it should. I can send mail from
root to my local user account. but nothing is coming
in from outside.
I believe the following is relevant in the exim.conf
file:
qualify_domain = mail.charleshbaker.com
# qualify_recipient =
local_domains = \
localhost:mail.charleshbaker.com:charleshbaker.com
local_domains_include_host = true
local_domains_include_host_literals = true
#relay_domains =
#relay_domains_include_local_mx = true
never_users = root
host_accept_relay = 127.0.0.1 : ::::1 : 192.168.1.0/24
host_auth_accept_relay = *
If more is needed just say the word.
TIA
=====
rascharles@yahoo.com
http://www.charleshbaker.com/~chb/
Hacking is a "Good Thing!"
See http://www.tuxedo.org/~esr/faqs/hacker-howto.html
__________________________________________________
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com
Reply to: