Server :: Bind9 Stop Working When Installed Postfix On Ubuntu 9.10?
Feb 28, 2010
I have a Ubuntu server running in my house.Server name UshaMain PC name HomeLaptop 1 Named BooLaptop 2 Names Bobevery one is running Ubuntu 9.10The server is running Bind9 and Samba and is working from any other PC i can type ping usha and it will give me teh ip address of the server.This has been working for 4 months now.I just installed PostFix and nowthe only PC that is working with i ping the name USHA "server name " Is the server.The other three pc come back with the IP address of the domain for USHA.I have removed the Postfix from the server but the DNS is still not working for the other pc on the network.Ho do I get Bind working again form the rest of the PC.
I have an odd issue with postfix 2.5.5 trying to relay email internally to a range of mail servers and it keeps ignoring the transport map [ ] and instead always doing mx lookups.
Essentially the server is only allowing connections from an internal network and only for certain domains that it will relay to other mail servers.
It has no local delivery and yet every time I get email passed to it, it will check the local network DNS server for MX information or with diable_dns_lookups enabled (as below) the A record for the domain, and try to deliver to that instead of the transport map destination.
Here's the main.cf # See /usr/share/postfix/main.cf.dist for a commented, more complete version smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU) biff = no disable_dns_lookups = yes # appending .domain is the MUA's job.
I have a setup wth postfix, dovecot and sasl. It is setup to relay all my email through my gmail a/c mainly because my port 25 is blocked by ISP. I just setup postfix and dovecot with ssl/tls and according to docs I read it will now be connecting on port 465 for smtp. If I need to test if my setup is working do I need to change anything anything other than commenting out the relay line in main.cf. Am hoping I don't have to deletehe sasl_password file in case I need to revert back to old setup.
I'm trying to get my server back up to snuff. I'm using Debian Squeeze right now and I'm up and atom with apache, mysql, php, pureftpd, ssh, and I have squirrelmail installed.
My dilemma comes with the mail part of the whole ordeal, Postfix and Courier are installed, have their keys made, and for what I assume, are configured correctly. HOW do I make new virtual users? My domain points to this machine as well as my MX record for mail.mydomain.com.
I need IMAP and POP working. And upon the creation of new email users, will SquirrelMail interface with Postfix and Courier? When I installed SM I set it up for use with Courier.
I have installed bind9 for DNS. I have also installed Apache2, PHP5, MySQL, and correctly configured these together. When I view domain1.co.uk it currently works fine as required. I would like to change it to: * /var/www/domain1.co.uk/prod/ - becomes the root dir of domain1.co.uk * /var/www/domain2.co.uk/prod/ - becomes the root dir of domain2.co.uk
Nevertheless, I have created a the following files; these are copies of the "default" file and correctly amended. the required destination directories are in place! * /etc/apache2/sites-available/domain1.co.uk * /etc/apache2/sites-available/domain2.co.uk
I then executed: Code: sudo ln -s domain1.co.uk ../sites-enabled/domain1.co.uk Code: sudo ln -s domain2.co.uk ../sites-enabled/domain2.co.uk
It is important to understand domain1.co.uk and domain2.co.uk represent 2 Existing domain names I own, and both point to my server. domain1.co.uk currently works in /var/www Why I would like multiple domain names on the server.
i compiled and install postfix, and i using relayhost that point to my ISP. but my "DNS server" is on the same server where is installed postfix. and there is running apache with vhosts so i have domain that hosted on same server and in zonefiles of my domain my MX records points to Google Apps, to google's MX servers. But when i try send E-mail via sendmail to mail@mydomainonsameserver.com it not deliver mail to Google Apps totally, if i try to send to another E-mail everything fine it deliver it. so finally i done research this problem in Internet. And find that need to disable deliver mail to localhost(localdelivery)as i think postfix understand that the domain point to the same server where postfix have itself. and try to deliver mail local. but zonefile MX record even the domain on same server can point to another server outside. So i disabled localdelivery in postfix. and problem not fixed
I got a Debian 6 Server running and it uses Postfix as MTA. I have set up 3 Domains and a catch all rule. My virtual file looks like this:alice@aaa.com alicebob@aaa.com bob@aaa.com bob@bbb.com bob@ccc.com bobIt works fine so far. Now I tried to add this line on top:something@aaa.com aliceand it did not work (mail gets delivered to the catch all address). It seems, it works ONLY if the part before the domain and the local recipient are equal. Does that make sense to anyone? What did I missconfigure
On my virtual server I had the same issue within the last three month. The postfix daemon stopped working suddenly and I don't know why. I can restart postfix normally and it's working normally for a couple of weeks until the next crash. Does anyone have the same problems with CentOS 5.6 and postfix?
I am re setting up a server of mine running red hat enterprise Linux server 6 and I had all of this working befor but for some reason I had troubles getting sasl to work and now when I login my smtp server I get an error stating that my username or password is incorrect though I am sure I am entering both correctly. Would anyone know what could be happening? I have been spending days on the web looking for the solution and only went from sasl not working when started as a service to this. For some reason I can't use Pam with saslauthd and had to use shadow instead of which from what I hear I get to use better methods of secure authentication with smtp
Set up a server with Bind, Dovecote, Apache etc. Registered a domain and made all the necessary things for it to work. The server can send/receive mail on my domain, but when I try to look up the site I have it returns a lookup failure. I know Apache is working as I can browse the site when I used my ip address but I can't when I use the domain name. Anyone got a few tricks I could try to dumb down and find the possible failures I did when setting this up?
I am migrating my server from Kloxo (lxadmin) to Ubuntu (webmin/virtualmin), and I already had my Nameservers on my register (Godaddy) to go to [URL] and [URL] along with my IP. (I set the ttl to 60 cuz I thought that might be a problem) Now, I do a dig [URL], it gives me this output.
I randomly started up my laptop one day and the mouse and keyboard stopped responding once GDM's login screen came up. Everything works fine from the console, but even if I run startx from the login shell the mouse and keyboard do not work, even though everything else in GNOME runs perfectly.
I am using an HP dv6426us laptop running Ubuntu 9.04 (i686 architecture with the 2.6.28-15-generic kernel). Below is a copy of my xorg.conf file, just in case there might be something wrong with that. I will try and put more information on, but seeing as I have to use a different computer to post this thread, copying over log files and stuff is difficult for the moment (though I am going to try and copy them over to a flash drive).
I'm just getting started with postfix for the first time (using courier pop) and everything is working well. However I can't seem to figure out how to only allow some system users to have mailboxes?
For example I have a few accounts which are FTP only accounts but they still have mailboxes under postfix? Is there any way to tell postfix the accounts that I actually want mailboxes for?
Also on a side note, I notice that mail seems to be stored under the user's home directory. I'm scared they may accidentally delete them.
is there any HOWTO for configuring Webmin Postfix server with multiple postfix virtual hosts? Seems to be a tough challenge to set it up without any easy manual..
especially to ubuntu server 8.04 because it doesnt use a GUI. Now my question is on how to insert IP address in configuring DNS server using bind9. Actually i'm using this guideBut i m not sure on how to insert IP addresses on the primary master and secondary master. Should I insert the Ip address that i found when i type ifconfig ? or Should I assign a new IP address.I have set up a webserver, DNS server, File server and mail server on a virtual box. For now, at first, im working with the DNS server or should I work with the web server first?what should I do?
so i set out to change the default smtp port the server uses because my ISP blocks port 25 and i need the email to work in outlook. this morning i could receive email, but not send it. so i did some research and thought that i needed to edit the master.cf file in /etc/postfix/ by commenting out this line: smtp inet n - n - - smtpd -oand replace it with587 inet n - n - - smtpd (587 being the port i want to use)somewhere along the lines postfix server stopped running and now i cannot get it to start.if i try using SSH it crashes immediately and if i restart it in simple control panel nothing happens
I recently moved over user from an old box running postfix(v 2.0.16) over to rhel 6 running postfix (v mail_version = 2.6.6). ive tried to make sure all the files are of correct permissions and that the main.cf file is configured corectly. However there is something wrong as when i run postfix: service postfix server i get no error but when checking the status:service postfix status i get: master dead but pid file exists Looking into /var/log/mailog i find this line being the issue:
I have a web server on my local network with a couple domains facing the internet. When I visit these domains from within the network I'm directed to my routers configuration page due to hairpin NAT.
So I installed BIND9 on the server and set up my forwarders to Google DNS to act as a Caching Nameserver. Then I set my routers DNS primary and secondary nameservers to the IP of the local BIND server. Everything is working great.
Now I need help configuring BIND so that the domains hosted on the web server within the network are routed to the web server and not the routers configuration page.
Im using bind9 as DNS server on my LAN, but it does not seem to translate its own hostname correctly for some reason. Other hosts is translated correctly, the problem only seems to apply to the DNS host itself. if i "ping <server_hostname>" from the server, it translates correctly. But if i "ping <server_hostname>" from the client it only says "unknown host" The client has the correct DNS-server assigned. How can i start troubleshooting this?
The thing is, I've created a new local zone here (called "local.lan"), and, aparently, it is working fine, and DHCP3-SERVER is updating DNS info through the controls.But sometimes I get some strange answers from the server, like when I do the "arp" command in one of the clients, and get the server's hostname "mixed" with it's own reverse, like this: "dns.local.lan.2.168. | ether | 00:02:1e:f5:61:74 | C | eth0". Other thing is that sometimes my DNS don't update when a computer "enters" the lan. In the /var/log/syslog the DHCPOFFER appears, but the information about the DNS update isn't there.So, I would like to show you my named.conf file and my local zone db file, and get some feedback from you (what would you change... what is wrong...).
I have my bind9 DNS server running on Ubuntu with logging on. What's bothering me is that I have log full of localhost queries instead of from IP of the computer which actually asked.DNS queries log:/var/log/named.queries.log
Code: 24-Feb-2011 16:01:19.413 client 127.0.0.1#38022: query: clients4.google.com IN A + (127.0.0.1)
I'm running bind9 on Debian 6. I have a primary domain, 44kg.net, fully configured and working dynamically (the server also runs DHCPd and updates the DNS records properly).
[Code]....
To access my externally-facing website, which has a blog and a forum which are keyed to the external domain, I set up the domains in bind so they would resolve to the server's internal IP. This worked great for a few months, then inexplicably ceased working. I didn't touch anything, but it coincided with our router dropping its VLANs. I've moved the server to a different location and it's still not working properly. Whenever I try to lookup the external domains, I get SERVFAILs. This is annoying because the internal domain is fully working and I copied the basic settings.
I followed blindly this how to : [URl].. out of laziness and then for some reason bind9 didn't want to start. So I tried to apt-get remove it, but when I re-install it, it failed because
Code: chgrp: cannot access `/etc/bind/named.conf*': No such file or directory so I assume the chrooting stuff I did is in the way, but I know very little about chrooting and permissions ... how can I undo the following things I did : Code: /etc/init.d/bind9 stop
I recently installed ProFTPD on a Centos Linux with configure,make,install...(yum install proftpd didnt work) i installed everything it works but i cant control it through Service like, Service proftpd start,reload,stop like i used to on older servers.
Location and syntax of named.conf in Ubuntu's version of BIND 9. I already have an HTTP server (in the form of Apache) along with forum software set up on my Acer netbook. However, the only way I can access the forum software is if I type in my IP address. How do I set up my named.conf to get the IP address to redirect to a domain? I already have my resolv.conf configured to allocate a domain to the IP address, but testing the ping of the site returns a "No such domain" error.
I'm trying to set up a bind9 server for my home network, I have all my IPs set to 10.0.0.X. I would like the forward and reverse to be simply "machinename", not "machinename.domain.com", as I don't want to type a domain everytime.
In my named.conf zone "net.local" in { type master; file "/etc/bind/net.local.ns"; allow-update { none; };
Is leading whitespace significant in bind9 config files? This reverse lookup file (/var/chroot/bind9/etc/bind/zones/rev.168.168.192.in-addr.arpa) did not work; /var/log/messages had "zone 168.168.192.in-addr.arpa/IN: has no NS records".Inserting 3 spaces before IN in the NS line fixed it:
Code:
; IP Address-to-Host DNS Pointers for the 192.168.168.0 subnet @ IN SOA CW8vDS.localdomain. hostmaster.localdomain. ( 2011041901 ; serial 8H ; refresh
[code]...
Reading the man pages and netsearching, I did not find anything about indentation requirements except for "This is usually indented for readability, but the indents are required syntactically" here.Although the above file works, named-checkconf reports an error in it:
Code:
root@CW8vDS:/var/chroot/bind9/etc/bind/zones# named-checkconf rev.168.168.192.in-addr.arpa rev.168.168.192.in-addr.arpa:1: syntax error near ';'
but named initialisation does not log any errors or warnings in /var/log/messages when processing this file except "/etc/bind/zones/rev.168.168.192.in-addr.arpa:2: no TTL specified; using SOA MINTTL instead".