[Dovecot] plugin advice needed

Lars Stavholm stava at telcotec.se
Mon Oct 1 10:58:43 EEST 2007


Johannes Berg wrote:
> On Mon, 2007-10-01 at 09:19 +0200, Lars Stavholm wrote:
>> I'm working on a dovecot plugin.
>>
>> What's the easiest way to read a specific
>> mail header like "To" or "From"?
> 
> You know you could look into my plugin which does this ;)

That was kinda' the obvious answer. I did however ask
for the easiest way of doing it. Now, that might be the
stuff in your code, but again it might not. How am I to
know? Thus the question.

> Look at mail_get_first_header() and friends.

Yes, of course, thanks.
/L



More information about the dovecot mailing list