I have installed 2 Scalix Servers, one is internet enabled (tiptonservices.com) and other is only on the network (tipton.com).
tipton.com has no gateway in the network configuration
tiptonservices.com has an ip ISP 202.53.13.74
In tipton.com I have made an entry in /etc/hosts of tiptonservices.com.com server
and it looks like this
Code: Select all
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
192.168.10.44 setptn.tipton.com setptn
192.168.10.13 email.tiptonservices.com tiptonservices.com
and in tiptonservices.com I have made an entry in /etc/hosts of tipton.com, and it looks like this
Code: Select all
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
192.168.10.13 email.tiptonservices.com tiptonservices.com
192.168.10.44 setptn.tipton.com tipton.com
Now
when I try to send an email from tipton.com to tiptonservices.com its not reaching tiptonservices.com
here is my maillog
Code: Select all
Feb 19 20:14:54 setptn sendmail[3630]: m1JEcMS2004606: SYSERR(root): Error getting LDAP results in map ldapsx: Unknown error 325
Feb 19 20:14:57 setptn ldapmapper[3610]: cannot send search request to instance setptn: Can't contact LDAP server
Feb 19 20:14:57 setptn sendmail[3630]: m1JEcMS2004606: SYSERR(root): Error getting LDAP results in map ldapsx: Unknown error 325
Feb 19 20:14:57 setptn ldapmapper[3610]: cannot send search request to instance setptn: Can't contact LDAP server
Feb 19 20:14:57 setptn sendmail[3630]: m1JEaFC1004293: SYSERR(root): Error getting LDAP results in map ldapsx: Unknown error 325
Feb 19 20:14:57 setptn ldapmapper[3610]: cannot send search request to instance setptn: Can't contact LDAP server
Feb 19 20:14:57 setptn sendmail[3630]: m1JEaFC1004293: SYSERR(root): Error getting LDAP results in map ldapsx: Unknown error 325
Feb 19 20:15:01 setptn sendmail[3630]: m1JEdSGA004816: to=<mhussaini@tiptonservices.com>, delay=00:05:33, xdelay=00:00:03, mailer=esmtp, pri=210936, relay=email.tiptonservices.com. [202.53.13.74], dsn=4.0.0, stat=Deferred: email.tiptonservices.com.: Network is unreachable
Feb 19 20:15:01 setptn sendmail[3630]: m1JEXGeM004143: to=<mhussaini@tiptonservices.com>, delay=00:11:45, xdelay=00:00:00, mailer=esmtp, pri=210936, relay=email.tiptonservices.com., dsn=4.0.0, stat=Deferred: email.tiptonservices.com.: Network is unreachable
Feb 19 20:15:02 setptn sendmail[3630]: m1JER0dF003958: to=<mhussaini@tiptonservices.com>, delay=00:18:02, xdelay=00:00:00, mailer=esmtp, pri=210948, relay=email.tiptonservices.com., dsn=4.0.0, stat=Deferred: email.tiptonservices.com.: Network is unreachable
Feb 19 20:17:44 setptn spamass-milter[3649]: Could not retrieve sendmail macro "r"!. Please add it to confMILTER_MACROS_ENVRCPT for better spamassassin resultsFeb 19 20:17:44 setptn sendmail[5405]: m1JElfaB005405: from=<mkhan@tipton.com>, size=926, class=0, nrcpts=1, msgid=<12400378.41203432454544.JavaMail.root@setptn.tipton.com>, proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1]
Feb 19 20:17:44 setptn spamd[3681]: spamd: connection from localhost.localdomain [127.0.0.1] at port 32972
Feb 19 20:17:44 setptn spamd[3681]: spamd: setuid to root succeeded
Feb 19 20:17:44 setptn spamd[3681]: spamd: still running as root: user not specified with -u, not found, or set to root, falling back to nobody at /usr/bin/spamd line 1147, <GEN6> line 4.
Feb 19 20:17:44 setptn spamd[3681]: spamd: processing message <12400378.41203432454544.JavaMail.root@setptn.tipton.com> for root:99
Feb 19 20:17:51 setptn spamd[3681]: mkdir /root/.spamassassin: Permission denied at /usr/lib/perl5/vendor_perl/5.8.5/Mail/SpamAssassin.pm line 1536
Feb 19 20:17:51 setptn spamd[3681]: locker: safe_lock: cannot create tmp lockfile /root/.spamassassin/auto-whitelist.lock.setptn.tipton.com.3681 for /root/.spamassassin/auto-whitelist.lock: Permission denied
Feb 19 20:17:51 setptn spamd[3681]: auto-whitelist: open of auto-whitelist file failed: locker: safe_lock: cannot create tmp lockfile /root/.spamassassin/auto-whitelist.lock.setptn.tipton.com.3681 for /root/.spamassassin/auto-whitelist.lock: Permission denied
Feb 19 20:17:51 setptn spamd[3681]: spamd: clean message (4.1/5.0) for root:99 in 6.9 seconds, 1242 bytes.
Feb 19 20:17:51 setptn spamd[3681]: spamd: result: . 4 - ALL_TRUSTED,EMPTY_MESSAGE,HTML_MESSAGE,HTML_SHORT_LENGTH,MIME_HTML_MOSTLY,MISSING_MIMEOLE,MISSING_SUBJECT scantime=6.9,size=1242,user=root,uid=99,required_score=5.0,rhost=localhost.localdomain,raddr=127.0.0.1,rport=32972,mid=<12400378.41203432454544.JavaMail.root@setptn.tipton.com>,autolearn=no
Feb 19 20:17:51 setptn sendmail[5405]: m1JElfaB005405: Milter add: header: X-Spam-Status: No, score=4.1 required=5.0 tests=ALL_TRUSTED,EMPTY_MESSAGE,\n\tHTML_MESSAGE,HTML_SHORT_LENGTH,MIME_HTML_MOSTLY,MISSING_MIMEOLE,\n\tMISSING_SUBJECT autolearn=no version=3.1.8
Feb 19 20:17:51 setptn sendmail[5405]: m1JElfaB005405: Milter add: header: X-Spam-Level: ****
Feb 19 20:17:51 setptn sendmail[5405]: m1JElfaB005405: Milter add: header: X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on setptn.tipton.com
Feb 19 20:17:51 setptn spamd[3600]: prefork: child states: II
Feb 19 20:17:54 setptn sendmail[5448]: m1JElfaB005405: to=<mhussaini@tiptonservices.com>, delay=00:00:10, xdelay=00:00:03, mailer=esmtp, pri=120926, relay=email.tiptonservices.com. [202.53.13.74], dsn=4.0.0, stat=Deferred: email.tiptonservices.com.: Network is unreachable
I know the last line says that "Network is Unreachable" becasue its trying to access tiptonservices.com on the ip 202.53.13.74. My question is why scalix is using the ip 202.53.13.74 and why not 192.168.10.13 which is mentioned in /etc/hosts.
When I ping "email.tiptonservices.com" its getting pinged to 192.168.10.13. So its just that scalix is not reading my /etc/hosts, or there is someother problem. Help me out please.