[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] accepting mail for a domain



Dylan,

It sounds like the html pages for the sites are out of sync with the
virtusertable. My one of my raq2's does the same thing.  To fix it edit the
/etc/virtusertable file and find a line like this  (first make a copy of the
file in case you want the original back later):

@somedomain.com.au %1@xxxxxxxxxxxxxxxxxxxxx

remove the line and then rehash the virtusertable (makemap)

Then in the gui, check accept email for domain for that domain.

I think your question regarding domains, subdomains, MX records and how
sendmail
might handle such configurations depends on several factors.  I have never
used a Cobalt for
DNS so I'm not sure how you might set it up using a Cobalt.  Under ordinary
bind, if the files are setup
correctly, there should not be any overriding.  An example zone file might
look like this:
____________________________________________________________________
$ORIGIN net.
testnet 86400   IN      SOA     dns.testnet.net.
hostmaster.testnet.net.
(
                        20000706 ; serial
                        28800 ; refresh
                        7200 ; retry
                        3600000 ; expire
                        86400 ; default_ttl
                        )
testnet 86400   IN      NS      ns.testnet.net.
testnet 86400   IN      NS      ns2.testnet.net.
testnet 86400   IN      MX      10      mail.testnet.net.
subdom.testnet  86400   IN      MX      10      srv.subdom.testnet.net.
testnet 86400   IN      A       192.168.1.174
$ORIGIN testnet.net.
localhost       86400   IN      A       127.0.0.1
ns      86400   IN      A       192.168.1.171
ns2     86400   IN      A       192.168.1.172
mail    86400   IN      A       192.168.1.173
www     86400   IN      A       192.168.1.174
$ORIGIN subdom.testnet.net.
srv     86400   IN      A       192.168.1.175
________________________________________________________________________

Testing with nslookup:

[root@mail named]# nslookup
Default Server:  localhost
Address:  127.0.0.1

> set type=mx
> testnet.net
Server:  localhost
Address:  127.0.0.1

testnet.net     preference = 10, mail exchanger = mail.testnet.net
testnet.net     nameserver = ns.testnet.net
testnet.net     nameserver = ns2.testnet.net
mail.testnet.net        internet address = 192.168.1.173
ns.testnet.net  internet address = 192.168.1.171
ns2.testnet.net internet address = 192.168.1.172
> subdom.testnet.net
Server:  localhost
Address:  127.0.0.1

subdom.testnet.net      preference = 10, mail exchanger =
srv.subdom.testnet.net
testnet.net     nameserver = ns.testnet.net
testnet.net     nameserver = ns2.testnet.net
srv.subdom.testnet.net  internet address = 192.168.1.175
ns.testnet.net  internet address = 192.168.1.171
ns2.testnet.net internet address = 192.168.1.172
>



John Burgess
fastex.net

----- Original Message -----
From: "dylan" <dylan@xxxxxxxxxxxxxx>
To: <cobalt-users@xxxxxxxxxxxxxxx>
Sent: Monday, September 04, 2000 8:56 PM
Subject: [cobalt-users] accepting mail for a domain


> Hello All,
>
> Thanks for the makemap command syntax everybody who answered.
>
> I would like to setup a subdomain of -
>
> domain.com.au
>
> and accept mail for it, However when I try I get the message 'another site
> is already accepting email for this domain' although   domain.com.au
> certainly does not accept mail (that is done by another server -
> mail.domain.com.au ) It is probably a subdomain that is accepting it.
>
> can I -
>
> a) find the subdomain accepting mail for domain.com.au by looking through
a
> conf file rather than waiting for the GUI which crawls along...
> b) configure subdomains of domain.com.au to accept mail individually?
>     eg user@xxxxxxxxxxxxxxxxxxx and user@xxxxxxxxxxxxxxxxxxx
>
>
> I would like to be able to send mail to username@xxxxxxxxxxxxxxxxxxxxx
> as well as user@xxxxxxxxxxxxx (which resolves to another server). Does the
> MX record for domain.com.au  override any MX record I create for a
subdomain
> of that?
>
> The domain/subdomains are hosted on a Raq2 with a zillion patches. The
raq2
> is actually working well - ripleys believe it or not.
>
> Cheers,
>
> Dylan O'Donnell
> dylan@xxxxxxxxxxxxxx
>
>
> _______________________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> To Subscribe or Unsubscribe, please go to:
> http://list.cobalt.com/mailman/listinfo/cobalt-users