Current time: 10-04-2024, 12:34 AM Hello There, Guest! (LoginRegister)


Post Reply 
disable mail handling for one or more domains
Author Message
motin Offline
Newbie
*

Posts: 8
Joined: Sep 2007
Reputation: 0
Post: #7
RE: disable mail handling for one or more domains
Thanks, but I ran into several other problems when trying to configure bind. They are now solved.

I had chrooted bind into /var/lib/named/ but the configuration files were put in /var/cache/bind/ instead of the chrooted location.

To sum my trial and errors experience up, this is what was needed:
Code:
chown bind /var/cache/bind/*
cp /var/cache/bind /var/lib/named/var/cache/ -r
rm /var/cache/bind/ -r
ln -s /var/lib/named/var/cache/bind/ /var/cache/
chown bind /etc/ispcp/bind/working/* # I guess...

Some error messages from /var/log/syslog I encountered on the way (to help googlers):
Code:
# originally:
Sep  5 22:12:50 ubuntu103 named[32479]: zone mydomain.net/IN: loading master file /var/cache/bind/mydomain.net.db: file not found
# this was when I symlinked the wrong way (out from chroot jail which is forbidden):
Sep  5 22:38:45 ubuntu103 named[515]: zone mydomain.net/IN: loading master file /var/cache/bind/mydomain.net.db: invalid file
# ...it should look like:
Sep  5 22:48:09 ubuntu103 named[645]: zone mydomain.net/IN: loaded serial 2007090500

Now the mails are delivered through my external mail server.

Thanks for all the bright guidance, joximu!
09-06-2007 07:03 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread

Forum Jump:


User(s) browsing this thread: 2 Guest(s)