[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how can i filter my mail



On Thu, May 01, 2008 at 11:06:41PM +0530, Anirban Mukherjee wrote:
> HI List,
> I M very much new to this list. can anyone guide me to in filtering mail
> using maildrop. on the based on subject line can i filter mail on the time
> of delivery to the user's mailbox?

In the user's .qmail:
|/usr/bin/maildrop
(or whatever path is needed)

In the user's homedirectory, a .mailfilter file, including
things like:

if (/^Subject:\ stuff-you-will-filter-on.*/:h)
  to /path/to/filtered/Maildir/

For more details, consult http://www.courier-mta.org/maildrop/

-dsr-


-- 
http://tao.merseine.nu/~dsr/eula.html is hereby incorporated by reference.

"Someone is wrong on the Internet." - Randall Munroe