{
my $auth = $sogod{'Authentication'} || 'cas';
if (lc $auth eq 'cas' && -d '/var/service/dovecot'){
    $OUT .=<<"HERE";
auth    sufficient      pam_cas.so -simap://localhost -f/etc/pam_cas.conf
HERE
}
else{
    return "";
}
}
