On Mon, 2006-01-30 at 10:17 +0100, Paul J Stevens wrote: > Aaron Stone wrote: > > Paul, > > > > Would you mind if I threw a few more fields into DbmailMessage? I'd like > > to see if I can use it in my interface to libSieve. At the moment I'm > > just adding a field for the envelope sender. Possibly more to come. > > go ahead. envelope sender seems like a logical addition, since it's not > part of the message.
Ok, the place I chose to do this is right after adding the Return-Path header into the GMime header list in pipe.c, insert_messages. I suppose the get_envelope function in the Sieve interface could just return the contents of the Return-Path header... hmm. Looking back through main.c and lmtp.c, I'm thinking that the return path system could be a little prettier. But it works, so I'm in no rush to change it. Aaron