I have a lot of questions here so if you can't answer them all I understand. even pointing me somewhere where I could get the answers would be appreciated; hardware sites focusing on server hardware, forums focusing on such, etc.
we plan to have three different types of servers:
- db server (self explanatory. mysql. for forums, mysql driven sites.)
- file server (lots of files around ~2-10MB, consistant 70mbps right now, but we want more room for upgrades. needs a LOT of storage room.)
- web server (lots of php files, but also static things like plain html, images, etc. also includes all misc services for the setup-- dns, etc.)
could I be given a rundown for which hardware each of the three should have? I don't need specifics, even just knowing that more ram is important here while cpu doesn't matter as much, or that the fastest disks available are a must, etc would all be valuable info for me. despite that, I certainly wouldn't mind specific hypothetical hardware configs.
for the database server I'm assuming the more ram the better. not entirely sure about the cpu? also not positive on disks...
for the fileserver, how much ram would be practical or useful? disk io will be an issue I'm because plenty of people will be pulling files at once so the disk needs to read from multiple places. scsi (and even raptors) are not an option as we need 750GB+ of space on a reasonable budget. more ram will take some load of of the disks, but how much is neccessary / reasonable?
for the web server I'm assuming cpu first, then ram, but it'll likely need less ram than the db server?
I'm more lost on the disks than anything. scsi on the fileserver is not an option under any circumstances due to $/GB. for the db & web server I'm willing to pay for scsi if the performance increase really does warrant the extra money, but I'd like to be convinced before shelling it out. if you have benchmarks geared at server hardware when it comes to disks I'd really appreciate it.
also, what's the best way to network these together when colocated? each one with a dual gigabit ethernet port and then the communications go to and from the router?
I recently installed a plesk on a vps in OVH hosting, and after that i installed a new domain on it. I'm getting errors sending emails and some email providers return them or consider them as spam.
what file and what area to change which networks are authorized to send mail from the VHCS control panel
I want to be able to send emails from other servers on the same network through this linux server but I need the vhcse to allow access from the other machines.
I was wondering if it is possible to cluster 2 web servers and 2 mysql servers with only one server working as load balancer.
I am planning to use LVS (ldirectord and heartbeat).
Let's say I have 3 IPs allocated to the load balancing server.
111.222.111.222 (Main IP) 111.222.111.223 (Web Load Balancing IP) 111.222.111.224 (MySQL Load Balancing IP) If a connection is made to .223 it would pass the request to one of the web nodes. If a connection is made to .224 it would pass the request to one of the MySQL nodes.
Is it possible to do this?
If not, can I run, for example, nginx on 223 IP address to provide forward proxy? (Then it would not be able to HA but the main point is to load balance so)
Also, what would be the best way to keep the data same on both web servers? This is a web cluster for a very high traffic forum with a lot of uploads every hour so it has to do real time synchronization. I heard that DRDB is only one way and not two way so I'm not going to be able to use this.
I am just colocating servers and managing them myself, and renting services off of them. In the future I would like to start offering dedicated servers as well. I am wondering if many companies do this, or if its more of a general practice to just setup as a reseller? The worst part that comes to mind is thinking of how to do billing for the bandwidth per month. With my setup I would only be offering flat bandwidth packages (like 2TB a month) but even so, I cant think of anyway to automate it so WHMCS knows if they went over, if so, how much, etc.
I have configured my yahoo domain to use Leaseweb shared Linux hosting by changing my A records to my hosting IP. When I check my yahoo domain control panel I see,
Type: >>>>>>>>>>>>> Source: >>>>>>>>>>>>> Destination: CNAME Record>>>>>>>>>>>>>mail.mydomain.com>>>>>>>>>>>Yahoo! Hostname Problem
All my email addresses that I created from Leaseweb plesk control panel can not receive any emails (test emails bounce back with a failure notice)
I think I have to change the above CNAME record in yahoo domain control panel to leaseweb mail servers.
mail.domain.com is used as the MX record and is where users point their mail clients for POP/IMAP access. I'm obviously going to be relocating the record to a new IP.
My questions are:
In the interim period, can I have exim 'redirect' POP/IMAP connections to the new IP (for users), and can I have exim relay/forward (not sure on the term in this case) mail received from old DNS caches to the new mailserver IP?
For mail server admins, do you enforce PTR (reverse dns checks) on incoming mail? All hosts know to have rDNS set on their mail IPs to ensure free-flowing outbound mail but do you also enforce the check on inbound.
And does anyone know of somewhere that shows stats on the state of net and what perecentage use PTR checks etc?
What I wanna do is synchronize both of them using rsync. Once they've got synchronized, the UK will be the primary server and US will be secondary, in case the UK goes down.
my questions are
1. Is it possible that when the UK goes down, the A records for domain.com automatically switches to the US server so it can take over while UK is down.
ie. UK ip 112.113.114.1 US ip 222.111.444.5
domain.com A records = UK ip when up... but when UK is down, A records automatically changes to US ip.
2. And when the UK server goes up again, whatever changes made to US server will be pushed to UK. May it be files, accounts or e-mails.
I.E.
UK and US are synchronized every 30mins. UK and US both have e-mails 1-10.
Just before the sync time, UK server received an e-mail 11-15 then goes down. So the US Server will take over but do not have 11-15 mails, since it was received before sync time. During the UK downtime, US server received e-mails 16-20.
When the UK server goes up, will it be possible to sync both servers that both of them will have the e-mails 1-20?
I hope you get my point...
If these are not feasible, what can you advice as an alternative solution. All I want is to avoid downtimes, especially with mails as the business relies on this.
I am moving a couple clients over to my server tonight, but I wanted to make sure I took steps that they don't miss any e-mail that might be sent. It is my understanding that say the switch happens tonight at midnight. Any e-mails they did not download from the old server will be stuck on there correct? Because they would come in the next morning and hit outlook and download just from the new server?
Is there a set protocol for doing this move with minimal client hic-ups?
i'm running a forum and a few other things on a futurehosting VPS plan which is running centos.
we changed to futurehosting because our shared hosting was definately not coping with it, so we had to make a quick changeover... unfortunately i dont have too much experience with setting up mailservers in linux(which seems to be a massive complicated mess involving a million different services).
i'm wondering if anyone knows any guides to setting up a mail server + have a managable web interface to add user accounts/setup forwarding rules and such that works well with centos?
or better yet, is futurehosting capable of doing it for me
I have a virtual dedicated server with GoDaddy. I don't know to much about managing a server, but have been doing ok for the last 5 months or so (so please make any explainations VERY simple)
I run several pretty heavy traffic sites, and the scripts on the sites send out automatic notifications to the user base that has requested such notifications (new responses, new listings etc..) and in the past few days NONE of those emails are making it through.
The mail just DISAPPEARS! I'm not getting any bounced email, the mail queue manager has only the same spam as not being allowed through, and I have restarted exim, GoDaddy also says that mail IS being sent from the server, they just can't explain why it isn't being delivered, and I'm not going over the max amount I can send daily.
I have NO clue what is going on and ANY help is REALLY appreciated!
Also, the forwarders are still working (mail sent to user@domain.com still gets successfully forwarded to the correct email address)
I don't know much about technical details of mail servers. But i want to discuss a serious problem i am facing now. I have a reseller account with jodohost. I am not a reseller but i need this to host 20 of my own and client sites. During last few days no. of emails coming to us dropped almost 60% and suddenly i found that i was not getting emails from few of my clients. Then today i got a call from two of them and they said that all emails they were sending to me, were bouncing back.I asked them for a copy of bounced emails which they sent to my gmail account and i forwarded it to my jodohost support. This the response i got-
All of our mail servers have reverse DNS and mails are delivered. anyone not having rDNS is not able to mail much of the internet already, they really must talk to their system administrators and get reverse DNS setup.
Now they say that my clients do not have rdns at their mail servers and emails from them can not be delivered to my account.
Is rdns compulsory to send emails from a mail server these days?
But in that case i may not get emails from so many inquires?
I have a couple cpanel servers and am interested in setting up new server (without cpanel) that I would use as a mail server for all the other cpanel servers. This server would also interface with my mailfoundry anti-spam solution. Can someone point me to any tutorials/how-tos for setting up a standalone mail server that still works with email account creation, etc, aspects of cpanel?
I have 1 site on a dedicated server, this site can send mails to any server in the world, except to hotmail... I dont know why, each time we try to send a mail using a PHP Script (using nobody as user, as you can see in the code below) the server rejects the email sent to hotmail, this is the error:
Code: 2007-09-08 21:24:13 1IUCT7-0004BE-7A ** destinationuser@hotmail.com R=lookuphost T=remote_smtp: SMTP error from remote mail server after MAIL FROM:<nobody@server.theserver.com> SIZE=31435: host mx4.hotmail.com [65.54.244.232]: 550 Your e-mail was rejected for policy reasons on this gateway. Reasons for rejection may be related to content with spam-like characteristics or IP/domain reputation problems.
If you are not an e-mail/network admin please contact your E-mail/Internet Service Provider for help.
For e-mail delivery information, please go to http://postmaster.live.com
I checked and the server IP is not listed at any SPAM list, also domain has an SPF record that is configured like this:
Code: domain.com. 14400 IN MX 10 mail.domain.com.
mail 14400 IN A 89.XX.XX.XX www 14400 IN A 89.XX.XX.XX ftp 14400 IN A 89.XX.XX.XX server 14400 IN A 89.XX.XX.XX domain.com. IN TXT "v=spf1 ip4:89.XX.XX.XX a mx a:mail.domain.com ~all" Is the SPF record well configured?, and the MX record, i think its OK... never had issues with this kind of config on normal sites..
Just in case it helps, at /etc/localdomains i have 2 sites, the server hostname and the site domain.com.
I'm trying to see if it's possible to have 2 email addresses on the same domain (e.g. email1@domain.com and email2@domain.com) but are handled by 2 different email servers (e.g. mail.domain1.com and mail.domain2.com)?
To put it into context, I have a domain hosted on my dedicated server and a couple of email accounts set up on it. I also have another mail account set up on a different server but with the same domain. I was wondering if maybe something could be done with the DNS to allow the 'external' mail account to be handled by the other server?
The thing is that the emails that are going to gmail servers are getting stucked on my mail queue, here is the log of one mail in exim:
Message 1KyWoL-0004jv-FS is no longer frozen LOG: MAIN cwd=/usr/local/cpanel/whostmgr/docroot 4 args: /usr/sbin/exim -v -M 1KyWoL-0004jv-FS delivering 1KyWoL-0004jv-FS Connecting to gmail-smtp-in.l.google.com [74.125.45.27]:25 ... connected SMTP<< 220 mx.google.com ESMTP 34si8790560yxm.0 SMTP>> EHLO srv211.xxx.cl SMTP<< 250-mx.google.com at your service, [64.76.xxx.xxx] 250-SIZE 35651584 250-8BITMIME 250 ENHANCEDSTATUSCODES SMTP>> MAIL FROM:<consultas@xxxx.cl> SIZE=1957264 SMTP<< 250 2.1.0 OK 34si8790560yxm.0 SMTP>> RCPT TO:<xxxxx@gmail.com> SMTP<< 250 2.1.5 OK 34si8790560yxm.0 SMTP>> DATA SMTP<< 354 Go ahead 34si8790560yxm.0 SMTP>> writing message and terminating "." LOG: MAIN == xxxx@gmail.com R=lookuphost T=remote_smtp defer (-1): smtp transport process returned non-zero status 0x000e: terminated by signal 14 LOG: MAIN Frozen
It happens on all my servers (i have 4) and i don't know if the problem is mine, gmail's or even my datacenter
I have all my services running, (though i restarted exim anyway)
I just switch to a new server and I found out that hotmails is marking all my mail as spam, it goes directly to the junk mail folder, however gmail and yahoo is ok.
I have a broken reverse dns thought that my be but I'm not sure, anyone have any experience regarding this?