3 messages in net.sourceforge.lists.courier-users[courier-users] Is there any document...
FromSent OnAttachments
Matthias WimmerApr 20, 2007 3:09 pm 
Sam VarshavchikApr 20, 2007 3:18 pm 
Matthias WimmerApr 20, 2007 3:24 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] Is there any documentation on control files (implementing a courier filter)Actions...
From:Matthias Wimmer (m@tthias.eu)
Date:Apr 20, 2007 3:09:54 pm
List:net.sourceforge.lists.courier-users

Hi!

I am currently implementing a courier filter and from the courierfilter(8) man page I know that starting with the second line that I receive on the unix socket up to the empty line I get filenames of control files for the message, that is currently getting filtered.

Is there any documentation on the format of these control files? While it seems that the content of these files is obvious, I'd still like to read the spec for them if there is any.

The courierfilter(8) man page tells that there might be multiple control files for the message. I always got only one such control file. In which case are there multiple control files or is this just a planned extension to the interface? How should I handle these files if there are more than one such file? (i.e. may I see multiple occurences of the envelope receipient address and which one should I pick in that case? The first, the last, all of them?)

Matthias