2 Scalix servers can't send mail to each other

Discuss installation of Scalix software

Moderators: ScalixSupport, admin

kool_kid
Posts: 179
Joined: Wed Dec 05, 2007 7:27 am

2 Scalix servers can't send mail to each other

Postby kool_kid » Tue Feb 19, 2008 11:30 am

Hi

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.

Valerion
Scalix Star
Scalix Star
Posts: 2730
Joined: Thu Feb 26, 2004 7:40 am
Location: Johannesburg, South Africa
Contact:

Postby Valerion » Wed Feb 20, 2008 3:38 am

This is sendmail, not Scalix. When sendmail sends to a domain it does a MX lookup, not an A lookup. A lookups are done only when the MX records are not available. MX lookups will never match the /etc/hosts.

You will need an entry in your mailertable file for this.

kool_kid
Posts: 179
Joined: Wed Dec 05, 2007 7:27 am

Postby kool_kid » Wed Feb 20, 2008 3:51 am

what should be the format of mailertable entry and do I have to have an entry only in mailertable or somewhere else ttoo

mikevl
Scalix Star
Scalix Star
Posts: 596
Joined: Mon Feb 02, 2004 8:32 pm
Location: New Zealand

Postby mikevl » Wed Feb 20, 2008 3:53 am

Hi

Additionally you may need to add entries into the smtpd.cfg file
/var/opt/scalix/??/s/sys/smtpd.cfg
if you wish to use the Internet facing server as a relay.

Mike

Valerion
Scalix Star
Scalix Star
Posts: 2730
Joined: Thu Feb 26, 2004 7:40 am
Location: Johannesburg, South Africa
Contact:

Postby Valerion » Wed Feb 20, 2008 4:00 am

http://www.sendmail.org/m4/mailertables.html - or do a search here. Mailertable as a search term returns 80 matches (including this thread).

As Mike says you need to ensure your SMTP gateway is set up, but otherwise you should only need to modify (and recompile) the mailertable file.

kool_kid
Posts: 179
Joined: Wed Dec 05, 2007 7:27 am

Postby kool_kid » Wed Feb 20, 2008 4:03 am

so in smtpd.cfg i need to add something like this ?

RELAY 192.168.10.13 accept
RELAY email.tiptonservices.com accept

kool_kid
Posts: 179
Joined: Wed Dec 05, 2007 7:27 am

Postby kool_kid » Wed Feb 20, 2008 4:06 am

Valerion wrote:http://www.sendmail.org/m4/mailertables.html - or do a search here. Mailertable as a search term returns 80 matches (including this thread).

As Mike says you need to ensure your SMTP gateway is set up, but otherwise you should only need to modify (and recompile) the mailertable file.


Sorry but I'm hardly able to understand that can you please tell me what should i add in mailertable for my configuration.

Valerion
Scalix Star
Scalix Star
Posts: 2730
Joined: Thu Feb 26, 2004 7:40 am
Location: Johannesburg, South Africa
Contact:

Postby Valerion » Wed Feb 20, 2008 4:07 am

That would be

RELAY Accept <ip/name>

That will allow mail from that name/ip to be relayed through the Scalix server directly.

Look at my post in viewtopic.php?t=9826&highlight=mailertable and see if that helps you

kool_kid
Posts: 179
Joined: Wed Dec 05, 2007 7:27 am

Postby kool_kid » Wed Feb 20, 2008 4:10 am

Valerion wrote:That would be

RELAY Accept <ip/name>

That will allow mail from that name/ip to be relayed through the Scalix server directly.

Look at my post in viewtopic.php?t=9826&highlight=mailertable and see if that helps you


Thanks I will add it. I'm still reading that link u sent me lol this 3rd time reading now.

kool_kid
Posts: 179
Joined: Wed Dec 05, 2007 7:27 am

Postby kool_kid » Wed Feb 20, 2008 9:49 am

Code: Select all

