Koozali.org: home of the SME Server

zarafa: not work?

Offline lmarco1882

  • *
  • 12
  • +0/-0
zarafa: not work?
« on: April 23, 2010, 11:11:20 AM »
Hi,
I've installed zarafa on a sme that act as mail server with imap client connected.
zarafa was installed and configured. I can access on web interface with all user configured on sme
On imap client (thunderbird) there are mails but in zarafa there are no mails displayed...
What is wrong?

Marco.

Offline girkers

  • *
  • 296
  • +0/-0
    • gk computer services
Re: zarafa: not work?
« Reply #1 on: April 25, 2010, 03:37:48 AM »
Did you follow the step of copying all the mail from the current imap place into zarafa. If you don't do this only new emails will go to zarafa, not old ones. If you look up http://wiki.contribs.org/Imapsync and there is a section on "Migrating users and data to zarafa"

The disappointing thing about this is that it is only one click from the Zarafa contrib page itself and would have only taken a moment to scroll down to find it. Look a little further next time OR if you have done this, you need to be more specific about your problem.

Offline lmarco1882

  • *
  • 12
  • +0/-0
Re: zarafa: not work?
« Reply #2 on: April 26, 2010, 09:18:16 AM »
The problem that also the new incoming emails are not displayed in incoming of zarafa but only in thunderbird connected in imap
Is seems that zarafa it's working as stand alone software
From zarafa is only possible to send email...
I think that the settings of user's .qmail-default is correct

# sortspam disabled
| /usr/bin/maildrop ; if [ $? -ne 0 ] ; then exit -1; else exit 99; fi;
# Forward not set
| /usr/bin/zarafa-dagent -q user ; if [ 0 -ne 0 ] ; then exit -1; else exit 99; fi;
./Maildir/


 

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: zarafa: not work?
« Reply #3 on: April 26, 2010, 09:47:10 AM »
Marco, please, if you want help, you should really answer the questions..

Did you follow all the steps you find in wiki's page?
what version of Zarafa are you running?

Offline lmarco1882

  • *
  • 12
  • +0/-0
Re: zarafa: not work?
« Reply #4 on: April 26, 2010, 11:17:22 AM »
I've performed all task of wiki pages regarding server installation but not sync.
I've run a command to sync account email from smeserver imap and zarafa, now I see all old mail but if I've received a new mail I don't see it in zarafa and now also in old imap thunderbird account...
I've tried to configure a second imap account with 8143 port, but I don't see new mail

I've make 2 test accounts, pippo and lmarco, I can send email from all 2 accounts, but I don't see any new mails in zarafa web interface

[root@rb ~]# tail -f /var/log/zarafa/spooler.log
lun 26 apr 2010 10:13:55 CEST: [ 5878] Termination requested, shutting down.
lun 26 apr 2010 10:13:55 CEST: [ 5878] Still waiting for 0 threads to exit.
lun 26 apr 2010 10:13:55 CEST: [ 5878] Spooler shutdown complete
lun 26 apr 2010 10:19:41 CEST: [ 5020] Starting zarafa-spooler version 6,30,13,19788 (19788), pid 5020
lun 26 apr 2010 10:19:41 CEST: [ 5020] Using SMTP server: localhost
lun 26 apr 2010 10:19:42 CEST: [ 5020] Connection to Zarafa server succeeded
lun 26 apr 2010 10:52:09 CEST: [13514] Sending e-mail for user lmarco, subject: 'test', size: 2425
lun 26 apr 2010 10:52:09 CEST: [13514] E-mail for user lmarco was accepted by SMTP server
lun 26 apr 2010 10:53:17 CEST: [13651] Sending e-mail for user pippo, subject: 'test11111', size: 2449
lun 26 apr 2010 10:53:18 CEST: [13651] E-mail for user pippo was accepted by SMTP server

the version installaed is 6.30.13, smeserver version 7.4, recently upgraded
 

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: zarafa: not work?
« Reply #5 on: April 26, 2010, 12:00:29 PM »
Hi Marco

you are not the first to have this issue.. another member forum (docgigowatt) had too..

I suspect something wrong with smeserver-zarafa contrib against the last 6.30.X zarafa.. with 6.40.X it works..

so, please, raise a bug in bugzilla, thank you

OT: from "pippo" I guess you are italian, so come also in italian language forum, thank you

Offline byte

  • *
  • 2,183
  • +2/-0
Re: zarafa: not work?
« Reply #6 on: April 26, 2010, 01:51:30 PM »
so, please, raise a bug in bugzilla, thank you

Stephen is no longer supporting the smeserver-zarafa contrib.  Everyone seems to be moving with SOGo at the moment... I'm sure 6 months later we'll all be moving on to something else again  :shock: :lol:
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: zarafa: not work?
« Reply #7 on: April 26, 2010, 05:19:56 PM »
Stephen is no longer supporting the smeserver-zarafa contrib. 

