[OGo-Users] Cyrus IMAP OGO authentication problems for some users on openSuSE 10.3
users@opengroupware.org
users@opengroupware.org
Wed, 21 May 2008 15:44:50 +0100
I started checking the IMAP integration in my SuSE install, and it appears
to be broken. I can send mail from inside OGO and it reaches the outside
world (via postfix). Cyrus is installed and running, and I can do 'telnet
localhost imap' and get a response from cyrus.
In the dock it says "Email (inactive)", and when I click on the 'Inbox' I
see a warning "couldn't login to host: localhost".
I checked in /var/log/messages and here is the error message for user2:
May 21 10:19:48 li24-226 imap[5691]: accepted connection
May 21 10:19:48 li24-226 imap[5691]: badlogin: localhost [127.0.0.1]
plaintext user2 SASL(-13): user not found: checkpass failed
I used the sasl tools to add a user to the sasldb manually:
li24-226:~ # saslpasswd2 -c user1
When I login to the webui of OGO using user1, I can indeed see an inbox
for this user and not surprisingly /var/log/messages outputs:
May 21 10:18:43 li24-226 imap[5691]: accepted connection
May 21 10:18:43 li24-226 imap[5691]: login: localhost [127.0.0.1] user1
plaintext User logged in
This suggests to me that OGO is not creating entries in the sasldb for
users who are created through OGO. Maybe I have misunderstood user
administration in OGO and mail users must be created separately?
For completeness of information, this is what /etc/imapd.conf looks like:
li24-226:~ # more /etc/imapd.conf
autocreatequota: 10000
reject8bit: no
quotawarn: 90
timeout: 30
poptimeout: 10
dracinterval: 0
drachost: localhost
sasl_pwcheck_method: auxprop
sasl_plugin_auxprop: sasldb
lmtp_overquota_perm_failure: no
lmtp_downcase_rcpt: yes
And I believe I've put the relevant key values into the Defaults. Here's
the output from Defaults read:
ogo@li24-226:~> Defaults read
{
"ogo-nhsd-1.1" = {
NGBundlePath = "%{ogo_env_prefix";
};
Defaults = {};
NSGlobalDomain = {
"imap_host" = localhost;
"imap_port" = 143;
"skyrix_id" = "li24-226";
LSConnectionDictionary = {
databaseName = OGo;
hostName = "127.0.0.1";
password = "";
port = 5432;
userName = OGo;
};
LSNewsImagesPath = "/var/lib/opengroupware.org/news";
LSNewsImagesUrl = "/ArticleImages";
Languages = (
English
);
TimeZoneName = GMT;
UseSkyrixLoginForImap = YES;
WOHttpAllowHost = (
localhost,
"127.0.0.1",
"localhost.localdomain"
);
};
skyaptnotify = {
AptNotifyFromAdress = "ogo@li24-226";
AptNotifySentResourcesFile =
"/var/log/opengroupware/sent-resources";
AptNotifySkyrixPassword = "";
AptNotifySkyrixUser = root;
AptNotifyVerbose = NO;
};
}
Hope someone else can shed some light on this.
Bernard