Plesk 12.x / Linux :: Setting Up Mail With Hostname Hosted On A Different Server
May 14, 2015
I have a server that I use to host my primary domain, and I have a cople Plesk servers, now I updated the hostnames of all the servers like
Code: s1.de.myserverplace.de
Now when the plesk server sends a mail it goes in spam always,
In the SPF records of the primary domain sits this
Code:
myserverplace.de. IN TXT "v=spf1 a mx a:myserverplace.de a:s1.de.myserverplace.de ip4:148.251.100.157 ip4:144.76.163.46 ip6:2a01:4f8:201:81b8::60 ?all"
But when I actually send the mail in the headers of the received mail I get this.
Code:
Received: from s1.de.myserverplace.de (s1.de.myserverplace.de. [144.76.163.46])
by mx.google.com with ESMTPS id p2si2158952wjy.73.2015.05.14.04.09.17
for <mymailtestacount@gmail.com>
(version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
I am currently with MediaTemple and my hostname is automatcially as.mydomain.com, they have told me that the as is deprecated now and I can chose what to put for the hostname... Do I just put www is that how it works?
I enter one of my IPs or the hostname belonging to this IP, followed by the Plesk port, and I get redirected to the "main" hostname of the server, which was set in Plesk. But at this moment that hostname is used by another server (my old server) and so I'm redirected to the other server and cannot access Plesk on the new server.
I don't know why Plesk reacts like this, because it did not on the old server. Here the problem more detailed:
I'm just configuring my new server with Plesk 11. My old server uses Plesk 10. On my old server / in Plesk 10 I have the following scenario:
- I have several IPs (10) - Each IP is used for a different domain - Each IP has it's domain as the reverse entry (configured outside of the server/Plesk) - Each IP is set to "Dedicated" in Plesk - I set Plesk to listen only on one of these IPs (and different port) - Several domains are created in Plesk, but not a domain for my Plesk IP - The server's name is one of the domains (required for mails not being recognized as spam) - The hostname of the Plesk IP is one assigned by my provider (something like x-x-x-x.xyzservers.com) - Entering the IP of Plesk redirects to the "Plesk hostname" => Plesk can be accessed by using x-x-x-x.xyzservers.com:myport
And under Plesk 11 (here comes the problem):
- Still several IPs (but less: 4) - One IP should be used for Plesk, one for domain X, one for domain Y and the last one for the other domains - Reverse entries are x-x-x-x.xyzservers.com for Plesk IP, domain X/Y for two other IPs and the main domain for the last IP - Plesk IP and the two single domain IPs are configured as dedicated, the last one as shared - At this point I did not configure any domains in Plesk - Server's name is the same as my old server (the main domain) => Entering any IP with the Plesk port redirects to the servers hostname, e.g. my main domain, which is still on the old server. => Result: I cannot access Plesk!
Of course I could just change the hostname of the server via SSH (just have to find out how to do this), but why does Plesk react in another way now? Or is the problem that I cannot change Plesk to listen on only one IP?
I'm wondering whether it is possible to perform a full server migration to a new Plesk server with the same hostname or will Plesk give an error about the hostname being the same?
The new server would not be accessible by hostname (only via IP) until DNS and glue records were changed after the migration.
I am running a CentOS 6.5, 64-bit server with Plesk 12.0.18, and need to install a wildcard SSL for one of the domains/sub domains hosted on this server.
So you have the csr and private key installed (and domain.crt?), you just need to open..
I've got a situation in which I need to have a set of mail accounts that share a domain name with a domain that's already in use as a domain alias and because the domain is already in use, I'm unable to create a new account using that domain. I tried explicitly adding "www" to the domain alias so I could keep the www.domain.com address as an alias and reserve the "domain.com" name for use as a separate account, but Plesk won't allow for that.
How to address this? The idea I'm currently considering is to delete the domain alias and then create the new account and manually set the DOCUMENT ROOT of the new account to refer to the other domain's document root. I'm sure this could create some difficulty in Plesk so I'm looking for input before trying it. I'm actually not even sure exactly where I would be able to redefine the document root with Plesk allowing the change and not overwriting it later.
If all else fails, I can setup a new account on a different and unrelated Plesk server, but I'd prefer not to do that.
When I hit my server's domain it redirects me to one of the hosted sites' domain with a 302 redirect. It used to return the default plesk server page. How can I cancel the redirect?
Say for example I have a cPanel dedicated server, with a hostname> earth.anonymous.com which is where I host several resold shared accounts all using my nameservers, ns2.anonymous.com and ns2.anonymous.com
I am using the cPanel dns, simply pointing the domain namesevers to two IP`s given in my IP allocation.
I wish to lease another server, using the hostname: venus.anonymous.com
This is where I start getting confused with the domain/dns. Would it be easier for me to use a third party dns service such as easydns to host the actual main domain dns?
If someone can understand what I`m getting at here, could they give me a few tips of getting this setup and easy and reliable as possible.
A lot of hosting companies are using anonymous hostnames, is this a good plan?
Now with Plesk 12 (and I suppose all previous versions) we can't change the SMTP banner to something other than the hostname.But If server host different IPs with different domains,only the primary IP do not have problems for email delivability all other domains are marked spam.This is a critical issue for email deliverability. Very critical issue that should be solved asap.the only solution that we found with our systemists is to remove Plesk, but sure it's not what I would like to do.
I use PLESK 11 on one of my servers, and use NS.mydomain & NS1.mydomain, everything works fine, DNS Zones are OK, reverse DNS is OK...
Except on MXTOOLBOX this :
SMTP Valid Hostname > Reverse DNS is not a valid Hostname SMTP Reverse > DNS Mismatch OK - 195.154.XXX.XXX resolves to mydomain.eu SMTP Banner Check > OK - Reverse DNS matches SMTP Banner
Tried so many searches on Google, but no response and always 3 same pages from MXTOOLBOX.
I migrated IP of this server in datacenter, because they ask us to do it, so in /etc/hosts for example I found old IP, I changed it, restart network interface, but always the same thing... postfix too (changed IP and restart).
This is a clean installation of Plesk, nothing else has been done on the server. After the Plesk 12 Installation I installed the Route53 Extension directly from the Panel.
I authenticated with the Access ID / Secret key, as soon as I start creating Domains I get duplicated zones in Route53. When I delete the Domain from Plesk only one Domain gets deleted, the other one remains.
This is my debug log where I see it executes the script twice:
I know how to do this by analysing the headers, but we have a customers who doesn't believe what we are telling them.
Is there some kind of 3rd party service or script that we can point them to? So they can send an email to the service (or paste headers, or whatever) and it tells them who is the sending mail server hostname/ip?
(The problem is that this customer doesn't understand that all email sent from the server uses the same SMTP server hostname/ip. They are convinced that if they connect to "mail.their domain.com" then this is what is reported as the sending mail server/IP.)
Why I am getting this even when mail server is hosted with Google? Need help
WARNING: One or more of your mailservers is claiming to be a host other than what it really is (the SMTP greeting should be a 3-digit code, followed by a space or a dash, then the host name). If your mailserver sends out E-mail using this domain in its EHLO or HELO, your E-mail might get blocked by anti-spam software. This is also a technical violation of RFC821 4.3 (and RFC2821 4.3.1). Note that the hostname given in the SMTP greeting should have an A record pointing back to the same server. Note that this one test may use a cached DNS record.
ASPMX3.GOOGLEMAIL.com claims to be non-existent host mx.google.com: 220 mx.google.com ESMTP f57si1559242pyh ASPMX5.GOOGLEMAIL.com claims to be non-existent host mx.google.com: 220 mx.google.com ESMTP i19si1284280wxd ASPMX.L.GOOGLE.com claims to be non-existent host mx.google.com: 220 mx.google.com ESMTP d22si873775and ALT2.ASPMX.L.GOOGLE.com claims to be non-existent host mx.google.com: 220 mx.google.com ESMTP 44si734714wri ALT1.ASPMX.L.GOOGLE.com claims to be non-existent host mx.google.com: 220 mx.google.com ESMTP f13si1305533qba ASPMX4.GOOGLEMAIL.com claims to be non-existent host mx.google.com: 220 mx.google.com ESMTP 54si3483902ugp ASPMX2.GOOGLEMAIL.com claims to be non-existent host mx.google.com: 220 mx.google.com ESMTP i5si2257768mue
the hostname is www.domain.com also in the serversettings of plesk. When we go to http://www.domain.com:8443 we become redirected to https://www:8443. The only way to connect to plesk is to use https the redirect from http doesnt work.
Seems this started when upgrading to a version of 12. It was working a few days ago and only seems to affect mailing lists. I found a google Cached thread here where Igor was assisting some folks as late as Aug 4 and referenced this was "reported to development (PPP-10678 for your reference)" it seems the forums on Parallels changed or something because several Google links are not working and resulting in having to used cached results for the two links below.
I am able to disable SPF and the e-mails go through just fine however this was working with SPF enabled before a recent upgrade.
Page 1 [URL] ....
Page 2 [URL] ....
This is the error message displayed in /var/log/maillog Sep 24 01:38:35 controlpanel postfix/smtpd[3725]: connect from localhost[127.0.0.1] Sep 24 01:38:35 controlpanel postfix/smtpd[3725]: D565017C013E: client=localhost[127.0.0.1] Sep 24 01:38:35 controlpanel greylisting filter[3899]: Starting greylisting filter...
I am trying to increase the PHP memory limit for all Plesk hosted sites.
I've updated the 'memory_limit' setting in /etc/php.ini
Then I ran
Code: /usr/local/psa/admin/sbin/httpdmng --reconfigure-all /usr/local/psa/admin/sbin/httpdmng --reconfigure-server Checking a phpinfo() page on hosted sites I see that this setting has not been effective.
Checking some /var/www/vhosts/system/domain.com/etc/php.ini also shows the old setting, and I can see that these files have not been updated.
I note that all these domain php.ini files have been modified earlier today, all at the same time, so presumably some process did regenerate them earlier. All these files hae the "DO NOT MODIFY ..." heading
I realise that I can go the the domain in Plesk GUI and save the PHP settings to force an update, but is there anyway to force the regeneration of all of these files via CLI?
our company is ordering a new dedicated server and we are a little unsure what we should choose as far as the full hostname and nameservers of this one server.
This server will have a couple different websites on it, but really, there is only one BIG website on it... let's call it abcd.com.
While most would pick a hostname of host.abcd.com for instance, if at all possible, we would like the domain name part of the hostname to be something different than abcd.com. We own a domain name that doesn't point to anything yet (unuseddomain.com) and we were wondering if we could use that domain in our hostname.. host.unuseddomain.com.
And instead of using abcd.com as the domain name for our own nameservers (ie. ns1.abcd.com, ns2.abcd.com), we would like to again, use the unused domain name we own (unuseddomain.com) for the nameservers domain name: ns1.unuseddomain.com, ns2.unuseddomain.com.
So...
Will this work? Is this perfectly acceptable?
And lastly...
Since the one website we really care about on this server (the one we got the server for in the first place) is abcd.com, is using the unuseddomain.com for the hostname and nameservers (as above) a bad choice in anyway regarding email deliverability? I understand that mail ISP's (hotmail, yahoo, etc.) do all kinds of checks on hostnames (PTR), etc... and we want to make sure that we aren't hurting ourselves in anyway by using an "empty" domain name that we own as our hostname's and nameserver's domain name.
For instance, if we send mail from the abcd.com account, it will use mail.abcd.com (1.1.1.1) as it's outgoing mail server... Hotmail will see this... do a reverse-dns lookup on 1.1.1.1 and see host.unuseddomain.com. See what I'm saying? It all will work, but will it toss up red flags?
My Plesk panel (11.5.30) hosts a number of domains that all use Google Apps for Business to host their emails. No emails are hosted on the panel, and the mail server is turned off. So is the DNS server.
Using the mail() php function to send automatic confirmation emails from a website hosted on the panel, they arrive at any address NOT hosted locally, however they fail to arrive at any address whose website is locally hosted.
My initial research suggested that Plesk was routing locally, hence the problem, however the mailserver has been turned off the for domain/webspace.
I've searched the web to set up ssl on 1 domain of 2 installed op 1 ip address. It seems easy: setup virtual hosts, turn ssl on and point to your certificates.
I'm completely lost. I setup the certificate from geotrust in plesk panel 11.5 as described in the manual but that didn't work, apparently because i have 2 domains and 1 ip.
So i started looking to adapt my vhost settings to use sni. First problem: i can't find the setting of the virtual host.
Secondly where can i find the path to the .key and .crt files.
How i can install a ssl certificate on one of the two domains sharing 1 ip.
I have a little problem configuring the mail server in Plesk 12. I bought a VPS with Plesk 12 is hosted in OVH.es just for learning. I've got an external domain in OVH.es from 1and1.co.uk. The domain is properly configured and all is working well but the mail server.In OVH.es manager I can't create emails for an external domains (it is not allowed), only redirections. This is how it is in the manager: .domain.com MX 1 Redirecciones redirect.ovh.net.Support OVH.es told me that I can configure within plesk 12. I suposse it is in zone DNS but I don't know how to do it.
I’ve read the documentations of (PBAS, Plesk, and Securing Websites).how to add SSL Certificate to our Webmail? In addition, I need to know, how to request CSR key and install SSL for our mail server in order for us to protect our emails and to use the SSL Protocol in mail softwares such as Outlook? I will explain the scenario in details:
1- We have (www.example.com) which is our "Plesk Server hostname" and a subscription in our "Plesk Server". 2- We have (pbas.example.com) which is our "PBAS Server hostname" and it's not a subscription in our "Plesk Server". 3- We have (account.example.com) which is a "Subscription" in our "Plesk Server".
Here are the DNS records of our domain and subdomains: Host-Type-Data -A-192.168.1.30 www-A-192.168.1.30 mail-A-192.168.1.30 pbas-A-192.168.1.31 account-A-192.168.1.32 -MX-example.com.
how to generate CSR key for each domain/subdomain and how to install the SSL for it? Our "Plesk" is 11.5 and installed on CentOS 6.4.