On 04 Feb 2016, at 03:44, Thomas Möhle <[email protected]> wrote:
> 
> Hello,
> 
> I would like to use the users password within a mail-filter script.
> Dovecots %w variable is only available within dovecot-auth, is there any
> way to access the password for a mail-filter?

Something like this should work in recent versions:

passdb {
  ..
  override_fields = userdb_pass=%w
}

plugin {
  mail_filter = mail-filter %{userdb:pass}
}

Reply via email to