Justin Hopper writes:

> FUNCTION: The ability to blackhole an email address, so that any email
> sent in to that address will be deleted.  Useful when you don't want to
> bounce the message, but just want it to disappear.
> 
> SOLUTION: First, changed the dropdown box of email users when adding a
> new alias to include a DELETE option.  Selecting this option would
> create a dotqmail file with the following:
> 
> | /usr/local/vpopmail/bin/vdelivermail '' delete
> 
> Not sure if this is the best way to blackhole email, or if routing it to
> /dev/null is.

I don't know what vdelivermail does, but the standard way of getting
qmail itself to delete mail is to create .qmail-whatever containing
just a # in it.  An empty file is ignored, but one containing only
a comment causes the mail to be discarded.

However, this is rather crude compared to the flexibility of sqwebmail's
filters which allow you to set conditions for when mail gets deleted.

-- 
Paul Allen
Softflare Support


Reply via email to