[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: exim failure



Header lines not handled by Web interface.
In-reply-to: <[🔎] ZBt73O0yIqk5VMNv@axis.corp>
References: <[🔎] 5674e986a67af53a04b27f08cd16146f@easthope.ca> <[🔎] ZBt73O0yIqk5VMNv@axis.corp>

    From: David Wright <deblis@lionunicorn.co.uk>
    Date: Wed, 22 Mar 2023 17:06:20 -0500
What are the contents of /etc/exim4/update-exim4.conf.conf, the
configuration file?

# /etc/exim4/update-exim4.conf.conf
#
# Most of the heading comments removed.
#
# This is a Debian specific file

dc_eximconfig_configtype='smarthost'
dc_other_hostnames=''
dc_local_interfaces='127.0.0.1'
dc_readhost='dalton.invalid'
dc_relay_domains=''
dc_minimaldns='false'
dc_relay_nets=''
dc_smarthost='hornby.islandhosting.com::465'
CFILEMODE='644'
dc_use_split_config='false'
dc_hide_mailname='true'
dc_mailname_in_oh='true'
dc_localdelivery='mail_spool'

I assumed you just stared at the screen until this timeout appeared.

My thought was "broken configuration".

You've now got to type something. It will then talk back to you.
Try typing (ignore my indentation):

  ehlo dalton.invalid              ← that's not a typo
  mail from: peter@easthope.ca
  rcpt to: peter@easthope.ca
  data
  from: peter@easthope.ca
  to: peter@easthope.ca
  subject: hand written test 01
                                   ← that's a blank line
  Hand written test 01
. ← that's nothing but a fullstop Return
  quit

root@dalton:/home/root# exim -bh 142.103.107.137.465

**** SMTP testing session as if from host 142.103.107.137
**** 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 142.103.107.137
IP address lookup yielded "dalton.invalid"
checking addresses for dalton.invalid
  127.0.1.1
  142.103.107.137 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)
