Re: [Exim] Redirecting mail from certain users/domains to a …

Top Page
Delete this message
Reply to this message
Author: A. Wik
Date:  
To: Lists
CC: exim-users
Subject: Re: [Exim] Redirecting mail from certain users/domains to a certain account.
On Sat, 10 Apr 2004, Lists wrote:

> Hi all,
>
> First, I know the answer has been posted before, but I'm not having any
> luck finding it in the archives, and unfortunately time is critical for
> me right now. Our mail servers are being mail bombed right now, and
> right now I'm blocking the addresses using SpamAssassin preferences. I
> would prefer to instead redirect all messages from those addresses to a
> specially created abuse account. How can I do this?


There are probably several ways. The fastest might be to
copy the default "system_aliases" to a suitable position in
the routers section the config file, rename it, and modify
the options... something like this:

redir_from:
driver = redirect
verify = false
domains = ! +local_domains
data = ${lookup{$sender_address}lsearch{/etc/exim/redir}}
file_transport = address_file
pipe_transport = address_pipe

And add lines for the sender addresses in /etc/exim/redir:
spammer1@???: abuse
apammer2@???: abuse

-aw