Re: [exim] Redirect a message with specific subjects and rec…

Top Page
Delete this message
Reply to this message
Author: Henry Pootel
Date:  
To: Brent Clark, exim-users
Subject: Re: [exim] Redirect a message with specific subjects and recipients to black hole.
Hello.

I've got a decision. Please check following subject

[exim] How to check the lookup as many times as possible?

of exim-users list.

Thanks!!!
Good luck.
Henry.


13.02.2020 12:09, Henry Pootel пишет:
> Hello.
>
> But I know what I do. Exactly I need to redirect some messages to
> blackhole, not to reject.
>
> Henry.
>
>
> 13.02.2020 11:43, Brent Clark via Exim-users пишет:
>> Hi Henry
>>
>> There is no nice way of saying this, but I think you making a mistake
>> on doing this.
>>
>> If you get it all wrong, you run the risk of blackholing, you and / or
>> your clients legitimate mail.
>>
>> Rather parse / send it to a spam mechanism like spamassassin or rspam
>> for spam / junk filtering. And you can write and score based the subject.
>>
>> HTH
>> Regards
>> Brent
>>
>>
>> On 2020/02/11 14:21, Henry Pootel via Exim-users wrote:
>>> Hello dear List.
>>>
>>> I have a file 'to_blackhole'.
>>>
>>> ---- cut here -----
>>> bob@???:    '*hi, Bob*'
>>> samuel@???: '*hi, Bob*'
>>> ---- cut here -----
>>>
>>> I would like to redirect messages to bob@??? and samuel@???
>>> with subject 'bla bla bla hi, Bob bla bla bla' to :blackhole:. Not drop!
>>>
>>> I've wrote a router:
>>>
>>> henry_router:
>>>    allow_fail
>>>    allow_defer
>>>    driver    = redirect
>>>    data      = :blackhole:
>>>    condition = ${
>>>
>>> and stoped...
>>> Please help, if it possible.
>>> How I can compare $h_to and $h_subject with two fields from the file?
>>>
>>> Thanks.
>>
>


--

=== Henry Pootel ===