Gordon Messmer wrote:
> Lorenzo Perone wrote:
> > If I understood correctly the rest of this thread, at the moment it is
> > not a good idea to modify the message even once, within a
> > courierfilter. So it wouldn't be possible to save a modified copy,
> > which is desired in my as well as in other setups.
>
> You can't modify it, but the technique I use in pythonfilter is to
> modify the control files to mark all recipients complete, inject a new,
> modified message into the queue with the same control data, and then
> tell courier to accept the message.  courierd will examine the message
> from SMTP and remove it because it's already done, and then deliver the
> modified message that the filter added to the queue.

Ironically, this, too, defies Courier's attempts at being efficient, at 
least for messages that you want to modify.  In setups where you modify 
practically all messages that you don't reject, it makes Courier's 
efficiency attempts pointless.

My point being, I think Courier should offer a mode where it parses 
messages' MIME structure only _after_ having called the courierfilters.

Attachment: pgpqQqkwhHbUR.pgp
Description: PGP signature

-------------------------------------------------------------------------
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

Reply via email to