On Thu, Jan 17, 2008 at 03:18:11PM -0700, Corey Edwards wrote: > On Thu, 2008-01-17 at 15:02 -0700, Charles Curley wrote: > > I'm glad you know what this means.... > > > > [EMAIL PROTECTED]:/var/log/exim4# exim -bh 192.168.1.12 > > > > **** SMTP testing session as if from host 192.168.1.12 > > **** but without any ident (RFC 1413) callback. > > **** This is not for real! > > > > >>> host in hosts_connection_nolog? no (option unset) > > >>> host in host_lookup? yes (matched "*") > > >>> looking up host name for 192.168.1.12 > > >>> IP address lookup yielded issola.localdomain > > >>> gethostbyname2 looked up these IP addresses: > > >>> name=issola.localdomain address=192.168.1.12 > > >>> checking addresses for issola.localdomain > > >>> 192.168.1.12 OK > > >>> 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) > > 220 dzur ESMTP Exim 4.67 Thu, 17 Jan 2008 14:33:53 -0700 > > > > Now what? I hit CTL-C to get out. I take it I can pretend to be > > issola's MTA. > > Correct. You would enter in SMTP commands and see what would happen to > the message. Exim applies all the same rules that it would for a normal > SMTP session. Here's your script: > > EHLO issola.localdomain > MAIL FROM:<[EMAIL PROTECTED]> > RCPT TO:<[EMAIL PROTECTED]> > > At that point it's going to puke on you and a few lines up you should > have your explanation as to why.
Aha. OK, once more, with feeling....
[EMAIL PROTECTED]:/var/log/exim4# exim -bh 192.168.1.12
**** SMTP testing session as if from host 192.168.1.12
**** but without any ident (RFC 1413) callback.
**** This is not for real!
>>> host in hosts_connection_nolog? no (option unset)
>>> host in host_lookup? yes (matched "*")
>>> looking up host name for 192.168.1.12
>>> IP address lookup yielded issola.localdomain
>>> gethostbyname2 looked up these IP addresses:
>>> name=issola.localdomain address=192.168.1.12
>>> checking addresses for issola.localdomain
>>> 192.168.1.12 OK
>>> 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)
220 dzur ESMTP Exim 4.67 Thu, 17 Jan 2008 15:26:29 -0700
EHLO issola.localdomain
>>> host in pipelining_advertise_hosts? yes (matched "*")
>>> host in auth_advertise_hosts? yes (matched "*")
>>> host in tls_advertise_hosts? no (option unset)
250-dzur Hello issola.localdomain [192.168.1.12]
250-SIZE 52428800
250-PIPELINING
250 HELP
MAIL FROM:<[EMAIL PROTECTED]>
>>> using ACL "acl_check_mail"
>>> processing "accept"
>>> accept: condition test succeeded
250 OK
RCPT TO:<[EMAIL PROTECTED]>
>>> using ACL "acl_check_rcpt"
>>> processing "accept"
>>> check hosts = :
>>> host in ":"? no (end of list)
>>> accept: condition test failed
>>> processing "deny"
>>> check domains = +local_domains
>>> dzur.localdomain in "@:localhost:localhost:localdomain"? no (end of list)
>>> dzur.localdomain in "+local_domains"? no (end of list)
>>> deny: condition test failed
>>> processing "deny"
>>> check domains = !+local_domains
>>> dzur.localdomain in "!+local_domains"? yes (end of list)
>>> check local_parts = ^[./|] : [EMAIL PROTECTED]&?] : ^.*/\\.\\./
>>> ccurley in "^[./|] : [EMAIL PROTECTED]&?] : ^.*/\.\./"? no (end of list)
>>> deny: condition test failed
>>> processing "accept"
>>> check local_parts = postmaster
>>> ccurley in "postmaster"? no (end of list)
>>> accept: condition test failed
>>> processing "deny"
>>> check !acl = acl_whitelist_local_deny
>>> using ACL "acl_whitelist_local_deny"
>>> processing "accept"
>>> check hosts = ${if
>>> exists{/etc/exim4/local_host_whitelist}{/etc/exim4/local_host_whitelist}{}}
>>> host in ""? no (end of list)
>>> accept: condition test failed
>>> processing "accept"
>>> check senders = ${if
>>> exists{/etc/exim4/local_sender_whitelist}{/etc/exim4/local_sender_whitelist}{}}
>>> [EMAIL PROTECTED] in ""? no (end of list)
>>> accept: condition test failed
>>> end of ACL "acl_whitelist_local_deny": implicit DENY
>>> check senders = ${if
>>> exists{/etc/exim4/local_sender_callout}{/etc/exim4/local_sender_callout}{}}
>>> [EMAIL PROTECTED] in ""? no (end of list)
>>> deny: condition test failed
>>> processing "accept"
>>> check hosts = +relay_from_hosts
>>> host in "192.168.1.0/24 : 127.0.0.1 : ::::1"? yes (matched "192.168.1.0/24")
>>> host in "+relay_from_hosts"? yes (matched "+relay_from_hosts")
>>> check control = submission/sender_retain
>>> accept: condition test succeeded
250 Accepted
bye
500 unrecognized command
[EMAIL PROTECTED]:/var/log/exim4#
--
Charles Curley /"\ ASCII Ribbon Campaign
Looking for fine software \ / Respect for open standards
and/or writing? X No HTML/RTF in email
http://www.charlescurley.com / \ No M$ Word docs in email
Key fingerprint = CE5C 6645 A45A 64E4 94C0 809C FFF6 4C48 4ECD DFDB
signature.asc
Description: Digital signature
/* PLUG: http://plug.org, #utah on irc.freenode.net Unsubscribe: http://plug.org/mailman/options/plug Don't fear the penguin. */
