Koozali.org: home of the SME Server

zarafa issue Access denied or Connection failed, using socket: 'file:///var/run/

guest22

@frifri

It seems I suffer from an issue that you encountered before:
https://forums.zarafa.com/showthread.php?7673-Access-denied-or-Connection-failed-using-socket-file-var-run-zarafa

Did you ever found what the issue was pls?

TIA
guest

Offline frifri

  • *
  • 108
  • +0/-0
Hi RequestedDeletion,

I can't recall the problem but the issue was obviously the wrong login-format in a multicompany-setup :

It should have been :
fp.[companyname]
mp.[companyname]

At that time i was implementing the multicompany-setup in the howto and learning ...

Did you enable the multicompany-setting ?

F.
« Last Edit: November 15, 2013, 08:56:39 AM by frifri »

guest22

Hi frifri,

no, I have not enabled multi company on this server, and this server operates based on the unix plugin.

AFAIK the issue started with the latest SME Server updates which I applied on november 3rd.

There is very little info that I can find. Could it be that the zarafa custom templates are somehow 'out of sync' due to the latest SME updates? Out 6 seperate SME Servers running zarafa this is the only one showing this issue. I must say, this is one of the few that was restored to new hardware using affa (maybe this is related?? http://bugs.contribs.org/show_bug.cgi?id=7932 )

Thanks,
guest

Offline frifri

  • *
  • 108
  • +0/-0
At this time i can only confirm that latest updates didn't caused issues on a multi-company-Zarafa-server with db-plugin.  And i do have the same problem with ownership of httpd-files (but didn' restore from affa).

What do you have in /home/[username]/.qmail ?

The template :
/etc/e-smith/templates-user/.qmail/80Zarafa

Code: [Select]
{
   my $zarafa = $user->prop('zarafa') || 'disabled';
   my $zarafa2 = ${'zarafa-server'}{GlobalForward} || 'disabled';

   if ($zarafa eq 'enabled' || $zarafa2 eq 'enabled')
   { return "| /usr/bin/zarafa-dagent -q $USERNAME ; if [ \$\? -ne 0 ] ; then exit -1; else exit 99; fi;"
   }
}

guest22

real user account has been replaced with 'user' and passwords with 'xxxxx'

cat .qmail

#------------------------------------------------------------
#              !!DO NOT MODIFY THIS FILE!!
#
# Manual changes will be lost when this file is regenerated.
#
# Please read the developer's guide, which is available
# at http://www.contribs.org/development/
#
# Copyright (C) 1999-2006 Mitel Networks Corporation
#------------------------------------------------------------


| condredirect user-junkmail headermatch 'X-Spam-Status: Yes'
# Forward not set
| /usr/bin/zarafa-dagent -q user; if [ $? -ne 0 ] ; then exit -1; else exit 99; fi;
./Maildir/

config show zarafa-server:
zarafa-server=service
    DbPassword= xxxxxxxxxxxxxx
    GlobalForward=enabled
    Plugin=unix
    TCPPort=236
    access=private
    status=enabled


Offline frifri

  • *
  • 108
  • +0/-0
Perhaps the space is needed between user and ; :

| /usr/bin/zarafa-dagent -q user ; if [ $? -ne 0 ] ; then exit -1; else exit 99; fi;

guest22

Sorry my mistake by changing the username to user. There IS a space.

| condredirect RequestedDeletion-junkmail headermatch 'X-Spam-Status: Yes'
# Forward not set
| /usr/bin/zarafa-dagent -q user ; if [ $? -ne 0 ] ; then exit -1; else exit 99; fi;
./Maildir/