ah.. that's bad... :-(
I will contact him

Quote
Everyone seems to be moving with SOGo at the moment... I'm sure 6 months later we'll all be moving on to something else again  :shock: :lol:

I think (and hope) SOGo should be the horde replacement into SME's core.. I know that there are people working on it

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: zarafa: not work?
« Reply #8 on: April 26, 2010, 09:21:39 PM »
marco, please read here, maybe it's your case..

let me know, thank you

Offline lmarco1882

  • *
  • 12
  • +0/-0
Re: zarafa: not work?
« Reply #9 on: April 27, 2010, 10:37:37 AM »
Ok Stefano!, it simply resolve installing smeserver-mailsorting-1.2-29 or > ?

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: zarafa: not work?
« Reply #10 on: April 27, 2010, 10:55:42 AM »
yes, it should work

remember to remove/disable maildrop

let us know

Offline lmarco1882

  • *
  • 12
  • +0/-0
Re: zarafa: not work?
« Reply #11 on: April 28, 2010, 12:46:33 PM »
Ok, I've setup
qmail=service
    FilterType=procmail
    MaxMessageSize=15000000
    VacationDelay=-t1d
    status=enabled
and also
qmail=service
    FilterType=procmail
    MaxMessageSize=15000000
    VacationDelay=-t1d
    status=enabled
