Plesk 12.x / Linux :: Dovecot Mail Subscription File Not Created?
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.
Which Event Handler gets fired when a subscription is created? I've tried both "Hosting settings created" and "Default domain (the first domain added to a subscription/webspace) created" but those don't seem to be firing when I create a new subscription. After creating the Event Handler the psa service was restarted each time. I have a script setup to just log the NEW_DOMAIN_NAME to a file, but that isn't happening.
I got this Problem after install a New Plesk Server.
Current: CentOS 6.5, Plesk 11.5.30, PHP 5.3.3 (Default install), PHP as FastCGI (I Tried also with Plesk 12.x).
What I did: in IP Tables i set al Ports for Plesk; I set in /etc/proftpd.conf the Ports "PassivePorts 65000 65200"
Problem: Each file ore folder created by an php Application i cant see ore override by ftp.
Example: I Upload a new installation of Joomla 2.5 (CMS) by ftp with a User created by plesk. Then I start the Installation by using the Webbrowser. In this process Joomla change some files and create also an configuration.php. All done by php Scripts. Now I check the configuration.php on the FTP -> Cant see it. -> I check by SSH and the file exists. If I Check the Permissions it seams, that all file have same permissions, owner and group.
-> Configuration.php can not see by ftp ore be overwritten -> htaccess.txt I see by ftp and i can manage ->> Permissions seams to be the same "?"!"
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.
on a fresh debian 7 64bit openvz system we actually have a problem with the new plesk 12 feature of limiting outgoing mails.We migrated about 25 systems to plesk, this is the first that makes problems.If limiting outgoing mails is activated (i double-checked all possible checkboxes in plesk) a fresh mailbox gives us the following error while trying to send via smtp:
Aug 15 13:09:32 2d4 postfix/smtpd[8645]: connect from unknown[XX.XX.XX.XX] Aug 15 13:09:32 2d4 postfix/smtpd[8645]: E9AF61C58851: client=unknown[XX.XX.XX.XX], sasl_method=PLAIN, sasl_username=XX@XXX.XX Aug 15 13:09:32 2d4 greylisting filter[8651]: Starting greylisting filter... Aug 15 13:09:32 2d4 /usr/lib/plesk-9.0/psa-pc-remote[8611]: handlers_stderr: SKIP
[code]....
After deactivating the feature all mail is sent without any problems. We use postfix + dovecot.
Postfix in the /etc/postfix/main.cf I added the following configuration parameter recipient_delimiter = + Managed a sieve script in webmail which contains the following: 1: # Sieve Filter 2: # Erzeugt von Ingo (http://www.horde.org/apps/ingo/) (03.02.2015, 02:53:39) 3: require "fileinto"; 4: # Plustest 5: if address :all :comparator "i;ascii-casemap" :contains "To" "+plustest" { 6: fileinto "INBOX.plustest"; 7: stop; 8: }
I created a folder in my INBOX with the name plustest, now I sent me an email from an outside freemail-account to see if it works. In the logfile /var/log/maillog I can see the following entry:
Feb 3 15:06:25 mail postfix-local[18290]: cannot chdir to mailname dir <name>+plustest: No such file or directory Feb 3 15:06:25 mail postfix-local[18290]: Unknown user: <name>+plustest@<dom.tld> Feb 3 15:06:25 mail postfix/pipe[17708]: 0ECAF4C1B3: to=<name+plustest@dom.tld>, orig_to=<aliasname+plustest@dom.tld>, relay=plesk_virtual, delay=0.61, delays=0.52/0/0/0.09, dsn=2.0.0, status=sent (delivered via plesk_virtual service)
I changed my real name to <name> and my domainname to <dom.tld> in this post.
Ubuntu 14.04 with Plesk 12 (10 Domain License).Using this for mail only... multiple domains.Postfix and Dovecot installed. Trying to figure out how to do:
- SASL Auth (Dovecot) - TLS - want above two to be mandatory... no plain text auth and no unencrypted connections.
How do I achieve this with Plesk 12?I have found countless how-to's about doing this with Vanilla (non Plesk) installs with the same server software. However, Postfix main.cf and master.cf both appear to have specific Plesk modificatuons. Same thing for the related Dovecot conf files... also have Plesk specific modifications.
I see no way to enable the desired settings from the Plesk Panel. Can't achieve this within the Panel but also can't modify the conf files without potentially breaking some Plesk-specific functionality? My original hope in purchasing the Plesk license was to make administration of the mail server easier. Unfortunately, I'm struggling to do this now and may have already had this figured out had I not bothered with the Panel.
I just upgraded from Plesk 11.x to 12.0.18 and was eager to try the new sieve functions. I used the normal Plesk Updates/Upgrades tool to change the imap server from Courier to Dovecot. However, Dovecot will not start. It gives an error about /etc/dovecot/private/ssl-cert-and-key.pem missing.
i use Plesk on a vserver which was offering it in version 11.x, i upgraded to 12.0.18, then i installed Dovecote on the panel. Everything went fine. Mail server is working.BUT sieve does not allow me to login and create filters.I tried telnet against 4190, and it works:
Connected to mail.xxxxxxxx.xxx. Escape character is '^]'. "IMPLEMENTATION" "Dovecot Pigeonhole" "SIEVE" "fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date ihave imapflags notify" "NOTIFY" "mailto" "SASL" "PLAIN LOGIN DIGEST-MD5 CRAM-MD5" "STARTTLS" "VERSION" "1.0" OK "Dovecot ready."
But when i use my sieve plugin for thunderbird OR access plesk's webmailclient Roundcube opening the filter module, it doesnt work. On Thunderbird i see the loading animation, thats it. On Roundcube it says "Unable to connect to sieve server".
Looks like something is missing. I can definitely access 4190 on my server from anywhere. So no firewall issue. I didnt change anything on configs, since plesk is handling it.Roundcube log doesnt give me anything. I dont even see logs added (to syslog or mail.*) while i try to connect.
Code: General ============================= Domain name: bernhardlinz.de Owner's contact name: Bernhard Linz (admin) Domain status: OK
[Code] ....
I can see the domain under "Mails" and also create new mail accounts. There are no Errors for this under
Code: /usr/local/psa/admin/logs/panel.log
As i try to add the domain first i got a
Code: [11-Jul-2014 21:41:35 Europe/Berlin] PleskUtilException: mailmng-outgoing failed: ERROR:outgoing:database disk image is malformed
Which I removed with the
Code: /usr/local/psa/admin/sbin/mchk
Command I found in the Plesk forum. After that i could add the domain.
I try a add another fantasy domain - also works but alos not displaying in Panel "Websites & Domains"
I take a look at the Plesk-Database "psa" with the Build-In "phpMyAdmin"
I take a look at the table "domains" and it looks like the other entries.
The Server was restored a few days before from a Backup. After the restore i had have the problem the "mysql" service did not start. I fixed the problem with the description from [URL] ... (Start mysql in recoverymode, export all data, delete the content of the whole mysql folder /var/lib/mysql folder, init new database and import the exported data). After that all looks fine.
Every time i use Dovecot secure IMAP server with Sieve support.I can not receive emails note. Upgraded from 11.5 to 12
Jun 18 08:03:36 CO6302 postfix/qmgr[1523]: 284FAA0E86: from=<my@gmail.com>, size=1943, nrcpt=1 (queue active) Jun 18 08:03:36 CO6302 postfix-local[2036]: postfix-local: from=my@gmail.com, to=the@domain.com, dirname=/var/qmail/mailnames Jun 18 08:03:36 CO6302 postfix/pipe[2035]: 284FAA0E86: to=<the@domain.com>, relay=plesk_virtual, delay=336, delays=335/0.01/0/0.19, dsn=4.3.0, status=deferred (temporary failure. Command output: lda: Error: user the@domain.com: Error reading configuration: Invalid settings: postmaster_address setting not given lda: Fatal: Internal error occurred. Refer to server log for more information. 4.2.1 Message can not be delivered at this time )
I know I'm probably doing something wrong, but I cannot get Android KitKat phones to authenticate via IMAP to my Plesk 12 server (straight out of the box). Not sure if it is an issue with standard dovecot config or Android, but the only way I can get them to connect is via pop3.
I have set up a vacation filter in Horde, but only in once in a while it really returns a vacation message, depending on who is sending an email. In most cases,the message arrives without triggering a response.The messagelog shows two scenarios, one for an successful vacation response and one for emails that fail to trigger a response.Sucessful event:
Oct 9 10:48:24 server dovecot: service=lda, user=xyz@mydomain.com, ip=[]. sieve: msgid=<408-EAS2941777BF41EEBE6640B691D3A00@axy.gbl>: sent vacation response to <guntherk@hotmail.com> and then Oct 9 10:48:24 server qmail: 1412844504.308454 starting delivery 21782: msg 33566019 to remote abc@externaldomain.com then the message is stored into the users inbox.
Unsuccessful event: Oct 9 10:55:39 server dovecot: service=lda, user=xyz@mydomain.com, ip=[]. sieve: msgid=<trinity-90b5e87d-183b-49b8-8e3e-d2f98b96df3e-1412844932925@uvw-com>: discarded vacation reply to <> then the message is stored into the users inbox.
The actual version of Plesk (v12.0.18) on Centos 6.5 with Dovecot & Qmail is beeing used.
I have had Roundcube installed and I went and changed the mail server from Courier to Dovecot. Is the installation of Dovecot supposed to make the 'Filters' tab appear in RoundCube or is there more that is supposed to be done?I tried reinstalling Dovecot & Roundcube and the settings still do not appear.
I am setting up slave DNS servers using bind 9.8 on CentOS 6. I have followed the procedure here successfully: [URL] ....
The problem is that even if I see something like the following in named.run on the slave server (which implies the rndc connection worked):
received control channel command 'addzone xxxxxxxx.com { type slave; file "xxxxxxxx.com"; masters { x.x.x.x; }; };' received control channel command 'refresh xxxxxxxx.com' received control channel command 'addzone xxxxxxxx.com { type slave; file "xxxxxxxx.com"; masters { x.x.x.x; }; };'
I still cannot query any entries for that zone from the slave DNS server:
$ dig @y.y.y.y xxxxxxxx.com ; <<>> DiG 9.8.3-P1 <<>> @y.y.y.y xxxxxxxx.com ; (1 server found) ;; global options: +cmd
[Code] .....
I also do not see any zone files created anywhere on the slave server.
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.
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
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.
I use for my client the webmail Roundcube.. How to I set for Auto Deleting The Mails From Trash Folder and Junk with mail server Dovecot after 30 days?
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.
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...
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.
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?