At 01/04/04 22:43 (), Ron Guerin wrote:

On Tue, 2004-03-30 at 09:07, Devendra Singh wrote:
> I have a peculiar requirement of just trashing a particular "Mail From:" to
> any of the virtual domains hosted on a Server. In that case even I do not
> want to bounce the mail just trash (/dev/null) it.

Since you haven't gotten an answer yet that does what you want, I'll
throw this thought out.  It's probably more trouble to you than it's
worth just for this, but here goes...

My setup uses Maildrop.  Under this scenario, I got rid of most of my
.qmail files, and thus all mail is handled by .qmail-default, which
calls Maildrop.  In my Maildrop script, I can silently blackhole a
specific sender without any bounce whatsoever.  Given that I use one
master mailfilter for the entire server (with includes to customize it
per-domain and per-user), I can therefore blackhole any sender from the
entire server by doing so in the system-wide filter script.

- Ron

I had a doubt that someone would definitely suggest MailDrop Script.

Yes, I know that it can be achieved using maildrop. But, you know that maildrop mailfilter can be enabled / disabled for some users using qmailadmin interface. That means, for some pop accounts the maildrop mailfilter would not be used. Also, for pure forwards the mailfilter would not get executed.

That means, you have to achieve it doing the setting of maildrop into the .qmail files manually for each account. Tedious to maintain !!

Devendra Singh

Reply via email to