Plesk 12.x / Linux :: API Create Subscription Mail Settings
Nov 13, 2014
When creating a new subscription via the API (Plesk 12) is there a way to specify the Mail settings? More importantly is there a way to turn off Mail when setting up a new subscription? Each time I create a subscription via the API Plesk spits out the following error:
Code:
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/domainWebmail.php, error = Template_Exception: Empty content was provided for config file /etc/httpd/conf/plesk.conf.d/webmails/horde/demon3zxc.e-worksmedia.com_webmail.conf file: /usr/local/psa/admin/plib/Template/Writer/Webserver/Abstract.php line: 47 code: 0.
Here's an example of the request I'm sending:
Code:
<packet version="1.6.3.0">
<webspace>
<add>
<gen_setup>
<name>{{domain}}</name>
<ip_address>{{ip_address}}</ip_address>
[Code] .....
View 2 Replies
ADVERTISEMENT
Oct 9, 2014
I manage 1 server with 5 domains. I use the panel as power user (unique user)
I want to assign a new IP to a domain. In the hosting setting there is no IP to choose and in the IP tab if I click on the IP there is no domains to choose becouse all the domains are assigned to the primary IP...
I'd like to set IP in the hosting setting of the domain...
View 1 Replies
View Related
Aug 25, 2014
When adding a subscription with a certain plan, I get this error"Error: The plan was not applied: Custom changes in PHP settings" almost instantly after I initiated the creation of the new subscription. Another service plan doesn't have the issue, and though I tried finding the reason why one works while the other doesn't I simply wasn't able to. The service plan in question is used for over 40 others without a problem just when I select it for a new subscription, I get the mentioned error message.I am using Plesk 12 on Linux, all latest updates installed.
View 1 Replies
View Related
Jul 11, 2014
After a successful upgrade from 11.5.30 to 12.0.8 the Backup Manager cannot be accessed anymore. The system replies with:
Internal error: Failed to parse response. Reason: Failed to read data from stream Process output:
MessageFailed to parse response. Reason: Failed to read data from stream Process output:
File PMMConnector.php
Line708
TypePleskPMMResponseException
Apparently the backups are not saved anymore either.
View 3 Replies
View Related
Jan 31, 2015
Since about a week, we've been having trouble creating new domains in an existing subscription, we always get this error message:
Error: mailmng-outgoing failed: ERRORutgoing:domains.subscription_id may not be NULL
We tried the suggested fix in the KB [URL] .... but we get this output:
# /usr/local/psa/admin/sbin/mchk
==> Checking for: mailsrv_conf_init... ok
==> Checking for: mail_handlers_init... ok
==> Checking for: mailsrv_entities_dump... ok
==> Checking for: mail_admin_aliases... ok
==> Checking for: mail_auth_dump... ok
==> Checking for: mailman_lists_dump... ok
[Code] .....
View 4 Replies
View Related
Aug 23, 2014
I have a problem in PLESK.I want to create in an existing subscription a second domain to host another site (this subscription already contains a domain).Clicking CREATE DOMAIN (in the subscription), here's the error message I get: IP addresses of domain for email services are not set (thus the domain can not be created).
View 3 Replies
View Related
Sep 8, 2014
We have a little issue with the API, when we want to add an subscription, then we became "Error: Permission denied. (1006)" - but the subscription was added. The status Icon of the Subscription is a "!" and they say (tooltip), that the Plan wasn't correctly synchronized, but we don't use a Plan for this. The Reseller has all rights, there are now limits.
I have test this with the following Code:
Code:
<packet version="1.6.3.0"><webspace><add><gen_setup><name>plesk-test.de</name><owner-login>123login!</owner-login><htype>vrt_hst</htype><ip_address>127.0.0.1</ip_address></gen_setup><hosting><vrt_hst><property><name>ftp_login</name><value>blubb</value></property><property><name>ftp_password</name><value>blubb123</value></property><ip_address>127.0.0.1</ip_address></vrt_hst></hosting><limits><limit><name>disk_space</name><value>1000</value></limit></limits></add></webspace></packet>
For the execution is used the SDK from [URL] ....
I don't know when we had this problem the first time, but i know that if had worked in Plesk 12 correctly - i think the problem came up with the last 4 - 6 MU.
We actually have Plesk 12.0.18 Update #16 and running it on Debian 6.0.9.
View 4 Replies
View Related
Oct 30, 2013
* Go to "Web Server Settings" add text to "Additional directives for HTTP" and press button "Ok".
* Go to "Document root" folder of your domain and now you have a new folder "/cgi-bin/test" with file "test.cgi":
Code:
#!/usr/bin/perl
print <<HTML;
Content-type: text/html
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
[Code] ....
View 13 Replies
View Related
Aug 27, 2014
I have a problem with e-mail management. I have 4 subscriptions and for 3 of them I do not have problem.
For one of them, mail tab not showing. Obviously I check the checkbox "Enable mail management functions in Panel"...
View 1 Replies
View Related
Dec 16, 2014
if i create a new mailaccount in the power-user panel and i dont log in into the webmailer, so the "subscription" file is not created.
that means there is no way to sent emails with the new created account with external mail clients (Thunderbird), because there is no "sent" or "drafts" folder.
the problem disappears, if i log into the webmailer after creating a new mailaccount.
is there any other way to fix this bug? i want plesk 12 to create the "standard" folders (Trash, Drafts, Sent, Spam) automatically.
something to the used system:
- Ubuntu 14.04 Server
- Plesk 12.0.18
- IMAP/POP3 Server: dovecot
- SMTP Server: postfix
(logfiles are not showing anything..)
View 8 Replies
View Related
Apr 10, 2014
im getting an error when im trying to create a subscription on a windows node via PPA management node, the task error is:
Method name: registerIpPlesk on SCREFleskWebIIS:0
Last execution output: This IP address XXX.XXX.XXX.XXX is already registered in Panel on the network interface Local Area Connection
the IP XXX.XXX.XXX.XXX is the correct service node IIS ip address..
View 1 Replies
View Related
Feb 4, 2014
In plesk 11 with os windows 2012 when i try to create any new subscription i get following error:
Error: Unable to update domain data: Execute websrvmng --add-domain "--domain-name=testDomain123.com" failed with error code 1:
what should i do? this problem happen suddenly without any changes by us.
View 1 Replies
View Related
Jan 23, 2014
I have parallel plesk 11.5 on my VPS hosting. Recently I upgraded the PHP version to 5.4 via Updates and Upgrades feature. Now, I am not able to change anything for any domain/website, it always shows me following error:
"Error: Unable to create or update the subscription: The PHP handler "fastcgi-5.4" is not registered. It was probably deleted from the server. Register a handler with the same properties and try again."
I tried creating a handler with same name in IIS but it didn't work. When I checked in "Server Components" the max PHP version is "PHP 5.3.28" but I see PHP 5.4 installed in C:ParallelsPleskAdditionalPleskPHP54 folder on the server.
View 2 Replies
View Related
Dec 1, 2014
When logged into the admin panel, I can manage all other domain except for one. When I try to manage this particular domain (which is our own domain rather than a client domain), it takes a while before returning page not found. In the logs, it's getting a high volume of the following error message:
Error: Unable to create or update the subscription: The PHP handler "fastcgi-5.3" is not registered. It was probably deleted from the server. Register a handler with the same properties and try again.
I've tried attacking the issue through IIS. PHP appears to be configured correctly in IIS. I've looked at permissions. The website itself runs fine, I just can't manage the domain.
Another issue, which may be related, is when trying to access the PHP Manager in IIS for the PleskControlManager site, it gets an error stating that it can't find the php.ini file. I don't know if this is normal, or related.
View 2 Replies
View Related
Feb 17, 2015
Since the plesk installation by my hoster did not include a mail server, I installed postfix and dovecot from the upgrades menu, followed the steps at [URL] .... and ran mchk to add the mail settings option to my domain. However, when I click on it, I receive the error "Warning: Permission denied." and stay on the domain overview. There is no error logged in var/log/sw-cp-server/error_log, /var/log/sw-cp-server/sw-engine.log or /usr/local/psa/admin/logs/panel.log.
I also tried "plesk bin mail --create foo@my.tld -mbox_quota 1M", but then I receive the error
Code:
ERR [util_exec] proc_close() failed
mailmng-outgoing failed: ERROR:outgoing:mails.domain_id may not be NULL
System: OpenSuse 13.1 (x64)
Plesk version: 12.0.18 Update #35
View 4 Replies
View Related
Apr 3, 2015
I configured the plesk-outgoing-mail limitation as follows: Scripts are not allowed to send mails (see: URL ).
But a simple php-script with mail()-command can successfully send mails. How can I stop that?
View 1 Replies
View Related
May 18, 2015
I set multiple mail servers (eg media-26.com) in the black list of server-wide mail settings but i still get spams from these mail servers..does it work properly?
View 8 Replies
View Related
May 26, 2014
Since 12.0.18, when I go to Tools & Settings > Mail Server, I get this error message on the page:
"Error: The limits on outgoing mail will not work for the subscriptions that have IP addresses from the white list. To make the limits work, remove IP addresses from the mail server's white list".
However, the whitelist page just contains 127.0.0.0/8 and ::1/128, and all my subscriptions have an external IP address which is clearly not in the whitelist.
View 7 Replies
View Related
Nov 19, 2014
1/ What is the difference between maillog and maillog.processed? I want to keep a permanent record of all mail inbound and outbound even if delivery is deferred by the gray listing. I'm not sure which one is the best to keep.
2/ I would like to change the way that the mail logs get log rotated. I am struggling to work out exactly what happens at the moment but I would like to rotate the log out every day regardless of size. I think currently that the maillog.processed is rotated daily if it is over a specific size.
View 2 Replies
View Related
Jun 29, 2015
As the admin user, change the setting for a particular email account called "The maximum number of outgoing email messages" to a value beyond the default. For example if the default is 35, set it to 75. This is common -- often we have customers who send larger quantities of messages than the average user.
Login as a reseller with access to manage the email account and attempt to change any *other* value. For example, you could completely ignore the outgoing mail messages value and change just the Auto-Reply value
Plesk refuses to allow the change and kicks me back to the first tab with the following error:
The value must be in the range 0..35. Only the Plesk administrator can adjust this setting.Click to expand...
View 2 Replies
View Related
Jun 30, 2014
When trying to access the settings for mail on a domain I get the following error:
Error: Unable to find service node for ip address with id=6
I understand this is a problem with the database but I am not sure where to look to fix it.
I only have 4 IP addresses on the system.
View 2 Replies
View Related
Feb 2, 2015
In Plesk (V. 12.0.18) there is no possibility to create mail accounts for subdomains via web interface. The KB article [URL] ..... describes this problem. The article suggests two possible ways.
I donĀ“t want to use option 1 (create subdomain as additional domain) because a subdomain as domain wastes a domain in the license model.
Instead of that I tried the second way (command line interface). I can execute the first command without problems. When I try to execute the second command, I get the following error: "An error occured during mailname creation: Unable to set password: Domain of type subdomain selected".
View 3 Replies
View Related
Jun 5, 2014
I understand it is not possible to move a domain to another subscription, or to create a new subscription with an existing domain name.The problem I have is I wish to use a different IP address for a domain within a single subscription. I need to do this to establish SSL cert on one of the domains.
View 1 Replies
View Related
Jul 21, 2014
I have plesk 12.0.18 Update #9 Fresh installation. When i'm done with adding an subscription i get this error:
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/domainVhost.php, error = Template_Exception: No data. file: /usr/local/psa/admin/plib/Template/Processor.php line: 28 code: 0 Previous error: Template_Variable_Exception: No data. file: /usr/local/psa/admin/plib/Template/Variable/AbstractCachedData.php line: 67 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. See the details in Configuration Troubleshooter
View 5 Replies
View Related
Aug 31, 2014
I have an Issue with API.
I have mine Custom billing Panel Today my Developer start code API for it by Docs that Parallels given but we got stuck on Subscription...
if we set login name and password
API shows this error
While creating subscription
Error 2204 Unable to update hosting preferences. Unable to check system user existence: login name is empty
It happens only while creating the subscription...
Creating of user is working fine only subscription don't want work and we don't know why we tried many things and none of it works.
View 4 Replies
View Related
Apr 9, 2015
I'm using the API to dynamically create new subscriptions. However, I frequently never receive a response back for my request.
I have enabled graceful restart, which has made an improvement, but my requests still fail to return a response every now and then.
This is problematic, because the script needs to know whether the subscription has been successfully created or not. Often times, when the script times out, the subscription was successfully created. But Once and and a while that's not true, and it is causing inconsistencies in my system.
View 1 Replies
View Related
Jun 1, 2015
I am trying to transfer a subscription to another customer but it fails with this error message...
this subscription requires more resources than can be provided by the new owner's provider
I can't find any limits for a customer so I don't know why it won't transfer. This is plesk 12.
Is there a limit somewhere as to how many subscriptions a customer can have?
View 1 Replies
View Related
Jun 18, 2015
We get this same error on every subscription we create. It doesn't seem to affect anything but it's more of an annoyance than anything. It did it on plesk 11.5 and now with plesk 12.
[2015-06-18 08:35:13] ERR [util_exec] proc_close() failed
PHP Fatal error: Uncaught exception 'PleskUtilException' with message 'glmng failed: ' in /usr/local/psa/admin/plib/Service/Agent.php:243
Stack trace:
[Code] .....
View 7 Replies
View Related
Jul 1, 2015
Is it possible to set the subscription shell option of an subscription via xml api? I see it is possible via cmd "/usr/local/psa/bin/subscription -u {subscription} -shell /usr/local/psa/bin/chrootsh" But how is it possible via xml api?
View 1 Replies
View Related
Jul 2, 2015
I'm using plesk with PBAS to provision subscriptions.I have it set to allow all users all applications in their permissions.However, on all the subscriptions, under the "General" -> "Customize" -> "Applications" tab, it always has the checkbox: "Provide only applications that I select" checked, so they can't see any applications.How can I get the checkbox unselected for every subscription (and any new subscriptions) ?
View 8 Replies
View Related
Jan 19, 2015
When you create a subscription for a customer, there is a php max memory assignment in the service plan. I am wondering if the max memory is based on per website customer creates or it is based on per account..
if it is based on per website, that means if a customer create 100 website under one subscription....and per php max memory is 256m, that means they will be using max. 256mx100...is that correct?
View 2 Replies
View Related