Plesk 11.x / Linux :: Creating Mail Accounts From The CLI
Aug 7, 2014
When I use the /usr/local/psa/admin/bin/mailmng script to update the password for a mail account, the account is removed:
Code:
[root@www postfix]# /usr/local/psa/admin/bin/mail_auth_view
Authentication database contents:
+--------------------------------------+-----+--------------------------------------+
| address |flags| password |
+--------------------------------------+-----+--------------------------------------+
| ...<SNIP>... | | |
| eric@example.com | | ********* |
| ...<SNIP>... | | |
+--------------------------------------+-----+--------------------------------------+
Flags
[Code].....
View 5 Replies
ADVERTISEMENT
Dec 26, 2013
I have noticed that for each new subscription I create Plesk automatically creates an FTP account. Further; I cannot delete this. (It seems the Remove button would allow me to delete additional FTP accounts but not the one added when the subscription was created).
I would like:
1) To delete these system created FTP accounts
2) To prevent it doing this in future. I would like to create subscriptions without FTP accounts.
I'd prefer to do it this way and leave the FTP server running. However; I am wondering about disabling FTP access altogether if I have to. I do use SFTP. I'm afraid my Linux knowledge is so limited I don't know if SFTP uses the FTP server; so if I turned off the ftp server whether that would prevent sftp access?
The motivation for doing this is that while I have 'customers' and subscribers in fact I am the only user and will transfer files to the server by SFTP and then move them around the server logged on via SSH. Since I'm not using FTP it seems sensible not to have all these accounts floating about.
View 19 Replies
View Related
Jun 22, 2015
As I read, when Plesk and WHMCS are in the same server, you may have 502 bad gateway errors when creating an account through WHMCS..Page not Found/Timeout/502 Bad Gateway error creating accounts with Plesk 10+..By default Plesk 10 and above performs a forced restart of apache when an account is created or suspended which causes WHMCS to lose connection to the server, and if your WHMCS is on the same server, you will also lose connection to WHMCS at the same time.
In order to resolve this please refer to the following knowledgebase article for instructions on configuring Plesk to perform a graceful restart instead: URL..
But when I activate nginx in Plesk the 502 bad Gateway problem comes back.Is there an option to activate Nginx graceful restart in Plesk?
View 4 Replies
View Related
Jul 4, 2014
When I try to create an email address with this command
./mail --create test@domain.com -passwd dommage -mailbox false -manage-spamfilter true -redirect true -rediraddr stevefigueras@yahoo.fr
i get this message error and i don't understand why
-bash: ./mail: No such file or directory
View 4 Replies
View Related
Oct 6, 2007
i own a smal lVPS and am offering some people reseller hosting. My VPS runs plesk and unfortunately i have only had experience with cpanel. How can i make the users be able to create other accs like a reseller?
View 5 Replies
View Related
May 6, 2014
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.
View 2 Replies
View Related
May 18, 2015
I have two servers, a plesk 11 installation and a plesk 12. Running Centos.
On the plesk 11, set up by others, I have a nameserver running NS1.xxxx.net & ns2.xxxx.net point to the IP of the server.
I want to create a nameserver on the plesk 12 -- can't see how to do this. Is there a nameserver setup function in plesk 12?
More advanced question:
The domain name xxx.net is hosted at 1&1 where I have put the IP of the plesk 11 server in the A records for ns1.xxxx.net and ns2.xxxx.net. I have pointed ns3.xxxx.net and ns4.xxx.net at the IP of the Plesk 12 server -- as I would like to use these addresses for consistency. If necessary, I'll use ns1/ns2.yyyy.net.
View 1 Replies
View Related
May 25, 2014
I'm looking for a way to create DNS records on a Plesk Panel account at the 'customer' level.
View 5 Replies
View Related
Dec 10, 2008
I installed WHMCS on my server and for some reason it is not creating the account in WHM after someone signs up. I tried installing Cp creator as well and for some reason that is not working either. So I now know the issue is is somewhere in the communication between the gateway and WHM. I am guessing WHM is where the problem is located, but then again I do not know. If you have any ideas please tell me because I am in need of whatever I can get. I am losing patience with this because I have been trying to setup this server for over a week.
View 4 Replies
View Related
Jun 20, 2014
I am planning to create site with sub domains like smth.domain.pl and there will be around 10 sub domains now my question is how to handle sub domain creation trough plesk or by htaccess ?
View 1 Replies
View Related
May 15, 2015
since yesterday I'm receiving this errors on some website: see attachment
View 2 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
May 21, 2007
I have a web site, where users sign up and edit there account settings using a web based form application.
These users will be uploading large files to my server, and as of right now they are uploading the files using a file upload form. The problem is it takes a really long time to upload them.
So my first question is will using ftp be significantly faster than using the web form http upload?
Assuming its faster to use ftp:
The big files that the user uploads get stored in a directory in the website directory right now, so that they would be accessible via www.mysite.com/user/files/ . There is an ftp account used to control that entire domain and all the files in it.
So if i were to create another ftp user, how would i go about allowing them to access a specific diretory in another users home directory.
View 1 Replies
View Related
Oct 6, 2007
When creating cPanel shared accounts under a VPS account, do you create them under the root WHM or do you create a "ficticious" reseller account and place the shared accounts under the reseller WHM? Are there any advantages or disadvantages using either method?
View 4 Replies
View Related
Dec 10, 2013
I have a problem with "502 Bad Gateway" errore when I'm trying to create a new subscription.
Here my logfile:
/var/log/sw-cp-server/error_log:
2013/12/10 12:47:03 [error] 11827#0: *100 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: XX.XXX.XX.XXX, server: , request: "POST /admin/subscription/create HTTP/1.1", upstream: "fastcgi://unix:/var/run/sw-engine.sock:", host: "xxxxxxxxxxxxx.xx:8443", referrer: "https://xxxxxxxxxxxxx.xx:8443/admin/subscription/create"Click to expand...
View 8 Replies
View Related
Jul 14, 2008
The first thing i'm thinking of is cpanel but there's many others If you're runing a server with 5000gb traffic/bandwidth per month When you're creating hosting accounts, could you allow 5000gb in
each new account you're creating?
Like if you had unmetered, you'd put unmetered in every new account Considering no account would ever reach any way near their monthly allowance.
View 5 Replies
View Related
Jul 26, 2014
Not sure if all notifications are working or not but I do know that when I create a new customer with a new subscription no notification is received. I have tested with several email addresses.
View 1 Replies
View Related
Jul 14, 2015
My panel suddenly stop works to create databases from client account.This error shows:
Internal error.
PHP Notice: Undefined variable: dbType
From admin account there is no problem to create databases.I`ve run bootstrap.sh repair successfully but still not working.Plesk 12.0.18 #55 Ubuntu Linux 10.04
View 2 Replies
View Related
Jan 22, 2015
Have some very important questions regarding changing plesk ports and creating full backups.
1. When changing plesks port number, what exactly will it effect? Will it effect auto updates, etc.?
2. When creating a backup, I'd like to backup the entire server to rollback at anytime when changes are made to core files, is this possible?
3. With backups, somehow I'd like to schedule backups to possibly make nightly copies to an external hard drive on my computer for a fail safe method just in case the server happens to crash and I'd need to restore to another server/service. How would this be possible?
View 4 Replies
View Related
Jul 30, 2014
When I create a webspace for the main account holder (web host) , I get the following error when I click on "Manage Hosting" ?
ERROR: Call to a member function getDomainId() on a non-object (AccountController.php:77)
View 3 Replies
View Related
Nov 28, 2014
Under plesk 12.0.18, I would like to create thousand email address with redirect and send copy to. Its a long work to do.
Is there a solution to create all these email via an import csv, xls or else ?
View 2 Replies
View Related
Apr 17, 2009
how to manage different e-mail accounts in linux, we are moving a cpanel hosted account into a bare-linux machine.
I can get all the services setup, however the question remains how do I add different mailboxes with different domains?
Do I have to create a linux user for each mailbox?
View 7 Replies
View Related
Apr 15, 2015
I have following Warning when creating a new Domain inside a Subscriptions:
I found this Article: [URL] .....
But in my case this does not solve the Problem.
1> All permissions are right.
2> When I type command '/usr/local/psa/bin/repair --restore-vhosts-permissions' i get the answer 'Directory permissions were successfully updated.'
3> The Order of Webuser and FTPUser (as described in the article) could also not be the problem, because in my case there is only one user (There is only Webuser and no FTP-User.)
4> When typing '/usr/local/psa/bin/repair --update-vhosts-structure' I get the following error 6 times each:
Code:
[2015-04-15 21:03:30] ERR [util_exec] proc_close() failed
Error: update-vhosts-structure failed: mkdir: cannot create directory `./webroot.kk-bits.com/logs': File exists
ERROR: Cannot relink logs. Target directory '/var/www/vhosts/webroot.kk-bits.com/logs' is in invalid state.
Unable to update the structure of the home directory: an unexpected error has occurred.
update-vhosts-structure failed: mkdir: cannot create directory `./webroot.kk-bits.com/logs': File exists
ERROR: Cannot relink logs. Target directory '/var/www/vhosts/webroot.kk-bits.com/logs' is in invalid state.
To get the error 6 times seems to mean, that i have this problem with 6 Domain.
View 1 Replies
View Related
Mar 10, 2015
For some reason non-exisiting/delete FTP accounts still have access to the server. When I tried to delete the account, it gave an error stating that a process is using it, however, it was not being used at the time. From there, the ftp account was removed from the list, but for some reason it can still log in as if it exists.
View 4 Replies
View Related
Mar 19, 2015
I use 12.0.18 Debian 7.0 1200150126.15
Can I have possibility to define mask of allowed symbols in "New Additional FTP Account"? I'm migrating a few accounts that use username like this:
User1-domain.com..I don't see anything bad on that username. I tried to create usernames through web page and also through command:
Code:
# /opt/psa/bin/ftpsubaccount --create User1-domain.com -domain domain.com -passwd mypass.Unable to create FTP account: You specified incorrect username.
View 4 Replies
View Related
Aug 5, 2014
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 Related
Oct 15, 2014
I'm getting following errors while migrating my accounts from latest version of cPanel:
Code:
Warning:
Couldn't get 'cgi_bin_mode' attribute for domain where cgi-bin dir is '' and docroot dir is '/home/inofash/public_html'. Domain will be migrated in that way as if its cgi-bin directory was located under docroot.
Because of that none of my accounts can't be migrated.
View 4 Replies
View Related