2 Mar
2007
2 Mar
'07
4:16 p.m.
Johannes Berg wrote:
As far as I know there isn't such a way. I recently worked around this by appending something to the mail path, i.e.
default_mail_env = maildir:/home/%u/.mail/:MYPLUGIN=%u-%n-%d
and then reading the MAIL environment and parsing out the :MYPLUGIN= part. Works great.
Oh... I just figured out that the plugin configuration in /etc/dovecot/dovecot.conf already gets %var-substituted, so I don't need to perform any veriable-substitution in the plugin.
Thanks anyway for the suggestion,
Nicolas