Feb 20 19:04:42 setptn spamd[3681]: mkdir /root/.spamassassin: Permission denied at /usr/lib/perl5/vendor_perl/5.8.5/Mail/SpamAssassin.pm line 1536
Feb 20 19:04:42 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 20 19:04:42 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 20 19:04:42 setptn spamd[3681]: spamd: clean message (4.1/5.0) for root:99 in 3.1 seconds, 1250 bytes.
Feb 20 19:04:42 setptn spamd[3681]: spamd: result: . 4 - ALL_TRUSTED,EMPTY_MESSAGE,HTML_MESSAGE,HTML_SHORT_LENGTH,MIME_HTML_MOSTLY,MISSING_MIMEOLE,MISSING_SUBJECT scantime=3.1,size=1250,user=root,uid=99,required_score=5.0,rhost=localhost.localdomain,raddr=127.0.0.1,rport=36417,mid=<6813591.611203514471662.JavaMail.root@setptn.tipton.com>,autolearn=no
Feb 20 19:04:42 setptn sendmail[12437]: m1KDYdKP012437: 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 20 19:04:42 setptn sendmail[12437]: m1KDYdKP012437: Milter add: header: X-Spam-Level: ****
Feb 20 19:04:42 setptn sendmail[12437]: m1KDYdKP012437: Milter add: header: X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on setptn.tipton.com
Feb 20 19:04:42 setptn spamd[3600]: prefork: child states: II
Feb 20 19:04:42 setptn sendmail[12482]: m1KDYdKP012437: to=<mhussaini@tiptonservices.com>, delay=00:00:03, xdelay=00:00:00, mailer=esmtp, pri=120934, relay=email.tiptonservices.com. [202.53.13.74], dsn=4.0.0, stat=Deferred: email.tiptonservices.com.: Network is unreachable


this is my maillog after adding values to mailertable, and here is my mailertable

Code: Select all

email.tiptonservices.com   esmtp:[email.tiptonservices.com]


but still i cannot send emails, look there in my maillog it is still using ISP IP 202.53.13.74 as RELAY instead of 192.168.10.13 which is the local IP of that machine. I disconected from internet thats why its saying "Network Unreachable"

my stmpd.cfg look like this

Code: Select all

SMTPFILTER=TRUE
RELAY accept 127.0.0.1
RELAY accept .tipton.com
RELAY accept 192.168.10.13
RELAY Log_Reject ALL


i did restart scalix server after changing smtpd.cfg and did make -C /etc/mail after changing mailertable. Can you please tell me what wrong I'm doing? or least provide me some pointers to work out for.

Valerion
Scalix Star
Scalix Star
Posts: 2730
Joined: Thu Feb 26, 2004 7:40 am
Location: Johannesburg, South Africa
Contact:

Postby Valerion » Wed Feb 20, 2008 9:51 am

Put the IP of the machine in the [] and see if that helps.

You also need to remember to rebuild the DB file (go to /etc/mail and type make), otherwise the changes won't get picked up. Normally I also restart sendmail after such a change.

Also, you need to do the following:

tiptonservices.com<TAB>esmtp:[IP]

You specify the domain you will be sending to, not the server.

kool_kid
Posts: 179
Joined: Wed Dec 05, 2007 7:27 am

Postby kool_kid » Wed Feb 20, 2008 12:52 pm

Okay that worked but only for 1 server, now I can send emails to tiptonservices.com from tipton.com i.e from 192.168.10.44 to 192.168.10.13 but i can't send emails from tiptonservices.com to tipton.com i.e 192.168.10.13 to 192.168.10.44.

here is the content of my mailertable in 192.168.10.13

Code: Select all

tipton.com      esmtp:[192.168.10.44]
setptn.tipton.com       esmtp:[192.168.10.44]


here is my smtpd.cfg in 192.168.10.13

Code: Select all

SMTPFILTER=TRUE
RELAY accept 127.0.0.1
RELAY accept .tiptonservices.com
RELAY accept 192.168.10.44
RELAY Log_Reject ALL


