unable to send mail between server (omaddrt,dirsync already)

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

potatoinmiri
Posts: 58
Joined: Wed Mar 28, 2007 9:25 pm

unable to send mail between server (omaddrt,dirsync already)

Postby potatoinmiri » Mon Apr 16, 2007 11:25 pm

Dear friends,

I have read through
viewtopic.php?t=1839&highlight=omaddrt
viewtopic.php?t=3252&postdays=0&postorder=asc&highlight=omaddrt&start=15
http://www.scalix.com/wiki/index.php?ti ... alixServer

I am still not able to get the mails sent across to the other server and other way round.

I have the following setup:
Server 1:
mail host name=scalix
mailnode=scalix
domain=donkey.com

Server 2:
mail host name=scalix2
mailnode=scalix2
domain=monkey.com

These are the steps i have done:
i) Add route between two servers
at Server 1 (scalix)
omaddrt -m scalix2 -q SMINTFC -i scalix@scalix2.monkey.com

At server 2 (scalix2)
omaddrt -m scalix -q SMINTFC -i scalix@scalix.donkey.com

On both machine
omoff -w -d 0 router ; omon router

Checking the added routes
At Server 1 (scalix)
[root@scalix logs]# omshowrt -q all
UNIX internet MIME
UNIX internet,tnef TNEF
LOCAL scalix
SMINTFC scalix2 scalix@scalix2.monkey.com

At server 2 (scalix2)
[root@scalix2 logs]# omshowrt -q all
UNIX internet MIME
UNIX internet,tnef TNEF
LOCAL scalix
SMINTFC scalix1 scalix@scalix1.donkey.com

ii) Dirsync
On server 1 (scalix):
omaddds -i -m +DIRSYNC/scalix2 -t "010101 00:00"

On server 2 (scalix2):
omaddds -e -m +DIRSYNC/scalix

Added the following to both machines:
DS_CUST_SEND_REQ_NOW=TRUE
DS_CUST_MSGQ_TIMEOUT=2

Restart dirsync services at both machines:
omconfaud dirsync 15
omoff -w -d 0 dirsync; omon dirsync

iii) Check the dirsync logs in audit
At server 1 (Scalix):
dirsync-out
time 1176777001 Tue Apr 17 10:30:01 2007 +480
recipient +DIRSYNC / SCALIX2
subject DIRECTORY SYNCHRONIZATION - REQUEST_Updates
operation REQUEST
command Updates
flags
export-directory **
import-directory **
syn-timestamp 1 Thu Jan 1 08:00:01 1970 +480
max-reply-size 1000
sending-ref 0
request-id 0011767133960017

At server 2 (scalix2):
dirsync-out
time 1176714002 Mon Apr 16 17:00:02 2007 +480
recipient +DIRSYNC / SCALIX
subject DIRECTORY SYNCHRONIZATION - REQUEST_Updates
operation REQUEST
command Updates
flags
export-directory **
import-directory **
syn-timestamp 1 Thu Jan 1 08:00:01 1970 +480
max-reply-size 1000
sending-ref 0
request-id 0011767115520001

Based on the above configuration, i should be able to send mail between server 1 and server 2, yet i still get nothing when i sent mail. /var/log/mailllog on both machinese is empty. I couldnt figure out where could be wrong again....i have followed exactly what everyone else had done...it looks so simple but i dont know why mine isn't working.
Did i miss out on anything? Someone wrote up a dirsync cookbook, i also followed that through yet still got nothing. My mail server name is same as the mailnode name, can that be the problem?

Thanks a lot for taking time reading my thread, hope to get help to solve this, thanks

Regards







[/b]

potatoinmiri
Posts: 58
Joined: Wed Mar 28, 2007 9:25 pm

Postby potatoinmiri » Mon Jul 09, 2007 9:59 am

Hi friends,

I have solved the problem. There are two causes, first is with the older version of scalix, there is this problem with scalix installer unable to detect network interface problem, the new scalix version solves this problem.

Secondly, a properly configured dns server is critical to getting routing between mail works. i used named. It solves the problem now i can send between servers.


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 4 guests

cron