Re: [exim] outbound discard all filter for cpanel twisted ex…

Góra strony
Delete this message
Reply to this message
Autor: Viktor Dukhovni
Data:  
Dla: exim users
Temat: Re: [exim] outbound discard all filter for cpanel twisted exim

> On Feb 9, 2017, at 10:04 PM, ping murder via Exim-users <exim-users@???> wrote:
>
> What I would like would be to create a discard filter that takes any
> outbound email that hits exim and sends it to the great circular file in
> the sky.
>
> I'm familiar with creating filters for inbound email in exim but can't
> really find much on doing the same for outbound. Do the inbound filters
> also apply vs outbound?


I know almost nothing of Exim, but what little I know, and by strong
analogy with many other MTAs, I would expect this to be handled by
defining a suitable "router" (sendmail "mailer", Postfix "transport")
rather than a filter. The router that handles non-local mail should
be able to discard mail (perhaps deliver to /dev/null or some similar
built-in).

So a closer look at router definitions is likely the place to start.

-- 
    Viktor.