so whenever I'm sedning an email im getting a message from "Mail Delivery Subsystem <MAILER-DAEMON@setptn.tipton.com> " with following message

Code: Select all

The original message was received at Wed, 20 Feb 2008 22:01:43 +0530
from root@localhost

   ----- The following addresses had permanent fatal errors -----
<mkhan@tipton.com>
    (reason: 550 5.1.1 <mkhan@setptn.tipton.com>... User unknown)
    (expanded from: <mkhan@tipton.com>)

   ----- Transcript of session follows -----
... while talking to [127.0.0.1]:
>>> DATA
<<< 550 5.1.1 <mkhan@setptn.tipton.com>... User unknown
550 5.1.1 <mkhan@tipton.com>... User unknown
<<< 503 5.0.0 Need RCPT (recipient)


and here is my /var/log/maillog from 192.168.10.13

Code: Select all

Feb 20 22:19:22 email sendmail[15704]: m1KGnMp2015704: milter_read(clmilter): cmd read returned 1, expecting 1163022926
Feb 20 22:19:22 email sendmail[15704]: m1KGnMp2015704: Milter (clmilter): to error state
Feb 20 22:19:22 email sendmail[15704]: m1KGnMp2015704: Milter (clmilter): init failed to open
Feb 20 22:19:22 email sendmail[15704]: m1KGnMp2015704: Milter (clmilter): to error state
Feb 20 22:19:23 email sendmail[15704]: m1KGnMp2015704: from=<mhussaini@tiptonservices.com>, size=1816, class=0, nrcpts=1, msgid=<16564419.20101203526153278.JavaMail.root@email.tiptonservices.com>, proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1]
Feb 20 22:19:23 email spamd[19956]: spamd: connection from localhost.localdomain [127.0.0.1] at port 33167
Feb 20 22:19:23 email spamd[19956]: spamd: setuid to root succeeded
Feb 20 22:19:23 email spamd[19956]: 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, <GEN243> line 4.
Feb 20 22:19:23 email spamd[19956]: spamd: processing message <16564419.20101203526153278.JavaMail.root@email.tiptonservices.com> for root:99
Feb 20 22:19:23 email spamd[19956]: mkdir /root/.spamassassin: Permission denied at /usr/lib/perl5/vendor_perl/5.8.5/Mail/SpamAssassin.pm line 1536
Feb 20 22:19:23 email spamd[19956]: locker: safe_lock: cannot create tmp lockfile /root/.spamassassin/auto-whitelist.lock.email.tiptonservices.com.19956 for /root/.spamassassin/auto-whitelist.lock: Permission denied
Feb 20 22:19:23 email spamd[19956]: auto-whitelist: open of auto-whitelist file failed: locker: safe_lock: cannot create tmp lockfile /root/.spamassassin/auto-whitelist.lock.email.tiptonservices.com.19956 for /root/.spamassassin/auto-whitelist.lock: Permission denied
Feb 20 22:19:23 email spamd[19956]: spamd: clean message (1.3/5.0) for root:99 in 0.2 seconds, 2162 bytes.
Feb 20 22:19:23 email spamd[19956]: spamd: result: . 1 - ALL_TRUSTED,HTML_MESSAGE,MISSING_MIMEOLE,MISSING_SUBJECT scantime=0.2,size=2162,user=root,uid=99,required_score=5.0,rhost=localhost.localdomain,raddr=127.0.0.1,rport=33167,mid=<16564419.20101203526153278.JavaMail.root@email.tiptonservices.com>,autolearn=no
Feb 20 22:19:23 email sendmail[15704]: m1KGnMp2015704: Milter add: header: X-Spam-Status: No, score=1.3 required=5.0 tests=ALL_TRUSTED,HTML_MESSAGE,\n\tMISSING_MIMEOLE,MISSING_SUBJECT autolearn=no version=3.1.8
Feb 20 22:19:23 email sendmail[15704]: m1KGnMp2015704: Milter add: header: X-Spam-Level: *
Feb 20 22:19:23 email sendmail[15704]: m1KGnMp2015704: Milter add: header: X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on\n\temail.tiptonservices.com
Feb 20 22:19:23 email spamd[3697]: prefork: child states: II
Feb 20 22:19:23 email sendmail[15713]: m1KGnMp2015704: to=<misbah@tipton.com>, delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=121816, relay=[192.168.10.44] [192.168.10.44], dsn=2.0.0, stat=Sent (2.0.0 m1KGg8nD014626 Message accepted for delivery)
Feb 20 22:19:23 email sendmail[15718]: m1KGnN0B015718: milter_read(clmilter): cmd read returned 1, expecting 1163022926
Feb 20 22:19:23 email sendmail[15718]: m1KGnN0B015718: Milter (clmilter): to error state
Feb 20 22:19:23 email sendmail[15718]: m1KGnN0B015718: Milter (clmilter): init failed to open
Feb 20 22:19:23 email sendmail[15718]: m1KGnN0B015718: Milter (clmilter): to error state
Feb 20 22:19:23 email sendmail[15718]: m1KGnN0B015718: from=<>, size=5076, class=0, nrcpts=1, msgid=<200802201642.m1KGg8nE014626@setptn.tipton.com>, proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1]
Feb 20 22:19:23 email spamd[19956]: spamd: connection from localhost.localdomain [127.0.0.1] at port 33175
Feb 20 22:19:23 email spamd[19956]: spamd: setuid to root succeeded
Feb 20 22:19:23 email spamd[19956]: 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, <GEN245> line 4.
Feb 20 22:19:23 email spamd[19956]: spamd: processing message <200802201642.m1KGg8nE014626@setptn.tipton.com> for root:99
Feb 20 22:19:24 email spamd[19956]: mkdir /root/.spamassassin: Permission denied at /usr/lib/perl5/vendor_perl/5.8.5/Mail/SpamAssassin.pm line 1536
Feb 20 22:19:24 email spamd[19956]: locker: safe_lock: cannot create tmp lockfile /root/.spamassassin/auto-whitelist.lock.email.tiptonservices.com.19956 for /root/.spamassassin/auto-whitelist.lock: Permission denied
Feb 20 22:19:24 email spamd[19956]: auto-whitelist: open of auto-whitelist file failed: locker: safe_lock: cannot create tmp lockfile /root/.spamassassin/auto-whitelist.lock.email.tiptonservices.com.19956 for /root/.spamassassin/auto-whitelist.lock: Permission denied
Feb 20 22:19:24 email spamd[19956]: bayes: locker: safe_lock: cannot create tmp lockfile /root/.spamassassin/bayes.lock.email.tiptonservices.com.19956 for /root/.spamassassin/bayes.lock: Permission denied
Feb 20 22:19:24 email spamd[19956]: spamd: clean message (-1.4/5.0) for root:99 in 0.1 seconds, 5264 bytes.
Feb 20 22:19:24 email spamd[19956]: spamd: result: . -1 - ALL_TRUSTED,HTML_MESSAGE scantime=0.1,size=5264,user=root,uid=99,required_score=5.0,rhost=localhost.localdomain,raddr=127.0.0.1,rport=33175,mid=<200802201642.m1KGg8nE014626@setptn.tipton.com>,autolearn=failed
Feb 20 22:19:24 email sendmail[15718]: m1KGnN0B015718: Milter change: header X-Spam-Checker-Version: from SpamAssassin 3.1.8 (2007-02-13) on setptn.tipton.com to SpamAssassin 3.1.8 (2007-02-13) on\n\temail.tiptonservices.com
Feb 20 22:19:24 email spamd[3697]: prefork: child states: II
Feb 20 22:19:24 email sendmail[15724]: m1KGnN0B015718: to=<mhussaini@tiptonservices.com>, delay=00:00:01, xdelay=00:00:00, mailer=scalix_mime, pri=125076, relay=email, dsn=2.0.0, stat=Sent (Ok)


