Plesk 11.x / Linux :: Php Mail Function Don't Work And No Configuration Menu?
Mar 9, 2014
I'm experiencing some issue with the php function mail(). No mails can get out and no errors from php. Is there any menu where we can parameter this php function ? Do I need to check up some services ?
I just re-installed PHP4, Apache, and MySQL and now the "mail" function in PHP will not work. Is there a way to correct this? Is there some configuration value in Apache or PHP I must change?
But i see in the mail logs that from address is being overwritten using the default user for the domain. Is there anyway to configure plesk or postfix to respect those headers?
Outgoing mail control functions properly for domains, but it does not count or limit subdomains.
For example, if you have a subdomain like: sub.domain.tld
And an email account on that subdomain, like: info@sub.domain.tld
Then outgoing mail limits are not applied to that subscription/domain/mail account. You are able to send more emails than the limit.
Also, if you go to: -> Tools and Settings -> Outgoing mail control
And try to see statistics for that subscription/domain/mail account, it shows that there are not sent emails, even if you have sent emails. Of course I checked it many hours after sending, or even the next days.
I installed plesk 12.0.18 on some servers all is running ok but in one server after update the new feature to limit outgoing mail is missing. I installed ModSecurity Web Application and is missing too.Panel is not on Power User mode
I have updated from 11.5 to 12.0 mostly in order to use Fail2Ban.
I have also installed a new Plesk 12 license key to make sure that the license allows Fail2Ban. It says now that Fail2Ban is "On". But I can not find the menu entry to get to the Fail2Ban configuration. It is simply not there... (it is supposed to be in the Securitiy menu in the Tools and Settings section...)
My DC put a button on Plesk 12 menu about Purchase domains, i dont went to my customer see this kind of stuff, which file i need to edit to remove this?
I am running a VPS through 123-REG, Plesk version 11.0.9 with CentOS 6.4
I host 3 websites of my own (with 14 mail accounts) 4 websites for clients (with 10 mail accounts) 7 websites for clients (with 0 mail accounts)
The problem I have had in the last 2 weeks is that the server has been compromised once again by spammers.
2 weeks ago we had another instance and the support was even worse than before, I decided that the best way forward after irradicating the problem and correcting the source, and in the interest of each of my clients I decided to asign each client with their own IP address in the vain hope that if one client account is compromised the others will not be affected, 123-REG agreed that this is a solid solution so I purchased 5 additional IP addresses for the clients I host mail accounts for, (all of the said addresses were blacklisted when I was given them!!!) the reverse DNS was not set up correctly, and couldn't be through their control panel and some didn't match the SMTP banners, then I found out through them that the mail was still sent out through the Primary IP address anyway so if one client gets blacklisted they all still do.
Now they tell me that I can in fact configure Plesk to use each IP address for each client exclusively and they sent me a link to a support article that doesn't actually tell me how to do it.
I can do the following so far:
Log into puTTY and use the command: nano /etc/postfix/master.cf
Find the "smtp" record referenced in the article [URL] 1.1.1.1- unix - n n - - smtp -o smtp_bind_address=1.1.1.1 -o smtp_bind_address6= -o smtp_address_preference=ipv4 2.2.2.2- unix - n n - - smtp -o smtp_bind_address=2.2.2.2 -o smtp_bind_address6= -o smtp_address_preference=ipv4
although mine looks like the one below: 1.1.1.1- unix - n n - - smtp -o smtp_bind_address=1.1.1.1 -o smtp_b$
Is there something missing from the entry I have?
Assuming that 1.1.1.1 = the relevant IP Address for the client do I need to create an entry for each of my IP addresses?
Do I need to do anything with SMTP banners? If so how do I do it, and what do I need to do?
The article also mentions the default settings being restored each time you reconfigure mail settings and to consider a scheduled task, does that mean each time I set up a new mail account or a new client as I assume that I will need to repeat these steps in that case anyway, mainly because they will have a unique IP address that needs to be set up.
I have upgrade from 11.0 to 11.5 three days ago and yesterday then from 11.5 to 12 due to the need of the outgoing mail control limit feature... but that ist not working.
I have enabled the feature and set a limit for one emailadress to two mails per hour. i have sent definitely more then 3 test mails via this email address but nothing happens.. and when i look into the statistics screen - this email address has sent 0 mails in the last 12 hours - which is definitely wrong. Seems the piece in the middle which counts mails etc is not working... how does the outgoing control limit works? is there some special configuration needed after an upgrade etc?
Plesk 12.0.18 on CentOS 6.5 using Postfix...i have configured outgoing mail control to have a limit on a domain. I have removed all entries from the server wide white list.This setting - Allow scripts and users to use Sendmail is unchecked.However I can send any number of messages using PHP's mail() command from a PHP script on the domain.I see this in the maillog:Error during 'limit-out' handler...But the email is sent and no limit is applied.
I am getting the "Function not implemented" error from /var/log/plesk/panel.log I have tried reading this article but it seems to only apply to Ubuntu and I am running CentOS 6 x64
I have some problem with my parse_url after last update of Plesk Panel.I ran the test script on my server and on my local computer, and received the following result: Local computer:
HTML: Array ( [host] => product_features.clear_list?redirect_url=http [path] => //www.siteExample.com ) As you can see, the structure of the output data is not identical as it should be.
I have just upgraded linux VPS running ubuntu 10. I installed all of the latest plesk updates first and then went through the upgrade. There were no pre-upgrade warnings and message at the end said it was successful but i'm now getting the following error instead of the login page:
Been a Plesk user since 8.6, and have to admit the new interface in 10.x and 11.x is taking some getting used to.
First gripe is why is the dropdown list of Webspaces not in any order? I have lots of different webspaces for different customers, and its just in one unorganized list.
I set a new Plesk 12 server (Debian 7.8) and migrate some domains from a plesk 11.0.9 server.After this, FTP does not work. I can connect but I receive this error:
Error:The data connection could not be established: ETIMEDOUT - Connection attempt timed out..And no list of folder or files found. Not one domain, any domain.I restart xinetd and fil2ban but still same problem. Via control panel I can see the files but not via FTP.
I just installed Plesk 11.0.9 Update #8 on a CentOS Linux Server and found a new FTP-server running and listening on port 21. I wanted to deactivate it or at least change the port number to anything else. But in the config file /etc/xinetd.d/ftp_psa there is a comment:
#DO NOT MODIFY THIS FILE BECAUSE IT WAS GENERATED AUTOMATICALLY, #SO ALL YOUR CHANGES WILL BE LOST AFTER YOU UPGRADE PARALLELS PLESK PANEL.
So I can't deactivate the FTP-server with the line "disable = yes" because the default file is restored after a while (I can't pinpoint the event when it happened). In the Plesk frontend I can't see any possibility to deactivate the server or change the port.
In the file above, there is mentioned another config file "server_args = -c /etc/proftpd.conf" but changes in that file are ignored for whatever reason. There I changed the port number but without success. It's still listening on 21 even if the file says otherwise.
Trying to enable CORS (cross-origin resource sharing)? I've tried just about everything with the NGINX conf files and individual conf files, but nothing seems to be working...
Parallels Plesk Panel 12.0.18 MU #51 CentOS 6.6 (Final)
PROBLEM DESCRIPTION The following error has started to appear on our server: New configuration files for the Apache web server were not created due to the errors in configuration templates: Template processing failed: file = /usr/local/psa/admin/conf/templates/default/nginxDomainVhost.php, error = Template_Exception: Empty content was provided for config file /var/www/vhosts/system/domain/conf/nginx.conf file: /usr/local/psa/admin/plib/Template/Writer/Webserver/Abstract.php line: 47 code: 0. Detailed error descriptions were sent to you by email. Please resolve the issues and click here to generate broken configuration files once again or here to generate all configuration files.
STEPS TO REPRODUCE Appears on the plesk home page
ACTUAL RESULT Error displaying as above
EXPECTED RESULT No error should be displaying, I haven't seen this before and we didn't receive an email with error descriptions. Is it safe to regenerate the broken config files / all of them? t