Zitat von Mike Brudenell via Exim-users <[email protected]>:

Hi Mike

Have you added a local_scan function to your configuration?

Yes! Kaspersky. And I must say, that I already had some suspect on that...

https://www.exim.org/exim-html-current/doc/html/spec_html/ch-adding_a_local_scan_function_to_exim.html

If so, then it sounds like it has decided to discard all the recipients for
that incoming message. If you read the *Specification* it says (emphasis
mine):

The list of accepted recipients, held in a vector of length
recipients_count. The recipient_item structure is discussed below. You can
add additional recipients by calling receive_add_recipient() (see below). *You
can delete recipients by removing them from the vector and adjusting the
value in recipients_count. In particular, by setting recipients_count to
zero you remove all recipients. If you then return the value
LOCAL_SCAN_ACCEPT, the message is accepted, but immediately blackholed.* To
replace the recipients, you can set recipients_count to zero and then call
receive_add_recipient() as often as needed.


If local_scan says to accept the message but it has no recipients left it
is blackholed.

OK, thanks.
But I really can't find any place in my configuration to delete the recipients...

  warn  set acl_m_klms_headers =
        set acl_m_klms_result =
set acl_m_klms_answer = ${dlfunc{/opt/kaspersky/klms/lib64/libklms-exim.so}{scan}{${spool_directory}/input}}
        condition       = ${if def:h_X-Ciphermail {false}{true}}

  defer condition       = ${if def:h_X-Ciphermail {false}{true}}
        condition       = ${if eq {$acl_m_klms_answer}{}{yes}{no}}
log_message = 451 PVC01 - LMS check failed (empty answer) $acl_m_klms_answer $acl_m_klms_result $acl_m_klms_tempfile message = 451 PVC01 - Temporary local problem - please try later. ASSISTENCE_MESSAGE (PVC01)

  defer condition       = ${if def:h_X-Ciphermail {false}{true}}
        condition       = ${if match {$acl_m_klms_answer}{\N^451\N}{yes}{no}}
log_message = 451 PVC02 - LMS check defer $acl_m_klms_answer $acl_m_klms_result $acl_m_klms_tempfile message = 451 PVC02 - Temporary local problem - please try later. ASSISTENCE_MESSAGE (PVC02)

  defer condition       = ${if def:h_X-Ciphermail {false}{true}}
        condition       = ${if match {$acl_m_klms_answer}{\N^452\N}{yes}{no}}
log_message = 451 PVC03 - LMS check defer $acl_m_klms_answer $acl_m_klms_result $acl_m_klms_tempfile message = 451 PVC03 - Temporary local problem - please try later. ASSISTENCE_MESSAGE (PVC03)

  deny  condition       = ${if def:h_X-Ciphermail {false}{true}}
        condition       = ${if match {$acl_m_klms_answer}{\N^550\N}{yes}{no}}
log_message = 552 PVC04 - LMS check reject $acl_m_klms_answer $acl_m_klms_result $acl_m_klms_tempfile message = 552 PVC04 - E-Mail contains Virus. ASSISTENCE_MESSAGE (PVC04)

  deny  condition       = ${if def:h_X-Ciphermail {false}{true}}
        condition       = ${if match {$acl_m_klms_answer}{\N^554\N}{yes}{no}}
log_message = 552 PDV01 - LMS check reject $acl_m_klms_answer $acl_m_klms_result $acl_m_klms_tempfile message = 552 PDV01 - E-Mail contains Virus. ASSISTENCE_MESSAGE (PDV01)

  warn  condition       = ${if def:h_X-Ciphermail {false}{true}}
        condition       = ${if match {$acl_m_klms_answer}{\N^250\N}{yes}{no}}
logwrite = LMS check accept: $acl_m_klms_answer $acl_m_klms_result $acl_m_klms_tempfile
        set acl_m_klms_answer =

Did I forgot something?

Thanks
Luca Bertoncello
([email protected])


--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to