Ray Marshall writes:
> Russ, I was just trying to find the information you gave us at the Linux
> Expo. I thought I remembered you showing us that we could add some lines
> to ~/.qmail, to get it to redirect selected messages (according to text in
> To:, CC:, or From: lines) into selected mailboxes in ~/mail ; and let all
> other messages go into ~/Mailbox. Can you post that information here,
> or point us to where it's documented with examples.
Oh, well, the "proper" way to do it is create a .qmail file which
mentions every Mailbox or Maildir you intend to deliver mail to. Then
*if possible* you give out a user-mailbox name to separate the mail
out. Typically that's not always possible, so you put things like the
following into your .qmail file:
|condredirect "$USER-qmail" grep '^Delivered-To: mailing list [EMAIL PROTECTED]$'
|condredirect "$USER-spam" grep "^Subject: ADV'
Email headers are best parsed with Dan's mess822, as Vince pointed out.
--
-russ nelson <[EMAIL PROTECTED]> http://crynwr.com/~nelson
Crynwr supports Open Source(tm) Software| PGPok | Government schools are so
521 Pleasant Valley Rd. | +1 315 268 1925 voice | bad that any rank amateur
Potsdam, NY 13676-3213 | +1 315 268 9201 FAX | can outdo them. Homeschool!