RE: [Exim] sender verify check disable for some domains

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Hämäläinen Jori
Date:  
À: Thomas Baumann, exim-users
Sujet: RE: [Exim] sender verify check disable for some domains
Perhaps you'd make manualroute entry:

tweak_route:
driver = manualroute
domains = this.domain.does.not.exist.com
transport = remote_smtp
route_list = this.domain.does.not.exist.com 1.1.1.1

After this verify sender & recipient should work and you'd
be able to send email to that domain if other ACL's succeed etc.

On ACL section you can also make custom rules for this non-existent
domain and tell ACL to pass only to "tweak_route" -router.

BR, Jori


> -----Original Message-----
> From: Thomas Baumann [mailto:tirili+list.exim@tiri.li]
> Sent: Wednesday, November 19, 2003 1:09 PM
> To: exim-users@???
> Subject: [Exim] sender verify check disable for some domains
>
> Hello list,
>
> I use exim 4.24 with exiscan enabled, and have trouble
> receiving mail from a sender which domain does not exist, but
> I want to receive mail from him.
>
> How can I disable the sender verify checking for several domains ?
>
> Thanks for any help in andvance.
>
> - tom
>
> LOG: MAIN REJECT
> H=(abc) [1.1.1.1] sender verify fail for
> <test@???>: Unrouteable address
> SMTP>> 550-Verification failed for
> <test@???>
> 550-Verification failed for <test@???>
> SMTP>> 550-Unrouteable address
> 550-Unrouteable address
> SMTP>> 550 Sender verify failed
> 550 Sender verify failed
> LOG: MAIN REJECT
> H=(abc) [1.1.1.1] F=<test@???>
> rejected RCPT
> myname@???: Sender verify failed
>
> my exim-debug:
>
> **** SMTP testing session as if from host 1.1.1.1
> **** but without any ident (RFC 1413) callback.
> **** This is not for real!
>
> LOG: smtp_connection MAIN
> SMTP connection from [1.1.1.1]
> host in host_lookup? yes (matched "*")
> looking up host name for 1.1.1.1
> IP address lookup failed: h_errno=1
> LOG: host_lookup_failed MAIN
> no host name found for IP address 1.1.1.1 sender_fullhost =
> [1.1.1.1] sender_rcvhost = [1.1.1.1]
> set_process_info: 19558 handling incoming connection from
> [1.1.1.1] 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)
> SMTP>> 220 mail2.mydomain.com ESMTP Wed, 19 Nov 2003 11:59:42 +0100
> 220 mail2.mydomain.com ESMTP Wed, 19 Nov 2003 11:59:42 +0100
> smtp_setup_msg entered SMTP<< helo abc abc in
> helo_lookup_domains? no (end of list) sender_fullhost = (abc)
> [1.1.1.1] sender_rcvhost = [1.1.1.1] (helo=abc)
> set_process_info: 19558 handling incoming connection from
> (abc) [1.1.1.1] 250 mail2.mydomain.com Hello abc [1.1.1.1]
> SMTP>> 250 mail2.mydomain.com Hello abc [1.1.1.1]
> SMTP<< mail from: test@???
> SMTP>> 250 OK
> 250 OK
> SMTP<< rcpt to: myname@???
> using ACL "acl_check_rcpt"
> processing "accept"
> check hosts = +relay_from_hosts
> host in "127.0.0.1 : /etc/exim/relay.hosts"? no (end of list)
> host in "+relay_from_hosts"? no (end of list)
> accept: condition test failed
> processing "warn"
> check hosts = :
> host in ":"? no (end of list)
> warn: condition test failed
> processing "deny"
> check local_parts = ^.*[@%!/|] : ^\\.
> myname in "^.*[@%!/|] : ^\."? no (end of list)
> deny: condition test failed
> processing "accept"
> check local_parts = postmaster
> myname in "postmaster"? no (end of list)
> accept: condition test failed
> processing "accept"
> check domains = +domains_not_verify
> mydomain.com in "*.daimlerchrysler.com :
> *.domain.does.not.exist.com"? no (end of list) mydomain.com
> in "+domains_not_verify"? no (end of list)
> accept: condition test failed
> processing "require"
> check verify = sender
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> Verifying test@???
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> Considering test@???
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> routing test@???
> --------> dnslookup router <--------
> local_part=test domain=this.domain.does.not.exist.com
> checking domains
> this.domain.does.not.exist.com in "@"? no (end of list)
> this.domain.does.not.exist.com in "! +local_domains"? yes
> (end of list) calling dnslookup router dnslookup router
> called for test@???
> domain = this.domain.does.not.exist.com DNS lookup of
> this.domain.does.not.exist.com (MX) gave HOST_NOT_FOUND
> returning DNS_NOMATCH dnslookup router declined for
> test@???
> "more" is false: skipping remaining routers no more routers
> ----------- end verify ------------
> require: condition test failed
>
>
>
> --
> Thomas Baumann // tirili+list.exim@???
>
> --
>
> ## List details at
> http://www.exim.org/mailman/listinfo/exim-users Exim details
> at http://www.exim.org/ ##
>
>