I have read and attempted the information in the following thread: http://www.scalix.com/community/viewtop ... rver+route
I am trying to set up mailing between the two machines and I am having problems.
I have completed the following steps:
Add the routes between the servers
----------------------------------
On ServerA: omaddrt -m serverB,mailnode -q SMINTFC -i scalix@serverB.domain.com
On ServerB: omaddrt -m serverA,mailnode -q SMINTFC -i scalix@serverA.domain.com
On both machines: omoff -d 0 router ; sleep 1 ; omon router
This sets up the Scalix-to-Scalix transport gateway for sending messages between Scalix servers.
Create the dirsync agreements
-----------------------------
For this to work, you need an import agreement on one side and an export agreement on the other.
On ServerA: omaddds -i -m +DIRSYNC/serverB,mailnode -t "010000 00:00"
On ServerB: omaddds -e -m +DIRSYNC/serverA,mailnode
This sets up the import agreement on serverA and an export agreement on serverB. The -t option specifies when this agreement should come into effect. The format is yymmdd hh:mm.
To do this the other way around:
On ServerA: omaddds -e -m +DIRSYNC/serverB,mailnode
On ServerB: omaddds -i -m +DIRSYNC/serverA,mailnode -t "010000 00:00"
On both machines add the following to /var/opt/scalix/sys/general.cfg:
DS_CUST_SEND_REQ_NOW=TRUE
DS_CUST_MSGQ_TIMEOUT=2
This tells dirsync that it needs to make the update requests as soon as the service is started rather than waiting for a timeout.
You will need to restart the dirsync service but you should also enable auditing so that you can see the messages being transferred between machines:
omconfaud dirsync 15
omoff -d 0 dirsync ; sleep 1; omon dirsync
You can then review the messages in /var/opt/scalix/logs/audit to check that the mail is flowing correctly.
The output of /var/opt/scalix/logs/audit for serverA follows:
Code: Select all
dirsync-out
time 1143129991 Thu Mar 23 11:06:31 2006 -300
recipient +DIRSYNC / NHMAIL, NEWHAMPSHIRE
subject DIRECTORY SYNCHRONIZATION - REQUEST_Updates
operation REQUEST
command Updates
flags
export-directory **
import-directory **
syn-timestamp 1 Wed Dec 31 19:00:01 1969 -300
max-reply-size 1000
sending-ref 0
request-id 0011431299880001
The audit log for serverB is empty.
Routes on ServerA follow:
Code: Select all
[root@ServerA ~]# omshowrt -q all
LOCAL mailnodeA
UNIX internet MIME
UNIX internet,tnef TNEF
SMINTFC ServerB,mailnodeB scalix@ServerB.domain.com
And for ServerB
Code: Select all
[root@ServerB ~]# omshowrt -q all
SMINTFC ServerA,mailnodeA scalix@ServerA.domain.com
UNIX internet MIME
UNIX internet,tnef TNEF
LOCAL mailnodeC
LOCAL mailnodeB
Directory Sync information for ServerA
Code: Select all
[root@ServerA ~]# omshowds -i 1
SYNCHRONIZING DIRECTORY : **
EXPORT OR ADDRESS : +DIRSYNC /ServerB,mailnodeB
DS-STRT-AT : 060323 11:03
DS-PERIOD : 15
DS-IR-FLG : N
Directory Sync information for ServerB
Code: Select all
[root@ServerB ~]# omshowds -e 1
SYNCHRONIZING DIRECTORY : **
IMPORT OR ADDRESS : +DIRSYNC /ServerA,mailnodeA
DS-EL-FLG : N
SAC is installed on ServerA and I connect to ServerB through RES.
When I send an email from a user on mailnodeA to a user on mailnodeB or vice versa, the mail is not delivered.
For example, a mail sent from testB@domain.com to testA@domain.com recieves the following error.
Message could not be delivered to the following recipient:
testA@domain.com
because: No route configured for the recipient address
I thought the routes were set up? Have I missed a step somewhere? Thanks.