[exim-conf] /var/spool/exim/scan

Victor Ustugov victor на corvax.kiev.ua
Вс Май 26 16:36:37 EEST 2013


Alexandr Usov wrote:
> По-моему предыдущий тест (до обновления) закончился тем же - что я
> принял за падение.
> А секции acl_check_mime в логе нет совсем.
> Все что там есть по mime:
> ogogo:/var/spool/exim # cat test.log | grep MIME
> 
> No Content-Type: header - presumably not a MIME message.

а вообще acl_check_mime описан в конфиге exim'а?

> 2013/5/26 Victor Ustugov <victor на corvax.kiev.ua
> <mailto:victor на corvax.kiev.ua>>
> 
>     Alexandr Usov wrote:
>     > Установил из rpm.
>     > Тест на том же eml:
> 
>     дебаговый вывод выглядит нормально
> 
>     но секция acl_check_data в данном случае менее ценная, чем секция
>     acl_check_mime
> 
>     хотя если дошло до acl_check_data, то значит exim не упал на
>     acl_check_mime
> 
>     > ...
>     >
>     > using ACL "acl_check_data"
>     > processing "warn"
>     > check condition = ${if eq{$acl_m_fakereject}{}{no}{yes}}
>     >                 = no
>     > warn: condition test failed in ACL "acl_check_data"
>     > processing "warn"
>     > check condition = ${if eq{$acl_m_add_x_orig_rcpt}{yes}{yes}{no}}
>     >                 = no
>     > warn: condition test failed in ACL "acl_check_data"
>     > processing "warn"
>     > check condition = ${if def:h_Message-ID:{no}{yes}}
>     >                 = yes
>     > check authenticated = *
>     > warn: condition test failed in ACL "acl_check_data"
>     > processing "warn"
>     > check condition = ${if def:h_Message-ID:{no}{yes}}
>     >                 = yes
>     > check hosts = +relay_from_hosts
>     > cached no match for +relay_from_hosts
>     > cached lookup data = NULL
>     > host in "+relay_from_hosts"? no (end of list)
>     > warn: condition test failed in ACL "acl_check_data"
>     > processing "warn"
>     > check condition = ${if def:h_Date:{no}{yes}}
>     >                 = yes
>     > check add_header = Date: $tod_full
>     >                  = Date: Sun, 26 May 2013 15:58:11 +0300
>     > warn: condition test succeeded in ACL "acl_check_data"
>     > processing "accept"
>     > check condition = ${if
>     >
>     or{{eq{${extract{submitted}{$acl_m_wl_flag_msg}}}{1}}{eq{${extract{relay_from_hosts}{$acl_m_wl_flag_msg}}}{1}}{eq{${extract{authenticated}{$acl_m_wl_flag_msg}}}{1}}{eq{${extract{abuse_or_postmaster}{$acl_m_wl_flag_msg}}}{1}}{eq{${extract{white_list_relays}{$acl_m_wl_flag_msg}}}{1}}{eq{${extract{white_list_senders}{$acl_m_wl_flag_msg}}}{1}}{eq{${extract{white_list_compat}{$acl_m_wl_flag_msg}}}{1}}}{yes}{no}}
>     >                 = no
>     > accept: condition test failed in ACL "acl_check_data"
>     > processing "warn"
>     > check acl = acl_smtp_data_before_accept
>     > using ACL "acl_smtp_data_before_accept"
>     > processing "warn"
>     > check set acl_c3 =
>     > search_open: lsearch "/etc/exim/users-maildirs"
>     > search_find: file="/etc/exim/users-maildirs"
>     >   key="ninelle22 на cytanet.com.cy <mailto:ninelle22 на cytanet.com.cy>
>     <mailto:ninelle22 на cytanet.com.cy <mailto:ninelle22 на cytanet.com.cy>>"
>     > partial=-1 affix=NULL starflags=0
>     > LRU list:
>     >   :/etc/exim/users-maildirs
>     >   End
>     > internal_search_find: file="/etc/exim/users-maildirs"
>     >   type=lsearch key="ninelle22 на cytanet.com.cy
>     <mailto:ninelle22 на cytanet.com.cy>
>     > <mailto:ninelle22 на cytanet.com.cy <mailto:ninelle22 на cytanet.com.cy>>"
>     > file lookup required for ninelle22 на cytanet.com.cy
>     <mailto:ninelle22 на cytanet.com.cy>
>     > <mailto:ninelle22 на cytanet.com.cy <mailto:ninelle22 на cytanet.com.cy>>
>     >   in /etc/exim/users-maildirs
>     > lookup failed
>     > check set acl_c4 =
>     > ${lookup{$sender_address}lsearch{/etc/exim/users-maildirs}}
>     >                  =
>     > check set acl_c5 =
>     > warn: condition test succeeded in ACL "acl_smtp_data_before_accept"
>     > processing "warn"
>     > check condition = ${if eq{$acl_c4}{}{yes}{no}}
>     >                 = yes
>     > search_open: lsearch "/etc/exim/domains-local"
>     > search_find: file="/etc/exim/domains-local"
>     >   key="cytanet.com.cy <http://cytanet.com.cy>
>     <http://cytanet.com.cy>" partial=-1 affix=NULL
>     > starflags=0
>     > LRU list:
>     >   :/etc/exim/domains-local
>     >   :/etc/exim/users-maildirs
>     >   End
>     > internal_search_find: file="/etc/exim/domains-local"
>     >   type=lsearch key="cytanet.com.cy <http://cytanet.com.cy>
>     <http://cytanet.com.cy>"
>     > file lookup required for cytanet.com.cy <http://cytanet.com.cy>
>     <http://cytanet.com.cy>
>     >   in /etc/exim/domains-local
>     > lookup failed
>     > cytanet.com.cy <http://cytanet.com.cy> <http://cytanet.com.cy> in
>     > "lsearch;/etc/exim/domains-local"? no (end of list)
>     > cytanet.com.cy <http://cytanet.com.cy> <http://cytanet.com.cy> in
>     "+local_domains"? no (end of list)
>     > check condition = ${if
>     > match_domain{$sender_address_domain}{+local_domains}{yes}{no}}
>     >                 = no
>     > warn: condition test failed in ACL "acl_smtp_data_before_accept"
>     > processing "warn"
>     > check condition = ${if eq{$acl_c4}{}{no}{yes}}
>     >                 = no
>     > warn: condition test failed in ACL "acl_smtp_data_before_accept"
>     > processing "accept"
>     > accept: condition test succeeded in ACL "acl_smtp_data_before_accept"
>     > warn: condition test succeeded in ACL "acl_check_data"
>     > processing "accept"
>     > accept: condition test succeeded in ACL "acl_check_data"
>     >>>Headers added by DATA ACL:
>     >   Date: Sun, 26 May 2013 15:58:11 +0300
>     >>>
>     > calling local_scan(); timeout=300
>     > local_scan() returned 0 NULL
>     > LOG: MAIN
>     >   <= ninelle22 на cytanet.com.cy <mailto:ninelle22 на cytanet.com.cy>
>     <mailto:ninelle22 на cytanet.com.cy <mailto:ninelle22 на cytanet.com.cy>>
>     > H=demokritos1.cytanet.com.cy <http://demokritos1.cytanet.com.cy>
>     <http://demokritos1.cytanet.com.cy>
>     > [195.14.130.215] P=smtp S=1942015
>     > SMTP>> 250 OK id=1UgaWZ-0003Mn-PE
>     > smtp_setup_msg entered
>     > SMTP<< QUIT
>     > SMTP>> 221 mx.admingroup.com.ua <http://mx.admingroup.com.ua>
>     <http://mx.admingroup.com.ua> closing
>     > connection
>     > LOG: smtp_connection MAIN
>     >   SMTP connection from demokritos1.cytanet.com.cy
>     <http://demokritos1.cytanet.com.cy>
>     > <http://demokritos1.cytanet.com.cy> [195.14.130.215] closed by QUIT
>     > search_tidyup called
>     >>>>>>>>>>>>>>>>> Exim pid=12945 terminating with rc=0 >>>>>>>>>>>>>>>>
>     > 250 OK id=1UgaWZ-0003Mn-PE
>     >
>     > **** SMTP testing: that is not a real message id!
>     >
>     > 221 mx.admingroup.com.ua <http://mx.admingroup.com.ua>
>     <http://mx.admingroup.com.ua> closing connection
>     >
>     >
>     >
>     > 2013/5/25 Victor Ustugov <victor на corvax.kiev.ua
>     <mailto:victor на corvax.kiev.ua>
>     > <mailto:victor на corvax.kiev.ua <mailto:victor на corvax.kiev.ua>>>
>     >
>     >     Alexandr Usov wrote:
>     >     > Нет, это результат копирования всего блока со скобками - без
>     echo
>     >     QUIT.
>     >
>     >     в письме есть точки, состоящие из одной строки или начинающиеся на
>     >     точку?
>     >
>     >     можно форварднуть мне на личный адрес это письмо?
>     >     в виде отдельного файла.
>     >
>     >     > 2013/5/25 Victor Ustugov <victor на corvax.kiev.ua
>     <mailto:victor на corvax.kiev.ua>
>     >     <mailto:victor на corvax.kiev.ua <mailto:victor на corvax.kiev.ua>>
>     >     > <mailto:victor на corvax.kiev.ua <mailto:victor на corvax.kiev.ua>
>     <mailto:victor на corvax.kiev.ua <mailto:victor на corvax.kiev.ua>>>>
>     >     >
>     >     >     а можно хоть чуть-чуть комментировать свои действия?
>     >     >
>     >     >     это результат работы exim -d -bhc при копипасте
>     содержимого письма
>     >     >     руками?
>     >     >
>     >     >     Alexandr Usov wrote:
>     >     >     > accept: condition test succeeded in ACL "acl_check_data"
>     >     >     >>>Headers added by DATA ACL:
>     >     >     >   Date: Sat, 25 May 2013 00:05:14 +0300
>     >     >     >>>
>     >     >     > calling local_scan(); timeout=300
>     >     >     > local_scan() returned 0 NULL
>     >     >     > LOG: MAIN
>     >     >     >   <= ninelle22 на cytanet.com.cy
>     <mailto:ninelle22 на cytanet.com.cy>
>     >     <mailto:ninelle22 на cytanet.com.cy
>     <mailto:ninelle22 на cytanet.com.cy>> <mailto:ninelle22 на cytanet.com.cy
>     <mailto:ninelle22 на cytanet.com.cy>
>     >     <mailto:ninelle22 на cytanet.com.cy
>     <mailto:ninelle22 на cytanet.com.cy>>>
>     >     >     <mailto:ninelle22 на cytanet.com.cy
>     <mailto:ninelle22 на cytanet.com.cy>
>     >     <mailto:ninelle22 на cytanet.com.cy
>     <mailto:ninelle22 на cytanet.com.cy>> <mailto:ninelle22 на cytanet.com.cy
>     <mailto:ninelle22 на cytanet.com.cy>
>     >     <mailto:ninelle22 на cytanet.com.cy
>     <mailto:ninelle22 на cytanet.com.cy>>>>
>     >     >     > H=demokritos1.cytanet.com.cy
>     <http://demokritos1.cytanet.com.cy>
>     >     <http://demokritos1.cytanet.com.cy>
>     <http://demokritos1.cytanet.com.cy>
>     >     >     <http://demokritos1.cytanet.com.cy>
>     >     >     > [195.14.130.215] P=smtp S=11642
>     >     >     > SMTP>> 250 OK id=1UfzAo-0003k2-3z
>     >     >     > smtp_setup_msg entered
>     >     >     > SMTP<< >>>=20
>     >     >     > LOG: smtp_syntax_error MAIN
>     >     >     >   SMTP syntax error in ">>>=20"
>     H=demokritos1.cytanet.com.cy <http://demokritos1.cytanet.com.cy>
>     >     <http://demokritos1.cytanet.com.cy>
>     >     >     <http://demokritos1.cytanet.com.cy>
>     >     >     > <http://demokritos1.cytanet.com.cy> [195.14.130.215]
>     >     unrecognized
>     >     >     command
>     >     >     > SMTP>> 500 unrecognized command
>     >     >     > SMTP<< >>> =F3 =CE=C1=C9=CC=D5=DE=DB=C9=CD=C9
>     >     >     > =D0=CF=D6=C5=CC=C1=CE=C9=D1=CD=C9,
>     >     >     > LOG: smtp_syntax_error MAIN
>     >     >     >   SMTP syntax error in ">>> =F3
>     =CE=C1=C9=CC=D5=DE=DB=C9=CD=C9
>     >     >     > =D0=CF=D6=C5=CC=C1=CE=C9=D1=CD=C9,"
>     >     H=demokritos1.cytanet.com.cy
>     <http://demokritos1.cytanet.com.cy> <http://demokritos1.cytanet.com.cy>
>     >     >     <http://demokritos1.cytanet.com.cy>
>     >     >     > <http://demokritos1.cytanet.com.cy> [195.14.130.215]
>     >     unrecognized
>     >     >     command
>     >     >     > SMTP>> 500 unrecognized command
>     >     >     > SMTP<< >>>=20
>     >     >     > LOG: smtp_syntax_error MAIN
>     >     >     >   SMTP syntax error in ">>>=20"
>     H=demokritos1.cytanet.com.cy <http://demokritos1.cytanet.com.cy>
>     >     <http://demokritos1.cytanet.com.cy>
>     >     >     <http://demokritos1.cytanet.com.cy>
>     >     >     > <http://demokritos1.cytanet.com.cy> [195.14.130.215]
>     >     unrecognized
>     >     >     command
>     >     >     > SMTP>> 500 unrecognized command
>     >     >     > SMTP<< >>> =EC=C1=D2=C9=D3=C1
>     >     >     > LOG: smtp_syntax_error MAIN
>     >     >     >   SMTP syntax error in ">>> =EC=C1=D2=C9=D3=C1"
>     >     >     > H=demokritos1.cytanet.com.cy
>     <http://demokritos1.cytanet.com.cy>
>     >     <http://demokritos1.cytanet.com.cy>
>     <http://demokritos1.cytanet.com.cy>
>     >     >     <http://demokritos1.cytanet.com.cy>
>     >     >     > [195.14.130.215] unrecognized command
>     >     >     > SMTP>> 500 Too many unrecognized commands
>     >     >     > 250 OK id=1UfzAo-0003k2-3z
>     >     >     >
>     >     >     > **** SMTP testing: that is not a real message id!
>     >     >     >
>     >     >     > 500 unrecognized command
>     >     >     > 500 unrecognized command
>     >     >     > 500 unrecognized command
>     >     >     > 500 Too many unrecognized commands
>     >     >     > LOG: MAIN REJECT
>     >     >     >   SMTP call from demokritos1.cytanet.com.cy
>     <http://demokritos1.cytanet.com.cy>
>     >     <http://demokritos1.cytanet.com.cy>
>     >     >     <http://demokritos1.cytanet.com.cy>
>     >     >     > <http://demokritos1.cytanet.com.cy> [195.14.130.215]
>     >     dropped: too many
>     >     >     > unrecognized commands (last was ">>> =EC=C1=D2=C9=D3=C1")
>     >     >     > search_tidyup called
>     >     >     >>>>>>>>>>>>>>>>> Exim pid=14386 terminating with rc=0
>     >     >>>>>>>>>>>>>>>>



-- 
Best wishes Victor Ustugov   mailto:victor на corvax.kiev.ua
public GnuPG/PGP key:        http://victor.corvax.kiev.ua/corvax.asc
ICQ UIN: 77186900, 371808614 nic-handle: CRV-UANIC




Подробная информация о списке рассылки exim-conf