On Sat, Dec 18, 1999 at 11:26:59AM -0600, Martin A. Brown wrote:
> Dax,
> 
> You really are looking for condredirect.  For example, I have a setup
> similar to this:
> 
> ~martin/.qmail
> ---------------
> | condredirect [EMAIL PROTECTED] [ "$SENDER" = "[EMAIL PROTECTED]" ]
> ./Maildir/
> 
> and then in
> 
> ~alias/.qmail-devnull
> ----------------------
> # <--as long as there's a hash mark here, nothing will get delivered.
> 
> But take a look at condredirect.


And you don't need to take it that far:

~martin/.qmail
--------------
| if (SENDER="[EMAIL PROTECTED]") then exit 99; fi
./Maildir/


Or even this:

~martin/.qmail
| if (`grep "^$SENDER" ~martin/.trashmailfrom`) then exit 99; fi
./Maildir


and then put all the mailaddresses in ~martin/.trashmailfrom

No need for an extra forward, and extensible as well.

/magnus

-- 
http://x42.com/

Reply via email to