Marco
2018-03-08 15:34:23 UTC
Hello Amavis users,
amavis 2.11.0 lacks in LDAP sa_username_conf support. With this patch
SpamAssassin's LDAP database is consulted if user_scores_dsn is declared
in a SpamAssassin configuration file, and the @sa_userconf_maps returns
a string starting with 'ldap:' (case insensitive, the rest of the string
is ignored).
Configure Spamassassin as explained in
https://svn.apache.org/repos/asf/spamassassin/branches/3.4/ldap/README
I hope this feature could be included to official releases of Amavis.
Feel free to improve this patch or find bug on it.
Kind Regards
--
Marco Favero
amavis 2.11.0 lacks in LDAP sa_username_conf support. With this patch
SpamAssassin's LDAP database is consulted if user_scores_dsn is declared
in a SpamAssassin configuration file, and the @sa_userconf_maps returns
a string starting with 'ldap:' (case insensitive, the rest of the string
is ignored).
Configure Spamassassin as explained in
https://svn.apache.org/repos/asf/spamassassin/branches/3.4/ldap/README
I hope this feature could be included to official releases of Amavis.
Feel free to improve this patch or find bug on it.
Kind Regards
--
Marco Favero