Welcome, Guest
Please Login or Register.
Lost Password?
Mapping not working for all accounts using SASL (1 viewing)
Post Reply

TOPIC: Mapping not working for all accounts using SASL

#15365
shadih (User)
Posts: 8
graphgraph
Mapping not working for all accounts using SASL 2008/08/04 12:59  
Hi,

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 'blah@domain.name' When I try the following:

testsaslauthd -u blah@domain.name -p passwd

I get:

0: OK "Success."

However, when that same user tries sending through Thunderbird, using the username blah@domain.name, 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?
  The administrator has disabled public write access.
#15366
shadih (User)
Posts: 8
graphgraph
Re:Mapping not working for all accounts using SASL 2008/08/04 13:31  
I may have found a solution... I ran:

saslauthd -a shadow -d

from a shell, then tried. It failed, and then I ran:

saslauthd -a shadow -r -d

That worked.... so I added FLAGS=-r to my /etc/sysconfig/saslauthd file. Let'e see what happens!
  The administrator has disabled public write access.
#15427
shadih (User)
Posts: 8
graphgraph
Re:Mapping not working for all accounts using SASL 2008/08/06 06:07  
Ok, so everything is working now. I guess I just needed to pass the '-r' option to saslauthd, so that is passes the entire name for authentication.
  The administrator has disabled public write access.
Post Reply
get the latest posts directly to your desktop

Talk and Get Help

Support
Forums
Bugs and Issues

Get Virtualmin

OS Support
Buy Online
Download
Copyright 2005-2007 Virtualmin, Inc. All rights reserved.