Hey Derrick! It is my understanding that what you are attempting is not allowed. Courier caches some of the information I think - or does that only apply to the message body file itself?
There was discussion before about having to force courier to reload the files from disk if you made changes - but that it was not a currently supported function - have you hacked courier in this way? m/ > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Derrick > T. Woolworth > Sent: July 15, 2003 2:20 PM > To: [EMAIL PROTECTED] > Subject: [courier-users] courierfilter question > > > Hello all, > > We're running FreeBSD and courier 0.42.0. We've created a filter in C that > controls the deliverability of a message. > > While editing the control file, we're seeing some odd behavior. When > messages > arrive with multiple recipients, we open, append the necessary I,S > and C fields > to the file, then close it for each recipient. (we do begin with the > w, E, p, W > fields) > > Sometimes, not always, it seems that after opening the control file for the > second or third time - dealing with the second and/or third recipient - that > fopen() positions the file pointer at the end of the recipient's > list, instead > of at the end our last input... as if the last update we did to the control > file was either removed or the file size wasn't updated... We're not quite > sure. > > During this process, we've created a debug scenario where every time the > control file is updated, we copy it to another directory, just so we can view > the results. > > In some cases, its as if the control file was replaced with a new > version after > our updates. Could this be true? > > I guess the best question would be - when courierfilter runs a filter > - does it > completely relinquish control of the control file? Do we need to lock access > to the control file while we're updating it? Is there some timing issue? > > Any help would be great! > > Thanks, > > Derrick > > > > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: VM Ware > With VMware you can run multiple operating systems on a single machine. > WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the > same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 > _______________________________________________ > courier-users mailing list > [EMAIL PROTECTED] > Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users > ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
