[Dovecot] Additional passdb result status

Charles Marcus CMarcus at Media-Brokers.com
Mon Jun 25 11:47:55 EEST 2012

On 2012-06-24 4:37 PM, Jürgen Pabel <juergen at pabel.net> wrote:
> I am implementing a plugin (for the pop3/imap process) that requires
> some data to provided from the authentication phase (a derivative of the
> password). For that, I have now implemented a passdb plugin that
> generates this data and I would like to "pass" this data down to the
> mail process (pop3/imap) via extra_fields in the reply of the
> authentication. The general idea is that my custom passdb plugin
> calculates the data, sets the extra_field and returns some error
> (authentication was not successful) so that the "real" passdb backend
> can be invoked to "really" validate the authentication data.

What specifically is the *purpose* of this?

> I hope you consider my proposal to be reasonable. If desired, I could
> implement this myself and provide a patch for merging (based on 2.0.x).
> If my proposal is generally unfavored, it would be great if any
> alternative approaches for my situation were suggested. Thanks.

I think it is usually preferred that you do things like this against 
either the current shipping/stable branch (2.1.x), or even hg (2.2)... 
much better chance that it would be accepted.


Best regards,


More information about the dovecot mailing list