I’m having a problem with SASL. For some user accounts, SASL works perfectly when they pass their username in the format user@domain. However, some users can only send mail by passing their username in the format: username-domain.
This particular Virtual site (the only one on the server) was imported from an Ensim backup. The mappings in /etc/procmail/virtual are appear OK.
For example, let’s take user ‘email@example.com’ When I try the following:
testsaslauthd -u firstname.lastname@example.org -p passwd
0: OK "Success."
However, when that same user tries sending through Thunderbird, using the username email@example.com, I get the following in my /var/log/messages:
auth failure: [user=blah] [service=smtp] [realm=domain.name] [mech=shadow] [reason=Unknown]
Furthermore, if I change the username to blah-domain.name, the email goes out without any errors.
Does anyone have any clue what is happening?