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

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



On Thu, Nov 28, 2002 at 08:06:33PM -0000, Eddie Bishop wrote:
> >> 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.

[snip]

> >This is untested, but try this in /etc/procmailrc :
> 
> >:0h:
> >* ^From.*dirtydomain.com
> >/var/spool/mail/quarantine

[snip]

> Very kind of you Parker, many thanks. This is a partial solution, and
> useful, but what I was really hoping to do was have the messages sent to a
> user rather than dumped into a folder.

Just change te last line of the script to read:
! forwarding_address@xxxxxxxxxx
-- 
Maurice de Laat