[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] RaQ4 How to redirect mail coming FROM a specific sender/domain



This is one of those "I'm sure it's in the archives but I can't think of any
unique words to find it" ones.

I'm getting viruses from a certain domain but I don't want to just block all
messages as some are genuine and needed. They are being sent to various
users on my RaQ as the infected organisation has them in various address
books (I'm trying to let them know they've got a problem but they've gone
home for the night). I'd like to redirect all messages from that domain (or
specific sender) to myself or to a "quarantine" account, rather than let
them go to the recipient.

So what I really need is a line in /etc/mail/access like:

dirtydomain.com[TAB]"send to (user)"

but you can't do that in access. Is there another way short of a procmail
recipe? If not, does anyone have that recipe to hand please?

--
Eddie