8 messages in net.sourceforge.lists.courier-users[courier-users] Re: Are these two opt...
FromSent OnAttachments
Courier UserMay 26, 2003 4:04 pm 
Greg JohnstoneMay 26, 2003 4:51 pm 
Sam VarshavchikMay 26, 2003 5:08 pm 
Sam VarshavchikMay 26, 2003 5:41 pm 
Courier UserMay 26, 2003 5:52 pm 
Sam VarshavchikMay 26, 2003 7:09 pm 
Greg JohnstoneMay 26, 2003 8:59 pm 
Courier UserMay 26, 2003 9:47 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[courier-users] Re: Are these two options 100% interchangeable in maildroprc?Actions...
From:Sam Varshavchik (mrs@courier-mta.com)
Date:May 26, 2003 7:09:43 pm
List:net.sourceforge.lists.courier-users

Courier User writes:

On Mon, May 26, 2003 at 08:07:41PM -0400, Sam Varshavchik wrote:

Courier User writes:

[ ... ]

Option 1:

if ( condition ) { to "/path/to/file" }

Option 2:

if ( condition ) { DEFAULT="/path/to/file" EXITCODE=99 }

No. In option #2, $HOME/.mailfilter will still be read.

Ah yes ... so the following would be equivalent to Option 1, correct?

Option 2A:

if ( condition ) { DEFAULT="/path/to/file" EXITCODE=99 exit }

Not exactly. Delivery to DEFAULT occurs only if ~/.mailfilter was completely executed to the end, without stopping as a result of executing the "to", or the "exit" command.

And in both cases (1 and 2A), ~/.mailfilter would indeed be read if the condition is false, right?

Correct.