Milan Obuch wrote:
>
> What about common per-message scratch pad area? Currently there are two files
> in queue directory, control and data. Were there third one, say, extra, (we
> would have them alphabetically nicely grouped together :) ), with some common
> access method, all these problems could be solved by using this, I think.
> This way, original message need not be re-parsed, any additional header could
> be added at the end of processing in some form from this extra file, just
> before handing message to maildrop or whatever used. What do you think about
> this approach? (Most important would be, naturally, Mr. Sam's oppinion :)
Milan,
This approach will be either not flexible (allows just to add
something) or too complex (AddHeader, ChangeHeader, AddAttachment,
ChangeAttachment, AppendText, etc... operations which has to be coded).
People have very different need starting from adding legal stuff,
advertisig, and ending by removing viruses and information about
internal network (addresses of internal servers, their version numbers
and so on).
Therefore I'm pretty sure, that from flexibility and simplicity PoV
reparsing of changed queue file is unbeatable. As for perfomance... if I
need this functionality, I have to be ready to pay the price. On the
other hand, price of reparsing a message is relatively small in
comparison with the price of performing statistical antispam analysis.
And finaly, SAM once told me to send him _TESTED_ patch for doing
reparsing. Unfortunately, I was lost in courier's code. :-(
--
Aidas Kasparas
IT administrator
GM Consult Group, UAB
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users