Установил вот такую связку. КУ эксима конфигурация по-умолчанию. Прописано только для какого домена принимать письма.
В касперском создал новую группу и поместил туда всех своих юзеров (их емэйлы)
По идее касперский должен проверять наличие емэйла в этой группе и отбрасывать письма, если этого емэйла нету. Однако, касперский вообще не желает обрабатывать почту.
У меня идеи кончаются, а суппорт касперского тупит и не отвечает ничего внятного
В идеале хотелось бы сделать так - почта проверяется касперским и пересылается на другой внешний айпи.
Вот проверка exim -bh
Код: Выделить всё
[root@rmail /usr/home/consaltex]# exim -bh 111.111.111.111
**** SMTP testing session as if from host 111.111.111.111
**** 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 111.111.111.111
>>> IP address lookup yielded mail.blabla.ru
>>> gethostbyname2 looked up these IP addresses:
>>> name=mail.blabla.ru address=111.111.111.111
>>> checking addresses for mail.blabla.ru
>>> 111.111.111.111 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 rmail.kasper.ru ESMTP Exim 4.76 Wed, 28 Sep 2011 10:28:35 +0400
helo mail.blabla.ru
250 rmail.kasper.ru Hello mail.consaltex.ru [111.111.111.111]
mail from: dfsfg@fgdfdfd.ru
250 OK
rcpt to: dfgkdfjghkdfjh@ext_domain.ru
>>> 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
>>> ext_domain.ru in "@"? no (end of list)
>>> ext_domain.ru in "+local_domains"? no (end of list)
>>> deny: condition test failed
>>> processing "deny"
>>> check domains = !+local_domains
>>> ext_domain.ru in "!+local_domains"? yes (end of list)
>>> check local_parts = ^[./|] : ^.*[@%!] : ^.*/\\.\\./
>>> dfgkdfjghkdfjh in "^[./|] : ^.*[@%!] : ^.*/\.\./"? no (end of list)
>>> deny: condition test failed
>>> processing "accept"
>>> check local_parts = postmaster
>>> dfgkdfjghkdfjh in "postmaster"? no (end of list)
>>> accept: condition test failed
>>> processing "accept"
>>> check hosts = +relay_from_hosts
>>> gethostbyname2 looked up these IP addresses:
>>> name=localhost address=::1
>>> name=localhost address=127.0.0.1
>>> host in "localhost"? no (end of list)
>>> host in "+relay_from_hosts"? no (end of list)
>>> accept: condition test failed
>>> processing "accept"
>>> check authenticated = *
>>> accept: condition test failed
>>> processing "require"
>>> check domains = +local_domains : +relay_to_domains
>>> ext_domain.ru in "ext_domain.ru"? yes (matched "ext_domain.ru")
>>> ext_domain.ru in "+local_domains : +relay_to_domains"? yes (matched "+relay_to_domains")
>>> require: condition test succeeded
>>> processing "require"
>>> check verify = recipient
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>> routing dfgkdfjghkdfjh@ext_domain.ru
>>> dfgkdfjghkdfjh in "passwd;dfgkdfjghkdfjh : lsearch"? no (end of list)
>>> ext_domain.ru in "! +local_domains"? yes (end of list)
>>> calling dnslookup router
>>> 217.12.245.22 in "0.0.0.0 : 127.0.0.0/8"? no (end of list)
>>> 217.12.245.20 in "0.0.0.0 : 127.0.0.0/8"? no (end of list)
>>> routed by dnslookup router
>>> ----------- end verify ------------
>>> require: condition test succeeded
>>> processing "accept"
>>> accept: condition test succeeded
250 Accepted
500 unrecognized command
500 unrecognized command
data
354 Enter message, ending with "." on a line by itself
dfgs
PDKIM >> Hashed body data, canonicalized >>>>>>>>>>>>>>>>>>>>>>>>>>>>>
.
PDKIM <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
>>> using ACL "acl_check_data"
>>> processing "accept"
>>> accept: condition test succeeded
>>> -ls- Spamtest access address not defined, cannot process mail by spam filtering
LOG: 1R8nei-000CNJ-4o spamtest: Spamtest access address not defined, cannot process mail by spam filtering
LOG: 1R8nei-000CNJ-4o <= dfsfg@fgdfdfd.ru H=mail.blabla.ru [111.111.111.111] P=smtp S=226
250 OK id=1R8nei-000CNJ-4o
**** SMTP testing: that is not a real message id!
quit