Re: [exim] Why "blackhole"?

Top Page
Delete this message
Reply to this message
Author: Mike Brudenell
Date:  
To: Users, Exim
Subject: Re: [exim] Why "blackhole"?
Have you added a local_scan function to your configuration?

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.

Cheers,
Mike B-)

On 12 March 2018 at 15:30, Luca Bertoncello via Exim-users <
exim-users@???> wrote:

> Hi list,
>
> I recently discovered this very curiously message in the mainlog:
>
> 2018-02-28 00:56:11 1eqp6G-0004wp-IR DKIM: d=email.microsoftemail.com
> s=102420140131 c=relaxed/relaxed a=rsa-sha1 b=1024 [verification succeeded]
> 2018-02-28 00:56:12 1eqp6G-0004wp-IR LMS check accept: 250 OK
> 2018-02-28 00:56:12 1eqp6G-0004wp-IR <= bounce-866153_HTML-528534629-5
> 439879-228974-247@??? H=(
> mta28.email.microsoftemail.com) [66.231.92.214] P=esmtps
> X=TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256 S=69286
> id=df627243-be0d-4776-9939-7408baf52a86@???
> 2018-02-28 00:56:12 1eqp6G-0004wp-IR => blackhole (local_scan discarded
> recipients)
> 2018-02-28 00:56:12 1eqp6G-0004wp-IR Completed
>
> I really can't understand why the E-Mail will be discarded.
> Can someone help me?
>
> Thanks
> Luca Bertoncello
> (lucabert@???)
>
>
> --
> ## 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/
>




--
Systems Administrator & Change Manager
IT Services, University of York, Heslington, York YO10 5DD, UK
Tel: +44-(0)1904-323811

Web: www.york.ac.uk/it-services
Disclaimer: www.york.ac.uk/docs/disclaimer/email.htm