18 messages in net.sourceforge.lists.courier-usersRe: [courier-users] RE: Minor flaw in...
FromSent OnAttachments
Lloyd ZusmanFeb 7, 2004 5:41 pm 
Lloyd ZusmanFeb 8, 2004 12:36 pm 
Julian MehnleFeb 9, 2004 1:51 am 
Lloyd ZusmanFeb 9, 2004 3:20 am 
Anand BuddhdevFeb 10, 2004 6:57 am 
Lloyd ZusmanFeb 10, 2004 7:25 am 
Julian MehnleFeb 10, 2004 7:39 am 
Anand BuddhdevFeb 10, 2004 7:50 am 
Anand BuddhdevFeb 10, 2004 8:11 am 
Anand BuddhdevFeb 10, 2004 8:37 am 
Lloyd ZusmanFeb 10, 2004 9:25 am 
Lloyd ZusmanFeb 10, 2004 9:40 am 
Sam VarshavchikFeb 10, 2004 3:24 pm 
Sam VarshavchikFeb 10, 2004 3:25 pm 
Lloyd ZusmanFeb 10, 2004 4:10 pm 
Mitch (WebCob)Feb 10, 2004 5:06 pm 
Mitch (WebCob)Feb 10, 2004 5:19 pm 
Alessandro VeselyFeb 11, 2004 6:42 am 
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:Re: [courier-users] RE: Minor flaw in courierfilter implementation of SPFActions...
From:Anand Buddhdev (ar@anand.org)
Date:Feb 10, 2004 8:11:38 am
List:net.sourceforge.lists.courier-users

On Tue, Feb 10, 2004 at 04:39:12PM +0100, Julian Mehnle wrote:

Anand Buddhdev [ar@anand.org] wrote:

Sam once suggested that your filter could mark the current message as "done" ie. mark all recipients as delivered, and instead inject a new message into the queue, with the headers you want added in. This is still a kind of hack, but saves you from having to create additional directories, and having to add headers later with maildrop.

IIRC, a courierfilter can't "mark all recipients as delivered", only a delivery instruction (in a dot-courier file) can.

I think you're wrong. A filter *can* modify a control file.

So, what significant difference is there between marking all recipients as delivered plus resubmitting the message *in a delivery instruction* (e.g. in a maildrop script) and just modifying the message *in a delivery instruction* (e.g. in a maildrop script)?

Maildrop cannot modify the control file. And adding headers to a copy of a message being delivered to multiple users uses more resources than doing it once at message reception time.

It would be so nice if courier allowed adding,removing or modifying message headers at filter-time.