Thanks for the help folks. Tim's solution was perfect for what I needed.
Thanks again!
Tim Wilde wrote:
> W B Hacker wrote:
>> IF the $local_part is not used in any of your other domains, how about adding it
>> to the system aliases file and pointing it to bit-bucket (/dev/null)?
>>
>> Cheap and cheerful, though it leaves senders in the dark.
>
> Or better yet, alias it to :fail: if you have allow_fail set for that
> redirect router, then the senders aren't in the dark. But I got the
> impression from the OP that the $local_part in question is still
> receiving valid mail to other domains. In that case, you could set up a
> virtusertable-equivalent, as described for example at:
>
> http://www.exim.org/pipermail/exim-users/Week-of-Mon-20030127/049071.html
>
> virtual_user:
> driver = redirect
> allow_fail
> data = ${lookup{$local_part\@$domain}lsearch{/etc/exim/virtusertable}}
> file_transport = address_file
> pipe_transport = address_pipe
>
> Then in your /etc/exim/virtusertable (or whatever file you choose to
> use), make an entry like:
>
> him@???: :fail:
>
> And viola, you should be all set. This would need to go before your
> local delivery router, and possibly before your system aliases router if
> there are aliases for "him" in there. You also don't need the file and
> pipe transports defined if you don't plan to use files or pipes in your
> virtusertable.
>
> Regards,
> Tim Wilde
>
--
Kevin Colagio: Systems Analyst, Reef Geek, and Perpetual Student
Computing and Information Technology, SUNY at Geneseo, South 124
colagio@??? (585) 245-5577 http://www.geneseo.edu
Experience is a harsh teacher, the tests are first, the lessons follow.