On Tue, 2003-10-28 at 05:25, Paul L. Allen wrote:
> 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.

Ah yes, I had forgotten that qmail will dump email if it sees a # sign
in a dotqmail file.  I was never sure if this was a desired effect or
not, so I've never used it.  If this is the way it is supposed to work,
then yes, I should change the text string to just a single '#'
character, which would be all the easier to write and read back in to
check for.

Any other comments or ideas about these features?
-- 
Justin Hopper <[EMAIL PROTECTED]>


Reply via email to