So now, I have:
fixed_cram:
driver = cram_md5
public_name= CRAM-MD5
# server_secret = ${lookup{$1}lsearch{/etc/relayers}{$value}{fail}}
server_secret=${if and {\
{!eq{$1}{}}\
{!eq{$2}{}}\
{pam{$1:${sg{$2}{:}{::}}}}\
}\
{yes}{no}}
server_set_id = $1
I've tried it with the server_set_id commented out and as is, and
neither way seems to work. I'm seeing the following in my logs:
535 Incorrect authentication data (set_id=michael)
-Michael