Hi Payal,

> Thanks for the reply. Yes, I know about .qmail files but the problem how
> to *drop* unwanted mails.

As I said: Read the man pages.

>From the qmail-command man page:

       command's exit codes are interpreted as follows:  0  means
       that the delivery was successful; 99 means that the deliv­
       ery was successful, but that qmail-local should ignore all
       further delivery instructions; [...]

Doesn't "ignore all further delivery instructions" sound like something
you need? :)

$ cat .qmail-yourfilter

> Also should i just check the From: field or is there anything else I
> should check for (against the database, maybe using egrep)

That entirely depends on what you want to do.


Reply via email to