host in pipelining_connect_advertise_hosts? yes (matched "*")
220 dalton.invalid ESMTP Exim 4.94.2 Thu, 23 Mar 2023 10:45:12 -0700
ehlo dalton.invalid
host in dsn_advertise_hosts? no (option unset)
host in pipelining_advertise_hosts? yes (matched "*")
host in auth_advertise_hosts? yes (matched "*")
host in chunking_advertise_hosts? yes (matched "*")
host in tls_advertise_hosts? yes (matched "*")
host in smtputf8_advertise_hosts? no (end of list)
250-dalton.invalid Hello dalton.invalid [142.103.107.137]
250-SIZE 52428800
250-8BITMIME
250-PIPELINING
250-PIPE_CONNECT
250-CHUNKING
250-STARTTLS
250-PRDR
250 HELP
mail from: peter@easthope.ca
using ACL "acl_check_mail"
processing "accept" (/var/lib/exim4/config.autogenerated 265)
accept: condition test succeeded in ACL "acl_check_mail"
end of ACL "acl_check_mail": ACCEPT
250 OK
rcpt to: peter@easthope.ca
using ACL "acl_check_rcpt"
processing "accept" (/var/lib/exim4/config.autogenerated 277)
check hosts = :
host in ":"? no (end of list)
accept: condition test failed in ACL "acl_check_rcpt"
processing "deny" (/var/lib/exim4/config.autogenerated 292)
check domains = +local_domains
easthope.ca in "@:localhost"? no (end of list)
easthope.ca in "+local_domains"? no (end of list)
deny: condition test failed in ACL "acl_check_rcpt"
processing "deny" (/var/lib/exim4/config.autogenerated 301)
check domains = !+local_domains
easthope.ca in "!+local_domains"? yes (end of list)
check local_parts = ^[./|] : ^.*[@%!`#&?] : ^.*/\\.\\./
peter in "^[./|] : ^.*[@%!`#&?] : ^.*/\.\./"? no (end of list)
deny: condition test failed in ACL "acl_check_rcpt"
processing "accept" (/var/lib/exim4/config.autogenerated 307)
check local_parts = postmaster
peter in "postmaster"? no (end of list)
accept: condition test failed in ACL "acl_check_rcpt"
processing "deny" (/var/lib/exim4/config.autogenerated 322)
check !acl = acl_local_deny_exceptions
 using ACL "acl_local_deny_exceptions"
 processing "accept" (/var/lib/exim4/config.autogenerated 238)
check hosts = ${if exists{/etc/exim4/host_local_deny_exceptions}{/etc/exim4/host_local_deny_exceptions}{}}
host in ""? no (end of list)
 accept: condition test failed in ACL "acl_local_deny_exceptions"
 processing "accept" (/var/lib/exim4/config.autogenerated 242)
check senders = ${if exists{/etc/exim4/sender_local_deny_exceptions}{/etc/exim4/sender_local_deny_exceptions}{}}
peter@easthope.ca in ""? no (end of list)
 accept: condition test failed in ACL "acl_local_deny_exceptions"
 processing "accept" (/var/lib/exim4/config.autogenerated 246)
check hosts = ${if exists{/etc/exim4/local_host_whitelist}{/etc/exim4/local_host_whitelist}{}}
host in ""? no (end of list)
 accept: condition test failed in ACL "acl_local_deny_exceptions"
 processing "accept" (/var/lib/exim4/config.autogenerated 250)
check senders = ${if exists{/etc/exim4/local_sender_whitelist}{/etc/exim4/local_sender_whitelist}{}}
peter@easthope.ca in ""? no (end of list)
 accept: condition test failed in ACL "acl_local_deny_exceptions"
 end of ACL "acl_local_deny_exceptions": implicit DENY
check senders = ${if exists{/etc/exim4/local_sender_callout}{/etc/exim4/local_sender_callout}{}}
peter@easthope.ca in ""? no (end of list)
deny: condition test failed in ACL "acl_check_rcpt"
processing "deny" (/var/lib/exim4/config.autogenerated 333)
check condition = ${if and {{>{$rcpt_count}{10}}{<{$recipients_count}{${eval:$rcpt_count/2}}} }}
                =
deny: condition test failed in ACL "acl_check_rcpt"
processing "accept" (/var/lib/exim4/config.autogenerated 338)
check hosts = +relay_from_hosts
host in ": 127.0.0.1 : ::::1"? no (end of list)
host in "+relay_from_hosts"? no (end of list)
accept: condition test failed in ACL "acl_check_rcpt"
processing "accept" (/var/lib/exim4/config.autogenerated 343)
check authenticated = *
accept: condition test failed in ACL "acl_check_rcpt"
processing "require" (/var/lib/exim4/config.autogenerated 348)
check condition = ${if def:sender_helo_name}
                = true
  message: nice hosts say HELO first
require: condition test succeeded in ACL "acl_check_rcpt"
processing "require" (/var/lib/exim4/config.autogenerated 352)
  message: relay not permitted
check domains = +local_domains : +relay_to_domains
easthope.ca in ""? no (end of list)
easthope.ca in "+local_domains : +relay_to_domains"? no (end of list)
require: condition test failed in ACL "acl_check_rcpt"
end of ACL "acl_check_rcpt": not OK
550 relay not permitted
LOG: H=dalton.invalid [142.103.107.137] F=<peter@easthope.ca> rejected RCPT peter@easthope.ca: relay not permitted

root@dalton:/home/root# head -n 3 /etc/hosts
# dalton:/etc/hosts
127.0.0.1       localhost.localdomain localhost
127.0.1.1       dalton.invalid  dalton

Whereas above, exim says this.

checking addresses for dalton.invalid
  127.0.1.1
  142.103.107.137 OK

Seems incorrect to mention 127.0.1.1 and not 127.0.0.1.

Eventually exim complains about relaying whereas the test is from
localhost.

Thx,             ... P.


Reply to: