Plesk 12.x / Linux :: Sendmail (linked Function) Doesn't Work
Jul 2, 2014since my Update up to plesk 12
at the moment none of my websites can send E-Mails via sendmail :-(
since my Update up to plesk 12
at the moment none of my websites can send E-Mails via sendmail :-(
We setup a new server and we're trying to use virtual() function to work with a certain script that requires it.
We already tried several ways to make it work. But at this moment, we only could make it work on PHP 4 with DSO.
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 ?
CentOS 6.5 with Plesk 11.5
Fresh install
I try to follow this: KB: Customer & Business Manager stuck on post-upgrade processing like the warning tell me to do:
Code:
Parallels Panel pre-upgrade check...
WARNING: SSO start-up script has wrong execution priority. Please, check [URL] .... for more details.
But I try to proceed the first step (for Centos 6.5):
Code:
[root@mydomain conf.d]# for i in `find /etc/sw-cp-server/applications.d/ -type f -name *sso-cpserver.conf`; do mv $i $i.moved.kb.112666; done
[root@mydomain conf.d]# rpm -q sw-sso | xargs rpm -e --nodeps --justdb
[root@mydomain conf.d]# /usr/local/psa/admin/sbin/autoinstaller --select-release-current --upgrade-installed-components
Doing restart of Parallels Installer...
[code]....
We have updated our Plesk 10.4.4 to 12.0.18. We want to use PHP with FastCGI (Apache) and get always the following suexec - error:
command cgi_wrapper not in docroot (10004)
We use CentOS 6.4
I have setup my dedi server with Plesk, and I have added my own domain to the plesk system, now when I try to suspend the account, it still displays the uploaded html documents in the browser, everything else like the FTP and panel logins get suspended, but plesk doesn't display the default page, it just continues to serve the pages?
View 18 Replies View RelatedI have a fully working clean installation of Plesk 12 + updates (CentOS 6.5 x64). Previous installation was a test and was working just fine with the license file.Today I did a clean install. When I tried to restore my original key file (Parallels Plesk Panel 10.x/11.x and Later 100 Domains w/1 yr SUS) I get the following error:
Code:
ERROR: bad arguments (key_upload.php:76)
As result I'm not able to create domains and start using the server/panel.
For the first Time now i was trying to grant a User SSH Access via Plesk Panel (chrooted/non chrooted), but it doesnt work out really .. Abonnement > Edit Permissions > Allow Access chrooted (or non chrooted doesnt matter) doesnt change anything when im trying to Login with the created System User by Plesk. Login doesnt work!
Regular SSH Login as root works as always without any problems, but even via "su user" it doesnt works.
Till now I didn't had any Problems with my VPS Setup based on Centos 6.6 and Plesk 12.0.18 #50.
I updated two days ago the Plesk panel from the Panel itself and it was succesfully but at webmail URL which it appeared one error about default.inc something but after I did refresh some times it disappeared now it doesn't show anything. I tried removing and reinstalling roundcube but still doesn't work..
Here are my logs from /var/log/plesk-roundcube/errors
[09-Apr-2015 14:50:36 UTC] PHP Warning: finfo_file(/usr/share/psa-roundcube/installer/images/roundcube_logo.png): failed to open stream: No such file or directory in /usr/share/psa-roundcube/program/lib/Roundcube/rcube_mime.php on line$n line 754
One of my customer has a imap account installed on a Ipad, Iphone, Mac... Server : Plesk 10.4.4 (Centos).
Alternately, the account connection doesn't work ("impossible to connect to imap.xxx.com...").
I've modify imap file with this :
MAXDAEMONS=80
MAXPERIP=40
And after "service courier-imap restart".
But there is always the problem...
All of my email clients stops working after tonight Plesk update. Some known issues?!
After server restart It's work only for 30 secs and again stops working.
I'm using Ubuntu 14.04.2 LTS and Plesk 12.0.18 - update 38. Since i have reinstalled 3 servers, i don't have imap connection possible in some case.
- When i connect from a Thunderbird, it works only if it's not secure : any attempt with ssl is refused.
- When i try to use a smartphone with the same working config done in Thunderbird, i canno't log whatever i do to find something working on the smartphone (note : it's works with pop)
- Horde refuse all users. If i switch to Roundcube, all works...
There is something wrong : i search the web, the forum, for 14 days now, without success. I tried many thing from the KB...no success either.
i've migrate from plesk 11.5 (centos server) to plesk 12 (ubuntu 14). The migrate process doesn't give problems but now (and for all domains), web service doesn't work well in fact works but all domains resolve /var/www/vhosts/default/htpdocs/index.html and not /var/www/vhosts/domain/httpdocs/
The rest of services (mail, ftp...) seems to work ok. I don't know if it's important but as before migrate, we use and external DNS server so in plesk i have DNS server down.
Today I upgraded to Plesk 12 and during the day I got several customers that had problems with their mailbox size. According to Plesk they were exceeding the size, but they've been doing that for years. The setting that these limits don't have any real meaning is ignored after the upgrade...
View 1 Replies View RelatedPlesk 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.
View 7 Replies View RelatedPHP Mail Function not work and i cant fix it :/
i dont know whats the problem, but php.ini is right.
i also test email-function here: [URL]
I installed wordpress on a website space of my customer using the plesk install-wordpress function.
I bought a wordpress template to templatemonster.com .
I followed instructions to install it [URL] .....
After the cherryframework upload, when I click on "activate", the server returns a 500 error.
I contacted the templatemonster.com technical support, and they say that it is a plesk issue ( [URL]
My download button doesn't work in File Manager.
View 2 Replies View RelatedI have write up a simple shell script from my windows desktop.
After i upload the file via ftp and run it as root, it doesn't run properly.
any file i copy over will end up in "
" ..nothing else.
why is this happening?
Should i write all my code on the server instead?
the php mail function not work on my server!
when I run this function not show any error too.
for example I run this code:
<?php
echo "ok";
$to = 'myemail@mydomain.com';
$subject = 'the subject';
$message = 'hello';
$headers = 'From: test@domainname.com' . "
" .
'Reply-To:test@test@domainname.com' . "
" .
'X-Mailer: PHP/' . phpversion();
if(mail($to, $subject, $message, $headers)){
echo "sent";
}else{
echo "notsent";
}
?>
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?
View 2 Replies View RelatedI sent email through php function mail - false.
Open putty ->
php -r 'mail("***@gmail.com","test","jjjjjjjj";'
sh: /usr/sbin/sendmail: No such file or directory
SENDMAIL not installed ?
CentOs 5
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
How can I get past this error?
FTPS is not working after upgrade from plesk 11. On plesk 11 windows and linux worked fine, after upgrade my windows server, it stopped working.
Code:
PS C:Windowssystem32> & "C:Program Files (x86)ParallelsPleskadmininpmm-ras.exe" --check-repository --dump-storage=ftps://****:****@***.***.***.***:21 --debug --verbose
[2014-11-11 21:16:12.981| 4688] INFO: pmm-ras started : "C:Program Files (x86)ParallelsPleskadmininpmm-ras.exe" --check-repository "--dump-storage=ftps://****:****@***.***.***.***:21" --debug --verbose
[2014-11-11 21:16:12.997| 4688] INFO: Repository 'ftps://***.***.***.***:21': Initializing...
[code]....
I'm trying to send email from a domain using code like this:
$email = "me@domain.com";
$from = "From: $email
";
mail($receiver, $subject, $message, $from);
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?
As per title, since few I have this when some php funcion is calling zlib_encode :
PHP Fatal error: Call to undefined function zlib_encode()
I saw that is was a know bug when there are some rewrite rules on .htacccess which is my case [URL] ....
I checked for json as well, and seem to be activated :
json
json support => enabled
json version => 1.2.1
'ERROR: Call to a member function getDomainId() on a non-object (Sites.php:104)'
View 6 Replies View RelatedPlesk 12.0.18 Update #38
Cloudlinux 6.6
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 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 ( [path] => product_features.clear_list [query] => redirect_url=http://www.siteExample.com )
My server:
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.
Test script that I used:
Code:
<?php
$test = 'product_features.clear_list?redirect_url=http://www.siteExample.com';
$test1 = parse_url($test);
print_r($test1);
?>
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:
ERROR: Exception
Function not implemented
I'm Running Plesk 12 latest version. I've been partially followed that instructions to add php5 to a chrooted environment with success : [URL] .....
Code:
bash-4.3$ php --version
PHP 5.5.9-1ubuntu4.5 (cli) (built: Oct 29 2014 11:59:10)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2014 Zend Technologies
This is how i did it, as root user :
Code:
./chroot_update.sh --add /usr/lib/php5
mkdir /var/www/vhosts/chroot/usr/share
cp -a /usr/share/zoneinfo /var/www/vhosts/chroot/usr/share
php -i | grep extension_dir
# returns : /usr/lib/php5/20121212/
[Code] .....