DIRSYNC

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

rex007can

DIRSYNC

Postby rex007can » Thu Sep 21, 2006 11:03 am

I've tried this before in a test environment, but couldn't get it to work. I thought at least some of it was due to the environment, and DNS and routing problems.

Now I'm trying to set it up in production, but it still isn't working.
Here's what I followed to create the agreements.

I have 2 nodes and 2 servers. Both the nodes and the servers have the same name. So us-mail.domain.com is node us-mail
scalix.domain.com is node scalix

Both servers can ping eachother
Both servers have the other's name in the hosts file.

scalix Server
Step 1. run omresetmn
Step 2. Run command. omaddrt -m us-mail -q SMINTFC -i scalix@us-mail.domain.com
Step 3. Restart the service router. omoff -d0 "Service Router"; omon "Service Router"
Step 4. omaddds -i -m +DIRSYNC/us-mail -t "000101 00:00"
Step 5. omaddds -e -m +DIRSYNC/us-mail
Step 6. In /var/optscalix/sys/general.cfg enter in
DS_CUST_SEND_REQ_NOW=TRUE
DS_CUST_MSGQ_TIMEOUT=2
Step 7. omoff -d0 dirsync ; omon dirsync

us-mail Server
Step 1. run omresetmn
Step 2. Run command. omaddrt -m scalix -q SMINTFC -i scalix@scalix.domain.com
Step 3. Restart the service router. omoff -d0 "Service Router"; omon "Service Router"
Step 4. omaddds -i -m +DIRSYNC/scalix -t "000101 00:00"
Step 5. omaddds -e -m +DIRSYNC/scalix
Step 6. In /var/optscalix/sys/general.cfg enter in
DS_CUST_SEND_REQ_NOW=TRUE
DS_CUST_MSGQ_TIMEOUT=2
Step 7. omoff -d0 dirsync ; omon dirsync

Thos are the instructions I received here a while back.
But it doesn't seem to be working.
First off, I have spamassassin configured and running, but when messages a received from the new server, they get put into the Linux mailbox instead of the Scalix mailbox.

Then DIRSYNC messages between the servers generate 550 errors.

Any ideas are welcome.
Thanks.

rex007can

Postby rex007can » Thu Sep 21, 2006 2:25 pm

Has anybody ever done this succesfully?

dkelly
Scalix
Scalix
Posts: 593
Joined: Thu Mar 18, 2004 2:03 pm

Postby dkelly » Thu Sep 21, 2006 2:57 pm

Please take a look at this HowTo that I wrote for the Wiki.

http://www.scalix.com/wiki/index.php?title=HowTos/DiagnosingDirsync

Cheers

Dave

rex007can

Postby rex007can » Thu Sep 21, 2006 3:07 pm

I did.
Servers can ping eachother, telnet to port 25 etc etc.
You saw the instructions I followed, which follow yours but with details about the commands.

I followed the commands step by step.
The disrync generate timeout errors in the fatal logs.
The request messages generate 550 errors in the mail queus.

Servers receive the requests messages addressed either to scalix@server.domain.com or to +DIRSYNC@server.domain.com and look for the mailboxes which generates delivery errors in the mail queus and sync request timeouts in the logs. In other words, the servers DO send each other requests, but it seems neither server knows what to do with them and treats them as ordinary email messages.

And nothing I find anywhere explains that, or even discusses a working setup of this. Note that I'm not saying it can't be done. I just haven't found anyone that has yet. ANd since I've been hacking away at this for over a month now, it's getting a bit..well...frustrating.

dkelly
Scalix
Scalix
Posts: 593
Joined: Thu Mar 18, 2004 2:03 pm

Postby dkelly » Thu Sep 21, 2006 3:09 pm

One question, are you doing this on a server with an Enterprise or SBE license installed ?

Cheers

Dave

rex007can

Postby rex007can » Thu Sep 21, 2006 3:24 pm

Enterprise server license for 75 users, soon to be for 100.

rex007can

Postby rex007can » Fri Sep 22, 2006 4:23 pm

So?
Anyone?
Help?
I guess I'll just have to pay someone to get help.
great.


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 3 guests

cron