any pointers?

kool_kid
Posts: 179
Joined: Wed Dec 05, 2007 7:27 am

Postby kool_kid » Wed Feb 20, 2008 4:02 pm

Just to add it when i issue nslookup email.tiptonservices.com I'm getting this output why?

Code: Select all

> email.tiptonservices.com
Server:         192.168.10.13
Address:        192.168.10.13#53

*** Can't find email.tiptonservices.com: No answer


it should have shown my DNS record right?

here is my named.conf

Code: Select all

//
// named.conf for Red Hat caching-nameserver
//

options {
        directory "/var/named";
        dump-file "/var/named/data/cache_dump.db";
        statistics-file "/var/named/data/named_stats.txt";
        /*
         * If there is a firewall between you and nameservers you want
         * to talk to, you might need to uncomment the query-source
         * directive below.  Previous versions of BIND always asked
         * questions using port 53, but BIND 8.1 uses an unprivileged
         * port by default.
         */
         // query-source address * port 53;
};

//
// a caching only nameserver config
//
controls {
        inet 127.0.0.1 allow { localhost; } keys { rndckey; };
};

zone "email.tiptonservices.com"  {
        type master;
        file "/var/named/email.tiptonservices.com.zone";
};

zone "email.tiptonservices.com"  {
        type master;
        file "/var/named/email.tiptonservices.com.zone";
};

