[Fixed] Mail Server Problems

UndeadDragon

Super Moderator
Reaction score
448
I have been having some problems configuring the mail server (I use postfix) on my VPS.

I have set it up along with Virtualmin and Webmin and it can receive mail fine, however the problem it has it that it cannot send the mail to an external server. (It's fine to send it to another domain on my server). The error I get in my log is: (The email address I'm sending to is @btinternet.com)

Code:
Host or domain name not found. Name service error for name=btinternet.com type=MX: Host not found, try again

I have been experimenting and I realised I cannot ping the hostname of any site (although, I can dig it), however I can ping the IP of any server. I'm guessing that my problem is probably due to this, however my experience with Linux is letting me down and I have been struggling to fix it.

Operating System: CentOS 6.0
Main Domain: webemblem.com (DNS should be set up properly)

Anyone have any ideas?

EDIT: I have now fixed this problem after hours of searching and testing and stressing.

Basically, when I installed Virtualmin (a domain management program) it incorrectly configured my /etc/resolve.conf, so I went and edited this to what it should be and this fixed all of my problems.
 

Ghan

Administrator - Servers are fun
Staff member
Reaction score
889
Y u no use Google Apps email? D:
 

Ghan

Administrator - Servers are fun
Staff member
Reaction score
889
The free version is 10 accounts maximum. More than that and you have to pay. It completely removes administration of an email server from your end. You just need to sign up for their service and setup the MX records. Then you can do all account management through gmail, and users can login to their @yourdomain.com email account with gmail. We use it for TH - it's awesome.
 

UndeadDragon

Super Moderator
Reaction score
448
The free version is 10 accounts maximum. More than that and you have to pay. It completely removes administration of an email server from your end. You just need to sign up for their service and setup the MX records. Then you can do all account management through gmail, and users can login to their @yourdomain.com email account with gmail. We use it for TH - it's awesome.

Ah that sounds pretty awesome. I'm sure some of my clients would also appreciate the ability to login via gmail to their own domain's email.

It's definately something I will be looking into, and it seems a shame that I have now fully configured my mail server :p
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top