34 messages in net.sourceforge.lists.courier-usersRe: [courier-users] Courier::Filter 0.16
FromSent OnAttachments
Julian MehnleJan 18, 2005 12:03 pm 
ScottJan 18, 2005 6:57 pm 
Frederik DannemareJan 18, 2005 7:54 pm 
Julian MehnleJan 19, 2005 4:00 am 
Alexander LazicJan 19, 2005 5:01 am 
Julian MehnleJan 19, 2005 7:50 am 
Alexander LazicJan 19, 2005 2:07 pm 
Jay LeeJan 19, 2005 2:23 pm 
Gordon MessmerJan 19, 2005 3:18 pm 
Sam VarshavchikJan 19, 2005 3:35 pm 
Julian MehnleJan 19, 2005 3:42 pm 
Gordon MessmerJan 19, 2005 3:56 pm 
Sam VarshavchikJan 19, 2005 4:07 pm 
Mitch (WebCob)Jan 19, 2005 4:42 pm 
Mitch (WebCob)Jan 19, 2005 4:46 pm 
Sam VarshavchikJan 19, 2005 5:13 pm 
Gordon MessmerJan 19, 2005 6:11 pm 
Sam VarshavchikJan 19, 2005 6:17 pm 
Gordon MessmerJan 19, 2005 10:38 pm 
Alexander LazicJan 20, 2005 2:29 am 
Alessandro VeselyJan 20, 2005 4:56 am 
Mark BucciarelliJan 21, 2005 1:02 pm 
Julian MehnleJan 21, 2005 3:03 pm 
Julian MehnleJan 24, 2005 8:15 am 
Gordon MessmerJan 26, 2005 10:51 am 
Gordon MessmerJan 26, 2005 12:53 pm.patch
Sam VarshavchikJan 26, 2005 4:22 pm 
Gordon MessmerJan 26, 2005 10:46 pm 
Alessandro VeselyJan 28, 2005 1:49 am 
Gordon MessmerJan 28, 2005 10:37 am 
Bill LongJan 29, 2005 3:42 pm 
Sam VarshavchikJan 29, 2005 4:51 pm 
Bill LongJan 29, 2005 5:29 pm 
Bill LongJan 30, 2005 1:23 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:Re: [courier-users] Courier::Filter 0.16Actions...
From:Gordon Messmer (yiny@eburg.com)
Date:Jan 26, 2005 10:51:44 am
List:net.sourceforge.lists.courier-users

Sam Varshavchik wrote:

It's always safe to append more stuff to the control file. Whether it's safe to rewrite it from scratch is something I need to think about.

At the time submit calls run_filter, that's not true. "ctlfile" is open and the write pointer will indicate the end of the file. If a filter adds data to the control file, that pointer does not change, so anything that submit writes to the file will overwrite the records that were added by the filter.

I've tried calling closectl() and openctl(), but that causes submit to create a new control file, which is messy (and may crash submit; submitting a new message didn't work and I didn't spend a lot of time tracking down the problem I'd created).

ctlfile doesn't seem to support a seekp() method that can jump to the end of the file.

Do you have any suggestions regarding what sort of change you'd be most willing to accept which would allow me to make changes to the ctlfile from a filter program?