Re: [exim] Using Exim ACL to blackhole bounce messages

Pàgina inicial
Delete this message
Reply to this message
Autor: Stanislaw Halik
Data:  
A: exim-users
Assumpte: Re: [exim] Using Exim ACL to blackhole bounce messages
On Thu, Dec 14, 2006, Sebastian Berm wrote:
> First of all, I'm sorry I want to abuse Exim and the RFC's in this way,
> but I'm kinda out of other ideas.
> At the moment a lot of domains which I use Exim for, receive bounce
> messages to their catchall's, which are bounces from spammers.


> So spammers abuse the domains of some of our clients as 'from' addresses...


> My idea is to try to find a way to have Exim's own ACL detect bounce
> messages and automatically blackhole them, without any further
> processing.


Sure thing.

In yer' RCPT ACL:

    discard        senders     = :
    # if you don't want to be rude, detect if the recipient is a catchall.
    # if catchall has a separate router, add sumthin' like:
    # "address_data = catchall" (and "address_data =" in other routers)
    # in yer' catchall router.
                        domains        = +local_domains
                        verify        = recipient
                        condition    = ${if eq{catchall}{$address_data}}
                        message        = Yummy!


Not tested, though.    


-- 
Unix stuff      :: http://tehran.lain.pl
Yet Another RBL :: http://rbl.lain.pl