[Exim] Trouble with incoming mail, again

Top Page
Delete this message
Reply to this message
Author: Bo Mellberg
Date:  
To: exim-users
Subject: [Exim] Trouble with incoming mail, again
Hi all!

I'm turning quite desperate here. I haven't been able
to receive mail from the internet at all. I have tried to
telnet my machine on port 25 and faked an smtp-connection,
but nothing shows on my computer, even after setting
+smtp_connection in the configure file.

I've read the faq, searched the archives and looked in the
manual but I can't find any solution.

The host is www.mellberg.org if you want to test it.

Thanks again,

/Bo Mellberg

Here is a transcript from a debug session:

max:/# exim -d -bh 192.168.0.2
Exim version 4.02 uid=0 gid=0 pid=6850 L=834cd8 D=fff7577f
Berkeley DB: Sleepycat Software: Berkeley DB 3.2.9: (April 7, 2002)
changed uid/gid: forcing real = effective
uid=0 gid=0
auxiliary group list: <none>
trusted user
admin user
changed uid/gid: privilege not needed
uid=1002 gid=1002
auxiliary group list: <none>
originator: uid=0 gid=0 login=root name=root
sender address = root@???
sender_fullhost = [192.168.0.2]
sender_rcvhost = [192.168.0.2]

**** SMTP testing session as if from host 192.168.0.2
**** but without any ident (RFC 1413) callback.
**** This is not for real!

host in host_lookup? yes (matched "*")
looking up host name for 192.168.0.2
IP address lookup failed: h_errno=1
sender_fullhost = [192.168.0.2]
sender_rcvhost = [192.168.0.2]
set_process_info: 6850 handling incoming connection from [192.168.0.2]
host in host_reject_connection? no (option unset)
host in sender_unqualified_hosts? no (option unset)
host in recipient_unqualified_hosts? no (option unset)
host in helo_verify_hosts? no (option unset)
host in helo_try_verify_hosts? no (option unset)
host in helo_accept_junk_hosts? no (option unset)
LOG: smtp_connection MAIN
SMTP connection from [192.168.0.2]
SMTP>> 220 mellberg.org ESMTP Exim 4.02 Sun, 28 Apr 2002 11:30:11 +0200

220 mellberg.org ESMTP Exim 4.02 Sun, 28 Apr 2002 11:30:11 +0200
smtp_setup_msg entered
helo abc
SMTP<< helo abc
abc in helo_lookup_domains? no (end of list)
sender_fullhost = (abc) [192.168.0.2]
sender_rcvhost = [192.168.0.2] (helo=abc)
set_process_info: 6850 handling incoming connection from (abc) [192.168.0.
250 mellberg.org Hello abc [192.168.0.2]
SMTP>> 250 mellberg.org Hello abc [192.168.0.2]

mail from:bosse@???
SMTP<< mail from:bosse@???
SMTP>> 250 OK

250 OK
rcpt to:bosse@???
SMTP<< rcpt to:bosse@???
active address bosse@???
local_part=bosse domain=mellberg.org
using ACL "acl_check_rcpt"
processing "accept"
check hosts = :
host in ":"? no (end of list)
accept: condition test failed
processing "deny"
check local_parts = ^.*[@%!/|]
bosse in "^.*[@%!/|]"? no (end of list)
deny: condition test failed
processing "accept"
check local_parts = postmaster
bosse in "postmaster"? no (end of list)
accept: condition test failed
processing "accept"
check domains = +local_domains
mellberg.org in "@ : mail.mellberg.org"? yes (matched "@")
mellberg.org in "+local_domains"? yes (matched "+local_domains")
cached lookup data = NULL
check verify = recipient
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Verifying bosse@???
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Considering bosse@???
active address bosse@???
local_part=bosse domain=mellberg.org
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

routing bosse@???
--------> dnslookup router <--------
local_part=bosse domain=mellberg.org
checking domains
cached yes match for +local_domains
mellberg.org in "! +local_domains"? no (matched "! +local_domains" - cached
cached lookup data = NULL
dnslookup router skipped: domains mismatch
--------> system_aliases router <--------
local_part=bosse domain=mellberg.org
calling system_aliases router
rda_interpret (string): ${lookup{$local_part}lsearch{/etc/aliases}}
search_open: lsearch "/etc/aliases"
search_find: file="/etc/aliases"
key="bosse" partial=-1
LRU list:
8/etc/aliases
End
internal_search_find: file="/etc/aliases"
type=lsearch key="bosse"
file lookup required for bosse
in /etc/aliases
lookup failed
expanded:
file is not a filter file
parse_forward_list:
system_aliases router declined for bosse@???
--------> mysql_system_aliases router <--------
local_part=bosse domain=mellberg.org
checking "condition"
search_open: mysql "NULL"
search_find: file="NULL"
key="show tables like 'bosse'" partial=-1
LRU list:
8/etc/aliases
End
internal_search_find: file="NULL"
type=mysql key="show tables like 'bosse'"
database lookup required for show tables like 'bosse'
MYSQL query: show tables like 'bosse'
MYSQL new connection: host=localhost port=0 socket=NULL database=lve user=l
MYSQL: no data found
lookup failed
mysql_system_aliases router skipped: condition failure
--------> userforward router <--------
local_part=bosse domain=mellberg.org
userforward router skipped: verify 2 0 0
--------> localuser router <--------
local_part=bosse domain=mellberg.org
checking for local user
calling localuser router
localuser router called for bosse@???
domain = mellberg.org
set transport local_delivery
queued for local_delivery transport: local_part = bosse
domain = mellberg.org
errors_to=NULL
domain_data=NULL localpart_data=NULL
routed by localuser router
envelope to: bosse@???
transport: local_delivery
----------- end verify ------------
accept: condition test succeeded
SMTP>> 250 Accepted

250 Accepted
data
SMTP<< data
SMTP>> 354 Enter message, ending with "." on a line by itself

354 Enter message, ending with "." on a line by itself
search_tidyup called
close MYSQL connection: localhost/lve/lve
testing testing
.
host in ignore_fromline_hosts? no (option unset)
>>Headers received:


rewrite_one_header: type=F:
From: bosse@???
search_tidyup called
>>Headers after local additions:

P Received: from [192.168.0.2] (helo=abc)
        by mellberg.org with smtp (Exim 4.02)
        id 171l1v-0001mU-00
        for bosse@???; Sun, 28 Apr 2002 11:32:08 +0200
I Message-Id: <E171l1v-0001mU-00@???>
F From: bosse@???
B Bcc:
  Date: Sun, 28 Apr 2002 11:32:08 +0200


Data file written for message 171l1v-0001mU-00
calling local_scan()
local_scan() returned 0 NULL
LOG: MAIN
<= bosse@??? H=(abc) [192.168.0.2] P=smtp S=286
SMTP>> 250 OK id=171l1v-0001mU-00

250 OK id=171l1v-0001mU-00

**** SMTP testing: that is not a real message id!

smtp_setup_msg entered

SMTP<<
LOG: smtp_syntax_error MAIN
SMTP syntax error in "" H=(abc) [192.168.0.2] unrecognized command
SMTP>> 500 unrecognized command

500 unrecognized command
quit
SMTP<< quit
SMTP>> 221 mellberg.org closing connection

221 mellberg.org closing connection
LOG: smtp_connection MAIN
SMTP connection from (abc) [192.168.0.2] closed by QUIT
search_tidyup called
>>>>>>>>>>>>>>>>>> Exim pid=6850 terminating with rc=0 >>>>>>>>>>>>>>>>>>