Re: [Exim] Login Authentication

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Matthew Daubenspeck
Data:  
Para: Greg Ward
CC: exim-users
Assunto: Re: [Exim] Login Authentication
--

>
>Yes. If you're trying to debug Exim-as-smtp-daemon, do this:
>
> exim -odf -bd -d9
>
>which makes Exim listen for SMTP connections without forking off to
>become a daemon.
>
>If this is on a live server, you can listen to a different port and
>leave the real server alone:
>
> exim -odf -bd -oX 2525 -d9
>
>Of course then you need to find an SMTP client to talk to port 2525.
>"telnet" should work. ;-)
>
>There's also an option to do a fake SMTP session, so you could just as
>easily do:
>
> exim -d9 -bs
>
>and then pretend to be an SMTP client.


thanks a million, I got the extended logging working. Attached is the log.

As far as I can tell, it looks like the client isn't even trying to
authenticate. Is that what you see?
--
exim 3.12 daemon started: pid=22525, no queue runs, listening for SMTP on port 25
set_process_info: 22525 3.12 daemon: no queue runs, port 25
daemon running with uid=8 gid=8 euid=8 egid=8
listening on port 25...
Connection request from 151.201.151.16
1 SMTP accept process running
listening on port 25...
interface address = 192.168.0.4
host in rfc1413_hosts? yes (*)
sender_fullhost = [151.201.151.16]
sender_rcvhost = [151.201.151.16]
Process 22528 is handling incoming connection from [151.201.151.16]
host in host_lookup? yes (*)
looking up host name for 151.201.151.16
IP address lookup yielded pool-151-201-151-16.phil.east.verizon.net
Actual local interface address is 127.0.0.1
Actual local interface address is 192.168.0.4
pool-151-201-151-16.phil.east.verizon.net 151.201.151.16 -1
sender_fullhost = pool-151-201-151-16.phil.east.verizon.net [151.201.151.16]
sender_rcvhost = pool-151-201-151-16.phil.east.verizon.net ([151.201.151.16])
set_process_info: 22528 3.12 handling incoming connection from pool-151-201-151-16.phil.east.verizon.net [151.201.151.16]
host in host_reject? no (option unset)
host in host_reject_recipients? no (option unset)
host in auth_hosts? no (option unset)
host in sender_unqualified_hosts? no (option unset)
host in receiver_unqualified_hosts? no (option unset)
host in helo_verify? no (option unset)
host in helo_accept_junk_hosts? no (option unset)
220 caustic.oddprocess.org ESMTP Exim 3.12 #1 Wed, 30 Jan 2002 19:00:22 -0500
set_process_info: 22528 3.12 handling incoming connection from pool-151-201-151-16.phil.east.verizon.net [151.201.151.16]
ready for new message
smtp_setup_msg entered
SMTP<< NOOP
250 OK
SMTP<< HELO fringe.oddprocess.org
sender_fullhost = pool-151-201-151-16.phil.east.verizon.net (fringe.oddprocess.org) [151.201.151.16]
sender_rcvhost = pool-151-201-151-16.phil.east.verizon.net ([151.201.151.16] helo=fringe.oddprocess.org)
set_process_info: 22528 3.12 handling incoming connection from pool-151-201-151-16.phil.east.verizon.net (fringe.oddprocess.org) [151.201.151.16]
250 caustic.oddprocess.org Hello pool-151-201-151-16.phil.east.verizon.net [151.201.151.16]
SMTP<< RSET
250 Reset OK
SMTP<< MAIL FROM:<matt@???>
matt@??? in sender_reject? no (option unset)
matt@??? in sender_reject_recipients? no (option unset)
host in sender_verify_hosts? yes (*)
verifying sender matt@???
>>>>>>>>>>>>>>>>>>>>>>>>

Verifying matt@???
matt@??? in *@oddprocess.org? yes (*@oddprocess.org)
search_open: lsearch "/etc/email-addresses"
search_find: file="/etc/email-addresses"
key="matt" partial=-1
LRU list:
6/etc/email-addresses
6/var/mail/config/local.domains
End
internal_search_find: file="/etc/email-addresses"
type=lsearch key="matt"
file lookup required for matt
in /etc/email-addresses
lookup failed
search_open: lsearch "/var/mail/config/local.domains"
cached open
search_find: file="/var/mail/config/local.domains"
key="oddprocess.org" partial=-1
LRU list:
6/var/mail/config/local.domains
6/etc/email-addresses
End
internal_search_find: file="/var/mail/config/local.domains"
type=lsearch key="oddprocess.org"
file lookup required for oddprocess.org
in /var/mail/config/local.domains
lookup yielded:
oddprocess.org in local_domains? yes (matched lsearch;/var/mail/config/local.domains)
oddprocess.org in percent_hack_domains? no (end of list)
address matt@???
local_part=matt domain=oddprocess.org
domain is local
>>>>>>>>>>>>>>>>>>>>>>>>

