cyrus-sasl provides various authentication mechanics to client connections, but only supports cleartext password storage in mysql tables. I found a patch that worked perfectly at adding the necessary storage encryption support for MD5, DES and blowfish. The following link provides documentation on how to use the patch in the smtpd.conf file. The link provides both a Linux and a FreeBSD patch. http://frost.ath.cx/software/cyrus-sasl-patches/ PLEASE add this to the next ebuild for sasl, or at least add it as an option with a USE keyword. All I did was add an epatch line to the ebuild pointing to the new patch in the files directory - basic an painless. Reproducible: Always Steps to Reproduce: 1. 2. 3. epatch "${FILESDIR}/cyrus-sasl-2.1.19-checkpw.c.patch"
Created attachment 47362 [details, diff] patch adding encrypted password support for mysql storage
*** This bug has been marked as a duplicate of 45181 ***