On debian, I got postfix SMTP authentication almost working :
I do :
perl -MMIME::Base64 -e 'print encode_base64("username\0username@domain.com\0password");'
and get my encoded indentification Then, When I try to log via telnet, I got in my auth.log :
saslauthd[16845]: do_auth : auth failure: [user=username@domain.com] [service=smtp] [realm=] [mech=shadow] [reason=Unknown]
We cansee here that saslauthd try to fnd the user username@domain.com , instead of username in my shadow file, and it doesn;t find it.
How come is that possible? Don;t he already know that he should strip off @domain.com ?
How can I tell saslauthd to strip off @domain.com before trying to authenticate? Any idea? I have been on google for the last 10 H, and I am just giving up, trying the dovecot solution instead.
I am just curious to see if anyone got this issue before.