It still not working...
I don't have new mail but only old mail after a tool imapsync
 :-( I think that zarafa is a great software!!!
What do you think about?




Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: zarafa: not work?
« Reply #12 on: April 28, 2010, 01:03:52 PM »
I think there are no differences in the db values you show..

please use the code tag next time

also, please disable any kind of mail filtering (procmail etc) as you can create rules in zarafa web mail

Offline lmarco1882

  • *
  • 12
  • +0/-0
Re: zarafa: not work?
« Reply #13 on: April 28, 2010, 02:38:47 PM »
sorry...I've wrote wrong...
[root@smeserver ~]# db configuration delprop qmail FilterType disabled
[root@smeserver ~]# signal-event mailsorting-conf                                                                                                 

[root@smeserver ~]#
[root@smeserver ~]# db configuration show qmail
qmail=service
    MaxMessageSize=15000000
    VacationDelay=-t1d
    status=enabled

it not change...




Offline lmarco1882

  • *
  • 12
  • +0/-0
Re: zarafa: not work?
« Reply #14 on: April 29, 2010, 08:19:43 AM »
I've installed zarafa on a fresh installed SME 7.4 with those steps

download and install a stable version of zarafa, in this case Community Edition zarafa-6.30.13-rhel4-i386.tar.gz
tar -zxvf zarafa-6.*.tar.gz
cd zarafa-6.*
yum localinstall libvmime-0*.rpm libical-0*.rpm zarafa-6*.rpm zarafa-webaccess-*.rpm zarafa-licensed-*.rpm

db configuration setprop mysqld InnoDB enabled
expand-template /etc/my.cnf
sv t /service/mysqld

wget http://hosting.platiniumtv.ro/smeserver/releases/7/smecontribs/i386/RPMS/smeserver-zarafa-0.9.0-46.el4.sme.noarch.rpm
rpm -ihv smeserver-zarafa-0.9.0-46.el4.sme.noarch.rpm
config setprop zarafa-licensed status disabled

or
yum install smeserver-zarafa --enablerepo=smecontribs
config setprop zarafa-licensed status disabled #GPL version only


create an empty license file
/var/log/zarafa/licensed.log


/etc/e-smith/events/actions/zarafa-install
signal-event post-upgrade; signal-event reboot

at the prompt choose "unix"


config setprop zarafa-server GlobalForward enabled


yum install smeserver-mailsorting --enablerepo=smecontribs
db configuration setprop qmail FilterType procmail
signal-event mailsorting-conf

I can access in zarafa from web interface, I can send email but no mail are received
Anyone know what is wrong?

Offline Marcoof

  • *
  • 18
  • +0/-0
Re: zarafa: not work?
« Reply #15 on: April 29, 2010, 03:53:16 PM »
Hi !

could you try in db mode?

Best regards,
Marc

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: zarafa: not work?
« Reply #16 on: April 29, 2010, 08:51:12 PM »
yum install smeserver-mailsorting --enablerepo=smecontribs
db configuration setprop qmail FilterType procmail
signal-event mailsorting-conf

please, remove it, and try again.. if you use globalforward you can set global rules in zarafa (via webmail)

Offline lmarco1882

  • *
  • 12
  • +0/-0
Re: zarafa: not work?
« Reply #17 on: April 30, 2010, 02:42:24 AM »
could you try in db mode?
I've try again in db mode also... :-(

please, remove it, and try again.. if you use globalforward you can set global rules in zarafa (via webmail)
Stefano, sorry but I don't understand...

analizyng a log of procmail I see that new mail
[root@smeserver ~]# tail -f /home/e-smith/files/users/lmarco/procmail.log
 Subject:
  Folder: /home/e-smith/files/users/lmarco/Maildir/new/1272587106.1932     1549
 Subject: 111111111111111111111111111111111
  Folder: /home/e-smith/files/users/lmarco/Maildir/new/1272587371.2000     1615
but no new incoming mails of zarafa web interface
I think thet there is a problem with procmail...but where??





Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: zarafa: not work?
« Reply #18 on: April 30, 2010, 07:37:09 AM »
marco, I repeat: you don't need procmail, so remove it.
it's moving mails into maildir, so zarafa can't work properly

Offline lmarco1882

  • *
  • 12
  • +0/-0
Re: zarafa: not work?
« Reply #19 on: May 04, 2010, 02:38:42 PM »
marco, I repeat: you don't need procmail, so remove it.
it's moving mails into maildir, so zarafa can't work properly
Ok Stefano, I've removed procmail, now I've found why it not work, for any user zarafa's enabled it not work, see my log

@400000004be013fc2aeae67c new msg 4016745
@400000004be013fc2aeafdec info msg 4016745: bytes 723 from <pippo@test.local> qp 8138 uid 453
@400000004be013fc2d04f894 starting delivery 13: msg 4016745 to local alias-localdelivery-user@test.local
@400000004be013fc2d051004 status: local 1/10 remote 0/20
@400000004be013fc2da30d54 new msg 4016739
@400000004be013fc2da324c4 info msg 4016739: bytes 841 from <pippo@test.local> qp 8141 uid 400
@400000004be013fc2de4bdbc starting delivery 14: msg 4016739 to local user@smeserver.test.local
@400000004be013fc2de4d52c status: local 2/10 remote 0/20
@400000004be013fc2de4e4cc delivery 13: success: forward:_qp_8141/did_0+0+1/
@400000004be013fc2de4f084 status: local 1/10 remote 0/20
@400000004be013fc2de50024 end msg 4016745
@400000004be013fc37df69d4 delivery 14: success: Failed_to_resolve_recipient_user/Unable_to_deliver_message_to_'user',_error_code:_0x8004010F/did_0+0+2/
@400000004be013fc37df852c status: local 0/10 remote 0/20
@400000004be013fc37df90e4 end msg 4016739

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: zarafa: not work?
« Reply #20 on: May 04, 2010, 04:49:33 PM »
Hi Marco..

I'm just testing a upgrade from a 6.30.9 to a 6.30.14.. I let you know

Offline lmarco1882

  • *
  • 12
  • +0/-0
Re: zarafa: not work?
« Reply #21 on: May 05, 2010, 02:49:35 PM »
Solved!!!!

from old release of zarafa there are some difference
On my test I've used unix db, in this case with command
zarafa-admin -l (show users)
zarafa-admin -L (show groups)
there are user and group with the same name,

If you have a groupname "user"  AND  a username "user"  then you will not be
able to deliver on username "user" because the dagent finds 2 entries with
"user"  a group and a user.
I've changed the min_group_gid  value so zarafa won't detect the group user.

editing the file
/etc/zarafa/unix.cfg
from
min_group_gid = 5000
to
min_group_gid = 9000

Now smeserver-zarafa it should work with qmail...

Offline docgigowatt

  • *
  • 9
  • +0/-0
  • Don't waste your time ....
    • Local Area Network FIXing
Re: zarafa: not work?
« Reply #22 on: May 05, 2010, 03:15:16 PM »
Hi Marco :-)

It was the same problem i encountered when trying to update from versione 6.30.4 to 6.30.13. I was using UINIX plugin too, but searching in zarafa forum and also here i founded several posts with same problem, unix plugin make a dirty configuration with sme server, better is db plugin, you create users in sme first then in zarafa too and only the users you need, no groups with same name or crappy things... waiting for ldap functions maybe in sme 8.

Had to uninstall the old corrupted version and install a fresh copy of zarafa.

Now i use 6.40.0 with db plugin and all seems working, send, receive, z-push, outlook client tested and ok.

G.

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: zarafa: not work?
« Reply #23 on: May 05, 2010, 07:29:25 PM »
Hi Marco

I've just tested yuor solution and it works, even if the mail has a group as recipient

I hope you did not edit the unix.cfg file in /etc/zarafa/ dir, because it's templated and your changes will be lost as soon as you upgrade smeserver-zarafa