[Exim] Newbie: No incoming mail

Top Page
Delete this message
Reply to this message
Author: kynn
Date:  
To: exim-users
Subject: [Exim] Newbie: No incoming mail

In a nutshell: my machine can send out mail fine, and it can send and
receive mail to and from itself, but it has never been able to receive
mail from the outside. It appears that my host rejects all mail from
the outside, with the message: "550 relaying to <user@123.456.789.012>
prohibited by administrator (in reply to RCPT TO command)".

How can I begin to troubleshoot this problem?

What follows is my best guess on what would be useful information
to diagnose the problem (I'm very green at this; please let me know
if I've missed some important piece of information).

My OS is Linux; my distribution is Debian 3.0; my kernel is
2.4.18-686. I configured exim with eximconfig. I quote the entire
exim.conf (minus comments) at the end of this post. The exim demon is
properly started at boot time. The output of netstat -tlnp is:

Proto Recv-Q Send-Q Local Address  Foreign Address  State   PID/Program name
tcp        0      0 0.0.0.0:25     0.0.0.0:*        LISTEN  583/exim


I can ping my host from the outside and I can connect to it via ssh.


Thanks in advance,

    -Irv


PS: Please Cc: me in your replies.

PPS: Here's my exim.conf file. I've removed the commented lines and
changed the name of my domain to "secret.enigma.com", for security
reasons. Aside from this, it is in its original form (I assume it was
generated by eximconfig):

qualify_domain = secret.enigma.com
local_domains = localhost:secret.enigma.com:secret
local_domains_include_host = true
local_domains_include_host_literals = true
never_users = root
host_lookup = *
host_accept_relay = 127.0.0.1 : ::::1
host_auth_accept_relay = *
trusted_users = mail
smtp_verify = true
gecos_pattern = ^([^,:]*)
gecos_name = $1
smtp_accept_queue_per_connection = 100
freeze_tell_mailmaster = true
received_header_text = "Received: \
         ${if def:sender_rcvhost {from ${sender_rcvhost}\n\t}\
         {${if def:sender_ident {from ${sender_ident} }}\
         ${if def:sender_helo_name {(helo=${sender_helo_name})\n\t}}}}\
         by ${primary_hostname} \
         ${if def:received_protocol {with ${received_protocol}}} \
         (Exim ${version_number} #${compile_number} (Debian))\n\t\
         id ${message_id}\
         ${if def:received_for {\n\tfor <$received_for>}}"
receiver_try_verify = true
local_delivery:
  driver = appendfile
  group = mail
  mode = 0660
  mode_fail_narrower = false
  envelope_to_add = true
  return_path_add = true
  file = /var/spool/mail/${local_part}
address_pipe:
  driver = pipe
  path = /usr/bin:/bin:/usr/local/bin
  return_output
address_file:
  driver = appendfile
  envelope_to_add = true
  return_path_add = true
address_directory:
  driver = appendfile
  no_from_hack
  prefix = ""
  suffix = ""
address_reply:
  driver = autoreply
procmail_pipe:
  driver = pipe
  command = "/usr/bin/procmail"
  return_path_add
  delivery_date_add
  envelope_to_add
  suffix = ""
remote_smtp:
  driver = smtp
real_local:
  prefix = real-
  driver = localuser
  transport = local_delivery
system_aliases:
  driver = aliasfile
  file_transport = address_file
  pipe_transport = address_pipe
  file = /etc/aliases
  search_type = lsearch
userforward:
  driver = forwardfile
  file_transport = address_file
  pipe_transport = address_pipe
  reply_transport = address_reply
  no_verify
  check_ancestor
  check_local_user
  file = .forward
  modemask = 002
  filter
procmail:
  driver = localuser
  transport = procmail_pipe
  require_files = ${local_part}:+${home}:+${home}/.procmailrc:+/usr/bin/procmail  no_verify
localuser:
  driver = localuser
  transport = local_delivery
lookuphost:
  driver = lookuphost
  transport = remote_smtp
literal:
  driver = ipliteral
  transport = remote_smtp
*                      *           F,2h,15m; G,16h,2h,1.5; F,4d,8h
*@secret.enigma.com    ${lookup{$1}lsearch{/etc/email-addresses}\
                        {$value}fail} frFs