Baxil (baxil) wrote,
Baxil
baxil

  • Location:

Two weeks without mail and I'm desperate

Alright, I need some big geek juju. I know I have many Unix wizards and friends-of-wizards on my friends list. Please give me a hand.

Tlands' host stopped being able to send outgoing e-mail about two weeks ago. We're running exim (4.54 #1) with xinetd (Version 2.3.14 libwrap loadavg) on Linux (Linux 2.6.15-27-server #1 i686 GNU/Linux). Incoming mail is smooth as silk, but any time I try to send a message beyond localhost (even directly using exim -v), it gives me an error:
==any.address@any.domain.com R=lookuphost T=remote_smtp defer (-1): TCP port "smtp" is not defined for remote_smtp transport

I'm at my wits' end here. I've been researching this for the better part of a week and have spent probably eight hours combing through documentation (half of it tonight, and it didn't fix the problem). I'm starting to run around in circles.

I've made sure there's an smtp entry in /etc/services --
smtp             25/tcp                mail

I've added the missing smtp entry to /etc/xinetd.d (and changed its permissions to 644):
service smtp
{
socket_type = stream
protocol = tcp
wait = no
user = root
server = /usr/sbin/exim
server_args = -bs
}


Here's the version and config summary from exim, which also says its config file syntax is OK:
$> exim -bV
Exim version 4.54 #1 built 04-Oct-2005 14:00:25
Copyright (c) University of Cambridge 2005
Berkeley DB: Sleepycat Software: Berkeley DB 3.2.9: (May 26, 2004)
Support for: crypteq iconv() Perl OpenSSL Content_Scanning Old_Demime
Lookups: lsearch wildlsearch nwildlsearch iplsearch cdb dbm dbmnz
Authenticators: cram_md5 plaintext spa
Routers: accept dnslookup ipliteral manualroute queryprogram redirect
Transports: appendfile/maildir/mailstore/mbx autoreply lmtp pipe smtp
Configuration file is /etc/exim.conf

exim.conf has the following router and transport set up for outgoing mail:
# This router routes to remote hosts over SMTP using a DNS lookup. Any domain
# that resolves to an IP address on the loopback interface (127.0.0.0/8) is
# treated as if it had no DNS entry.

lookuphost:
driver = dnslookup
domains = ! +local_domains
ignore_target_hosts = 127.0.0.0/8
condition = "${perl{check_limits}}"
transport = remote_smtp
no_more


(snip)

# This transport is used for delivering messages over SMTP connections.

remote_smtp:
driver = smtp


Both xinetd and exim were restarted after config changes were made.

As far as I can tell, that should be more than enough to have it working. I can't even figure out what else I need to rule out. What else would help troubleshoot this? Netstat listings? xinetd config? Lists of file permissions?

I really appreciate any assistance here, even if it's just pointing me at a Linux users mailing list I can beg for aid.
Tags: geekery, requests
Subscribe

  • Dragon sighting

    Hot damn. Larger. Source. Previously; also. Happy Year of the Dragon! (Edit: Locked comments due to spam)

  • DSVOPIH!

    It's apparently a good year for tiny changes ... Just added two downloadable TrueType fonts to the ClaWrite page. (One of which is by…

  • Oh! And! :D

    Remember the mask I talked about wearing to Furcon? The official con photos are out! I do look quite dapper, if I say so myself. Also, I've…

  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 12 comments

  • Dragon sighting

    Hot damn. Larger. Source. Previously; also. Happy Year of the Dragon! (Edit: Locked comments due to spam)

  • DSVOPIH!

    It's apparently a good year for tiny changes ... Just added two downloadable TrueType fonts to the ClaWrite page. (One of which is by…

  • Oh! And! :D

    Remember the mask I talked about wearing to Furcon? The official con photos are out! I do look quite dapper, if I say so myself. Also, I've…