directing matt@???
search_open: lsearch "/var/mail/config/local.domains"
cached open
search_find: file="/var/mail/config/local.domains"
key="oddprocess.org" partial=-1
LRU list:
6/var/mail/config/local.domains
6/etc/email-addresses
End
internal_search_find: file="/var/mail/config/local.domains"
type=lsearch key="oddprocess.org"
cached data used for lookup of oddprocess.org
in /var/mail/config/local.domains
lookup yielded:
oddprocess.org in "lsearch;/var/mail/config/local.domains"? yes (matched lsearch;/var/mail/config/local.domains)
calling virtual_external director
virtual_external director: lsearch key=matt
file="/var/mail/config/oddprocess.org/external.aliases"
search_open: lsearch "/var/mail/config/oddprocess.org/external.aliases"
search_find: file="/var/mail/config/oddprocess.org/external.aliases"
key="matt" partial=-1
LRU list:
6/var/mail/config/oddprocess.org/external.aliases
6/var/mail/config/local.domains
6/etc/email-addresses
End
internal_search_find: file="/var/mail/config/oddprocess.org/external.aliases"
type=lsearch key="matt"
file lookup required for matt
in /var/mail/config/oddprocess.org/external.aliases
lookup failed
virtual_external director failed for matt:
search_open: lsearch "/var/mail/config/local.domains"
cached open
search_find: file="/var/mail/config/local.domains"
key="oddprocess.org" partial=-1
LRU list:
6/var/mail/config/local.domains
6/var/mail/config/oddprocess.org/external.aliases
6/etc/email-addresses
End
internal_search_find: file="/var/mail/config/local.domains"
type=lsearch key="oddprocess.org"
cached data used for lookup of oddprocess.org
in /var/mail/config/local.domains
lookup yielded:
oddprocess.org in "lsearch;/var/mail/config/local.domains"? yes (matched lsearch;/var/mail/config/local.domains)
virtual_local director has more set FALSE
calling virtual_local director
virtual_local director: lsearch key=matt
file="/var/mail/config/oddprocess.org/local.aliases"
search_open: lsearch "/var/mail/config/oddprocess.org/local.aliases"
search_find: file="/var/mail/config/oddprocess.org/local.aliases"
key="matt" partial=-1
LRU list:
6/var/mail/config/oddprocess.org/local.aliases
6/var/mail/config/local.domains
6/var/mail/config/oddprocess.org/external.aliases
6/etc/email-addresses
End
internal_search_find: file="/var/mail/config/oddprocess.org/local.aliases"
type=lsearch key="matt"
file lookup required for matt
in /var/mail/config/oddprocess.org/local.aliases
lookup yielded: matt
queued for local_delivery transport uid=1001 gid=100
virtual_local director succeeded for matt
matt@??? verified ok as matt@???
250 <matt@???> is syntactically correct
SMTP<< RCPT TO:<mellofone@???>
search_open: lsearch "/var/mail/config/local.domains"
cached open
search_find: file="/var/mail/config/local.domains"
key="daubnet.dns2go.com" partial=-1
LRU list:
6/var/mail/config/local.domains
6/var/mail/config/oddprocess.org/local.aliases
6/var/mail/config/oddprocess.org/external.aliases
6/etc/email-addresses
End
internal_search_find: file="/var/mail/config/local.domains"
type=lsearch key="daubnet.dns2go.com"
file lookup required for daubnet.dns2go.com
in /var/mail/config/local.domains
lookup failed
daubnet.dns2go.com in local_domains? no (end of list)
daubnet.dns2go.com in relay_domains? no (end of list)
local host found for non-MX address
localhost 127.0.0.1 -1
dyn034210.ie.lehigh.edu 128.180.34.210 -1
host in host_accept_relay? no (end of list)
550 relaying to <mellofone@???> prohibited by administrator
LOG: 1 MAIN REJECT
refused relay (host) to <mellofone@???> from <matt@???> H=pool-151-201-151-16.phil.east.verizon.net (fringe.oddprocess.org) [151.201.151.16]
SMTP<< QUIT
221 caustic.oddprocess.org closing connection
child 22528 ended: status=0x0
0 SMTP accept processes now running
listening on port 25...
--