Re: conditional qconfirm-check based on "To" field?
Chris Wilkes <[email protected]>
| Newsgroups | gmane.comp.misc.pape.general |
|---|---|
| Message-ID | <[email protected]> |
On Tue, Jan 27, 2004 at 03:54:25PM -0500, Toby Betts wrote: > > If I use the iftocc program found in the mess822 package, the best I can > accomplish is a .qmail file like so: > > | qconfirm-check -d homedir/.qconfirm iftocc [email protected] > ./Maildir/ > > This functions rather well in the sense that qconfirm-check runs iftocc, > and if the OK address is in either the "To" or "Cc" field, > qconfirm-check will let the message through, which is very very close to > being what I want. Do you want the following to happen: 1. If you're in the To: or Cc: field then deliver normally 2. Otherwise process the email through qconfirm? You should be able to use the condtomaildir program from http://www.superscript.com/qtools/intro.html like so: | condtomaildir ./Maildir/ iftocc [email protected] | qconfirm-check -d homedir/.qconfirm ./Maildir/ Chris