[root@misterx /usr/local/etc/exim]# exim -bh 80.12.242.95 **** SMTP testing session as if from host 80.12.242.95 **** but without any ident (RFC 1413) callback. **** This is not for real! >>> host in hosts_connection_nolog? no (option unset) LOG: SMTP connection from [80.12.242.95] >>> host in host_lookup? yes (matched "*") >>> looking up host name for 80.12.242.95 >>> IP address lookup yielded smtp27.orange.fr >>> gethostbyname looked up these IP addresses: >>> name=smtp27.orange.fr address=80.12.242.95 >>> name=smtp27.orange.fr address=80.12.242.96 >>> name=smtp27.orange.fr address=80.12.242.94 >>> checking addresses for smtp27.orange.fr >>> 80.12.242.95 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) >>> gethostbyname looked up these IP addresses: >>> name=localhost.deltamedical.com.ua address=127.0.0.1 >>> host in "localhost : /usr/local/etc/exim/hosts-relayfrom"? no (end of list) >>> host in helo_try_verify_hosts? yes (end of list) >>> host in helo_accept_junk_hosts? no (end of list) >>> using ACL "acl_check_connect" >>> processing "drop" >>> check hosts = +host_drop_connection >>> host in "/usr/local/etc/exim/hosts-dropfrom"? no (end of list) >>> host in "+host_drop_connection"? no (end of list) >>> drop: condition test failed >>> processing "warn" >>> check set acl_c7 = >>> check condition = ${if eq{$sender_host_name}{}{yes}{no}} >>> = no >>> warn: condition test failed >>> processing "accept" >>> accept: condition test succeeded 220 relay.deltamedical.com.ua ESMTP Exim 4.67 Tue, 27 Nov 2007 13:25:10 +0200 helo 80.12.242.95 >>> verifying EHLO/HELO argument "80.12.242.95" >>> getting IP address for 80.12.242.95 >>> gethostbyname looked up these IP addresses: >>> name=80.12.242.95 address=80.12.242.95 >>> IP address for 80.12.242.95 matches calling address >>> using ACL "acl_check_helo" >>> processing "warn" >>> check set acl_m_smtp_command_helo = $smtp_command >>> = helo 80.12.242.95 >>> warn: condition test succeeded >>> processing "accept" >>> accept: condition test succeeded 250 relay.deltamedical.com.ua Hello smtp27.orange.fr [80.12.242.95] mail from: >>> using ACL "acl_check_mail" >>> processing "warn" >>> check set acl_m_smtp_command_mail_from = ${smtp_command}${if eq{$message_size}{-1}{}{ SIZE=$message_size}} >>> = mail from: >>> warn: condition test succeeded >>> processing "warn" >>> check hosts = : >>> host in ":"? no (end of list) >>> warn: condition test failed >>> processing "warn" >>> check hosts = +relay_from_hosts >>> host in "+relay_from_hosts"? no (end of list) >>> warn: condition test failed >>> processing "warn" >>> check authenticated = * >>> warn: condition test failed >>> processing "warn" >>> check hosts = +relay_white_list >>> host in "/usr/local/etc/exim/hosts-whitelist"? no (end of list) >>> host in "+relay_white_list"? no (end of list) >>> warn: condition test failed >>> processing "warn" >>> check set acl_m1 = no >>> check senders = @@wildlsearch;/usr/local/etc/exim/senders-whitelist >>> wanadoo.fr in "wanadoo.fr"? yes (matched "wanadoo.fr") >>> gilles.mulin@wanadoo.fr in "@@wildlsearch;/usr/local/etc/exim/senders-whitelist"? yes (matched "@@wildlsearch;/usr/local/etc/exim/senders-whitelist") >>> check set acl_m1 = yes >>> warn: condition test succeeded >>> processing "warn" >>> gilles.mulin@wanadoo.fr in "wanadoo.fr"? no (end of list) >>> check condition = ${lookup{$sender_address}wildlsearch{/usr/local/etc/exim/senders-whitelist}{yes}{no}} >>> = no >>> warn: condition test failed >>> processing "warn" >>> check condition = $acl_m1 >>> = yes >>> check set acl_m13 = white_list_senders=1 $acl_m13 >>> = white_list_senders=1 >>> warn: condition test succeeded >>> processing "accept" >>> check condition = ${if or{{eq{${extract{submitted}{$acl_m13}}}{1}}{eq{${extract{relay_from_hosts}{$acl_m13}}}{1}}{eq{${extract{authenticated}{$acl_m13}}}{1}}{eq{${extract{white_list_relays}{$acl_m13}}}{1}}{eq{${extract{white_list_senders}{$acl_m13}}}{1}}}{yes}{no}} >>> = yes >>> accept: condition test succeeded 250 OK rcpt to: >>> using ACL "acl_check_rcpt" >>> processing "warn" >>> check set acl_m_smtp_command_rcpt_to = $smtp_command >>> = rcpt to: >>> warn: condition test succeeded >>> processing "warn" >>> check set acl_m_smtp_command_rcpt_tos = ${acl_m_smtp_command_rcpt_tos}${smtp_command}\n >>> = rcpt to: >>> >>> warn: condition test succeeded >>> processing "warn" >>> check set acl_m9 = ${sg{${sg{$acl_m13}{\Nabuse_or_postmaster=\d*\N}{}}}{\Nwhite_list_compat=\d*\N}{}} >>> = white_list_senders=1 >>> warn: condition test succeeded >>> processing "warn" >>> check set acl_c8 = scores=0 log_message= >>> warn: condition test succeeded >>> processing "warn" >>> check set acl_m0 = >>> warn: condition test succeeded >>> processing "warn" >>> check domains = +local_domains >>> delta-medical.ru in "lsearch;/usr/local/etc/exim/domains-local"? no (end of list) >>> delta-medical.ru in "+local_domains"? no (end of list) >>> warn: condition test failed >>> processing "warn" >>> check set acl_m1 = >>> check condition = ${if eq{$acl_m0}{}{yes}{no}} >>> = yes >>> gilles.mulin@wanadoo.fr in "info@sputniktv.com.ua"? no (end of list) >>> gilles.mulin@wanadoo.fr in "*@yahoo.com.tw"? no (end of list) >>> gilles.mulin@wanadoo.fr in "*@b.lt05.net"? no (end of list) >>> gilles.mulin@wanadoo.fr in "jamir@uf.com.ua"? no (end of list) >>> gilles.mulin@wanadoo.fr in "gilles.mulin@wanadoo.fr"? yes (matched "gilles.mulin@wanadoo.fr") >>> check set acl_m0 = ${lookup{$sender_address}wildlsearch{/usr/local/etc/exim/access-mail}{${if eq{$value}{}{REJECT}{$value}}}{}} >>> = ok >>> check condition = ${if eq{$acl_m0}{}{no}{yes}} >>> = yes >>> check set acl_m1 = ${extract{1}{:}{$acl_m0}} >>> = ok >>> check acl = normalize_action >>> using ACL "normalize_action" >>> processing "accept" >>> check set acl_m1 = ${sg{${sg{${sg{${sg{${sg{${sg{${sg{${lc:$acl_m1}}{\N^\s+\N}{}}}{\N\s+$\N}{}}}{:}{=}}}{warn}{warn=yes}}}{deny}{reject}}}{delay}{pause}}}{greylisting}{greylist}} >>> = ok >>> accept: condition test succeeded >>> check set acl_m1 = ${sg{$acl_m1 }{\N\b([^=\s\d]+)(\s)\N}{\$1=00\$2}} >>> = ok=00 >>> check set acl_m2 = ${sg{${extract{2}{:}{$acl_m0}}}{\N^\s+\N}{}} >>> = >>> check set acl_m2 = ${if eq{$acl_m2}{}{Access denied}{$acl_m2}} >>> = Access denied >>> check set acl_m0 = ${sg{${extract{3}{:}{$acl_m0}}}{\N^\s+\N}{}} >>> = >>> check set acl_m0 = ${if eq{$acl_m0}{}{sender address blacklisted${if eq{$acl_m2}{}{}{: $acl_m2}}}{$acl_m0}} >>> = sender address blacklisted: Access denied >>> warn: condition test succeeded >>> processing "warn" >>> check condition = ${if match{$acl_m1}{warn}{yes}{no}} >>> = no >>> warn: condition test failed >>> processing "warn" >>> check condition = ${if eq{${extract{pause}{$acl_m1}}}{}{no}{yes}} >>> = no >>> warn: condition test failed >>> processing "deny" >>> check condition = ${if eq{${extract{reject}{$acl_m1}}}{00}{yes}{no}} >>> = no >>> deny: condition test failed >>> processing "defer" >>> check condition = ${if match{$acl_m1}{defer}{yes}{no}} >>> = no >>> defer: condition test failed >>> processing "drop" >>> check condition = ${if match{$acl_m1}{drop}{yes}{no}} >>> = no >>> drop: condition test failed >>> processing "drop" >>> check condition = ${if >{$rcpt_fail_count}{${eval:5-2}} {1}{0}} >>> = 0 >>> drop: condition test failed >>> processing "warn" >>> check set acl_m0 = >>> warn: condition test succeeded >>> processing "warn" >>> check condition = ${if eq{$acl_m0}{}{yes}{no}} >>> = yes >>> check domains = +virtuser_domains : +local_domains >>> delta-medical.ru in "lsearch;/usr/local/etc/exim/domains-virtuser"? no (end of list) >>> delta-medical.ru in "+virtuser_domains : +local_domains"? no (end of list) >>> warn: condition test failed >>> processing "deny" >>> check condition = ${if match{$acl_m0}{\N(?i)^\s*(deny|reject)\s*:(.+)$\N}{yes}{no}} >>> = no >>> deny: condition test failed >>> processing "defer" >>> check condition = ${if match{$acl_m0}{\N(?i)^\s*defer\s*:(.+)$\N}{yes}{no}} >>> = no >>> defer: condition test failed >>> processing "deny" >>> check condition = ${if eq{$acl_m_skip_verify_recipient}{yes}{no}{yes}} >>> = yes >>> check domains = +local_domains >>> delta-medical.ru in "+local_domains"? no (end of list) >>> deny: condition test failed >>> processing "deny" >>> check domains = +exchange_domains >>> delta-medical.ru in "lsearch;/usr/local/etc/exim/domains-exchange"? yes (matched "lsearch;/usr/local/etc/exim/domains-exchange") >>> delta-medical.ru in "+exchange_domains"? yes (matched "+exchange_domains") >>> check !recipients = @@wildlsearch;/usr/local/etc/exim/skip_exch_check >>> lespinasse@delta-medical.ru in "@@wildlsearch;/usr/local/etc/exim/skip_exch_check"? no (end of list) >>> check !verify = recipient/callout >>> delta-medical.ru in "*"? yes (matched "*") >>> lespinasse@delta-medical.ru in "*@*"? yes (matched "*@*") >>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> >>> routing lespinasse@delta-medical.ru >>> delta-medical.ru in "lsearch;/usr/local/etc/exim/domains-virtuser"? no (end of list) >>> delta-medical.ru in "lsearch;/usr/local/etc/exim/domains-local"? no (end of list) >>> delta-medical.ru in "+virtuser_domains : +local_domains"? no (end of list) >>> delta-medical.ru in "lsearch;/usr/local/etc/exim/domains-exchange"? yes (matched "lsearch;/usr/local/etc/exim/domains-exchange") >>> delta-medical.ru in "+exchange_domains"? yes (matched "+exchange_domains") >>> calling exchange_router router >>> fully qualified name = 192.168.100.6 >>> gethostbyname looked up these IP addresses: >>> name=192.168.100.6 address=192.168.100.6 >>> routed by exchange_router router >>> Attempting full verification using callout >>> ... callout omitted by default when host testing >>> (Use -bhc if you want the callouts to happen.) >>> ----------- end verify ------------ >>> deny: condition test failed >>> processing "deny" >>> check hosts = +relay_from_hosts >>> host in "+relay_from_hosts"? no (end of list) >>> deny: condition test failed >>> processing "deny" >>> check authenticated = * >>> deny: condition test failed >>> processing "warn" >>> check set acl_m0 = >>> check domains = +local_domains >>> delta-medical.ru in "+local_domains"? no (end of list) >>> warn: condition test failed >>> processing "warn" >>> check set acl_m1 = no >>> check hosts = +relay_from_hosts >>> host in "+relay_from_hosts"? no (end of list) >>> warn: condition test failed >>> processing "warn" >>> check authenticated = * >>> warn: condition test failed >>> processing "warn" >>> check condition = $acl_m1 >>> = no >>> warn: condition test failed >>> processing "accept" >>> check condition = ${if or{{eq{${extract{submitted}{$acl_m9}}}{1}}{eq{${extract{relay_from_hosts}{$acl_m9}}}{1}}{eq{${extract{authenticated}{$acl_m9}}}{1}}}{yes}{no}} >>> = no >>> accept: condition test failed >>> processing "accept" >>> check domains = +local_domains >>> delta-medical.ru in "+local_domains"? no (end of list) >>> accept: condition test failed >>> processing "deny" >>> check domains = +local_domains >>> delta-medical.ru in "+local_domains"? no (end of list) >>> deny: condition test failed >>> processing "deny" >>> check condition = ${if eq{$interface_address}{}{no}{yes}} >>> = no >>> deny: condition test failed >>> processing "deny" >>> check condition = ${if eq{$sender_helo_name}{$primary_hostname}{yes}{no}} >>> = no >>> deny: condition test failed >>> processing "deny" >>> 80.12.242.95 in "lsearch;/usr/local/etc/exim/domains-local"? no (end of list) >>> 80.12.242.95 in "+local_domains"? no (end of list) >>> check condition = ${if match_domain{$sender_helo_name}{+local_domains}{yes}{no}} >>> = no >>> deny: condition test failed >>> processing "deny" >>> check condition = ${if match{$sender_helo_name}{\N\|\N}{no}{yes}} >>> = yes >>> check condition = ${if match{$sender_helo_name}{\N^<.*>$\N}{no}{yes}} >>> = yes >>> check condition = ${if or{{!match{$sender_helo_name}{\N\.\N}} {match{$sender_helo_name}{\N^\.$\N}} {match{$sender_helo_name}{\N\.\.\N}} {match{$sender_helo_name}{\N^\.\N}} {match{$sender_helo_name}{\N^[^\.]+\.$\N}} {match{$sender_helo_name}{\N@\N}} }{yes}{no}} >>> = no >>> deny: condition test failed >>> processing "deny" >>> check condition = ${if isip{$sender_helo_name}{yes}{no}} >>> = yes >>> deny: condition test succeeded 550 Invalid greeting used LOG: H=smtp27.orange.fr (80.12.242.95) [80.12.242.95] F= rejected RCPT : HELO used IP address