Page 1 of 1

dirsync prolem

Posted: Tue Jan 16, 2007 12:23 pm
by brockz
helo

i used the adding server guide from the wiki for my dirsyncinc my 2 enterprise servers but i have big problems the i can mail from server to server . i cheked it with the mail scalix@server1.domain.com ... on my importing server i get error mails every time
here are the mails

Code: Select all

DIRECTORY SYNCHRONIZATION - Forwarded Message

The attached message was received by Directory Synchronization
(+DIRSYNC) but could not be processed for the following reason
:-

Error Group  : 112
Error Reason : 1262
Error Text   :

Error in received message contents.
No known synchronization agreement exists for the combination
of import and export Directories given in the Message Contents.



and the second one



Code: Select all

DIRECTORY SYNCHRONIZATION - ERROR_Updates

DVX=3
PRODUCT=OPENMAIL
OP=ERROR
TYPE=FATAL
REASON=#(DS IMPORT) REQUEST Updates rejected by the Server.

REPLY_ORN=+DIRSYNC /polymaterials,hq
REPLY_OP=FAULT
REPLY_COMMAND=Updates
FLAGS=
SERVER_DIR=**
CLIENT_DIR=
SREF=1
SERVER_ERROR_MESSAGE=

Error in received message contents.
No known synchronization agreement exists for the combination
of import and export Directories given in the Message Contents.


what i do wrong

on the exprt server i recieve only 1 error mesaage one time:

Code: Select all

DIRECTORY SYNCHRONIZATION - Forwarded Message


The attached message was received by Directory Synchronization
(+DIRSYNC) but could not be processed for the following reason
:-

Error Group  : 112
Error Reason : 1240
Error Text   :

Non Delivery Notification received.
Message and Contents have been returned.
Reason Number ()

Recipient 



scalix rocks as hell !! but dirsyncicn its very difficult

Posted: Tue Jan 16, 2007 1:22 pm
by kanderson
Can you please post the output from the following commands on both servers.

omlistds -e
omlistds -i
omshowrt -q all

Thanks
Kev.

Posted: Wed Jan 17, 2007 2:27 am
by brockz
importing server:

Code: Select all

[root@hq ~]# omlistds -e
There are no Scalix to Scalix agreements configured.
[root@hq ~]# omlistds -i
1         **                  **                  +DIRSYNC /scalix,polymaterials

[root@hq ~]# omshowrt -q all
UNIX       internet                                        MIME
UNIX       internet,tnef                                   TNEF
LOCAL      polymaterials,hq
SMINTFC    scalix,polymaterials                            scalix@my.first.server
                       


and the exporting server



Code: Select all

[root@scalix ~]# omlistds -e
1         **                  **                  +DIRSYNC /polymaterials,hq

[root@scalix ~]# omlistds -i
There are no Scalix to Scalix agreements configured.

[root@scalix ~]# omshowrt -q all
UNIX       internet                                        MIME
UNIX       internet,tnef                                   TNEF
SMINTFC    polymaterials,hq                                scalix@my.second.server
LOCAL      scalix,polymaterials
LOCAL      scalix,polymaterials,kf





i see messages flow froms server 1 to 2 and server 2 to 1 (maillog)

but on the exporting server there is only one log in the exprt file

Code: Select all

subject DIRECTORY SYNCHRONIZATION - REPLY_Updates
operation REPLY
command Updates
flags NONE
export-directory **
import-directory **
syn-timestamp 1168962368 Tue Jan 16 16:46:08 2007 +60
sending-ref 0
request-id 0011690144660003


and it is from yesterday


every 15 min the scalix server comunicates i can see in /va7log/maillogs on both servers

Posted: Wed Jan 17, 2007 11:17 am
by kanderson
What you'll want is for each server to have both an import and an export agreement.

So add an import agreement on the exporting server, and an export agreement on the importing server.

Complete instructions are at:
http://www.scalix.com/wiki/index.php?ti ... alixServer