zone "localdomain" IN {
        type master;
        file "localdomain.zone";
        allow-update { none; };
};

zone "localhost" IN {
        type master;
        file "localhost.zone";
        allow-update { none; };
};

zone "0.0.127.in-addr.arpa" IN {
        type master;
        file "named.local";
        allow-update { none; };
};

zone "0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa" IN {
        type master;
        file "named.ip6.local";
        allow-update { none; };
};

zone "255.in-addr.arpa" IN {
        type master;
        file "named.broadcast";
        allow-update { none; };
};

zone "0.in-addr.arpa" IN {
        type master;
        file "named.zero";
        allow-update { none; };
};

include "/etc/rndc.key";



and my email.tiptonservices.com.zone

Code: Select all

$ORIGIN email.tiptonservices.com.
$TTL 86400
@     IN     SOA    email.tiptonservices.com.     administrator.email.tiptonservices.com. (
                    2001062501 ; serial
                    518400      ; refresh after 6 days
                    3600       ; retry after 1 hour
                    604800     ; expire after 1 week
                    86400 )    ; minimum TTL of 1 day

      IN     NS     email.tiptonservices.com.

      IN     MX     10     mail.email.tiptonservices.com. ; this is the line for the mail MX records
#      IN     MX     10     email.tiptonservices.com. ; this is the line for the mail MX records
             IN     A       192.168.10.13
server1      IN     A       192.168.10.13
server2      IN     A       192.168.10.13

ftp          IN     CNAME   server2 ; this will cause ftp.centos5.com to resolve go to 192.168.10.13
mail         IN     CNAME   server1 ; this will cause mail.centos5.com to resolve to 192.168.10.13
www          IN     CNAME   server1 ; this will cause www.centos5.com to resolve to 192.168.10.13


Help me please if this is not configured properly.

Valerion
Scalix Star
Scalix Star
Posts: 2730
Joined: Thu Feb 26, 2004 7:40 am
Location: Johannesburg, South Africa
Contact:

Postby Valerion » Thu Feb 21, 2008 3:33 am

This is the kind of thing that's very hard to debug over the phone / web. I would need acces to your machines to fix this. I suggest you contact a Linux (specifically sendmail & bind) expert or Scalix reseller in your area and have him look at the servers to see where the issue is.

kool_kid
Posts: 179
Joined: Wed Dec 05, 2007 7:27 am

Postby kool_kid » Thu Feb 21, 2008 6:52 am

Valerion can you look into my computer if I give you remote access? I need to resolve this asap.


Return to “Installation”



Who is online

Users browsing this forum: No registered users and 1 guest

cron