Plesk 11.x / Linux :: Configure Event To Monitor Email Queue?

May 19, 2014

How can I configure an event so when the number of emails in the queue exceeds a certain number then I am notified on the Mobile Plesk Server Monitor?

View 7 Replies


ADVERTISEMENT

Plesk 11.x / Linux :: Qmail Email Messages Always In Queue

Nov 17, 2014

I have a server(godaddy) with plesk. It was all working well till 8 - 10 days ago. I didnt notice it one week later where I started receiving a lot of failed mail notices. Then on investigation, there were more then 50K spam mails in the mail queue and the mails that were supposed to be sent(registration, forgot password) were also held up in the queue. I found the source of the spam and fixed that.

Also I cleared the mail-queue. Now when I try to send out a test message, it still gets held up in the mail queue. But I can send a test mail to the same domain (info@mydomain.com). All new user registration mails are also held up and this is greatly affecting the site.

View 1 Replies View Related

Plesk 12.x / Linux :: Mail Stuck In Queue When Sent To External Email

Jul 8, 2015

I can receive email from all accounts and all domains.

The problem is that when sending an email to an external email (gmail., hotmail, outlook.com .... etc) this is sent to mail queue and do not leave that place.

View 10 Replies View Related

Plesk 11.x / Windows :: Event New Subscription Created / Delete On Event Manager

Apr 17, 2014

How can I create new action when new subscription was created/deleted?

View 1 Replies View Related

Plesk 11.x / Linux :: Event Handler For Subscription Created

Apr 25, 2014

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.

View 3 Replies View Related

Plesk 12.x / Linux :: Event Manager Commands - Where Does STDOUT Go

Mar 5, 2015

If a shell script is run via the Plesk Events Manager, where does STDOUT & STDERR go? (assuming that nothing in the script itself is redirecting it)

Does it get automatically sent to /dev/null?

Does it get written to a file somewhere?

Is having a script produce output when run from Plesk Event Manager likely to cause any problems?

View 3 Replies View Related

Plesk 11.x / Linux :: Running Script From Event (Hosting Settings Created)

Jun 10, 2014

I'm trying to run a simple bash script when a new account is created, because I need to move some files automatically. So what I did:

I have created a simple bash script for testing if Plesk run it, called move_some_files.sh under /var/www

Code:

#!/bin/bash
echo "${NEW_SYSTEM_USER} ${NEW_DOMAIN_NAME}" >> move_some_files.log

I created this file as root and did chmod +x.

I created a new 'Hosting settings created' event running as root and with the highest priority with this command: /var/www/move_some_files.sh

I created a new customer with to test it

But, is not running the script! If I try some command directly on the event like 'touch /var/www/new_file' it's created, so the event is running, but not my script.

View 1 Replies View Related

Plesk 11.x / Linux :: New Mailbox Variable From (Mail Account Updated) Event

Jan 15, 2015

PRODUCT, VERSION, MICROUPDATE, OPERATING SYSTEM, ARCHITECTURE
Parallels Plesk, 11.5, .30_build115130819.13, Debian 7.0, Intel 64bit

PROBLEM DESCRIPTION
When triggering the events 'Mail account created' or 'Mail account modified' the returned variable NEW_MAILBOX will always state TRUE regardless of the mailbox option being ticked or not ticked on the 'New mail account' option located on the 'Mail' tab of a subscription.

STEPS TO REPRODUCE
1: Log in to plesk.
2. Select 'Tools & Settings'
3: Select 'Event Manager'
4: Select 'Add New Event Handler'
5: Select Event 'Mail account updated'
6: Enter in '/usr/bin/php /root/scripts/dbmail/mail_mod.php' to the Command box.

[Code] ....

ACTUAL RESULT

[NEW_MAILBOX] => true

EXPECTED RESULT

[NEW_MAILBOX] => false

ANY ADDITIONAL INFORMATION

I submitted this with parallels support and they stated that the variable NEW_MAILBOX will always return as TRUE regardless of if the mailbox option is ticked or not. They also stated the NEW_MAILBOX variable will be true regardless of any action taken on the panel with mail accounts.
The actual documentation on this variable is very sparse

Component name/description Old component value New component value
Mailbox old_mailbox new_mailbox

We previously had some code that would trigger on this variable and would create a mail account on our mail server with or without a mailbox.

if (!strcmp(getenv('NEW_MAILBOX'),"true") && !strcmp(getenv('OLD_MAILBOX'),"false")){
//Create a mailbox on the external mail service
}
if (!strcmp(getenv('NEW_MAILBOX'),"false") && !strcmp(getenv('OLD_MAILBOX'),"true")){
//Create a mail forwarder on the external mail service
}

At some point this variable has stopped working with newer versions of plesk. Having a variable that is always true regardless of what is done when creating a mail account seems pointless and requesting a new feature that was already there in older versions doesnt seem like something that should be requested on a new feature request.

QUESTION: Is there anyway to get this functionality restored other than requesting it gets re added via [URL] ....

View 2 Replies View Related

Email Queue :: Exim Delivery Queue Size Currently Has 3000 Emails

Aug 12, 2008

I get an alert that The exim delivery queue size currently has 3000 emails in it waiting to be processed.

View 5 Replies View Related

Plesk 11.x / Linux :: Event Handler To Change Default Permissions Of Skeleton Site

Mar 1, 2015

I am running Plesk 11.5.30 on CentOS and trying to change the default permissions of the /httpdocs folder and the skeleton site that is in .skel/0/httpdocs that appears when a domain is created. I have failed to find the event that I need to use to trigger the command.

#!/bin/bash
chmod -R g+rwx "/var/www/vhosts/${NEW_DOMAIN_NAME}/httpdocs"​

Some research suggested using the 'physical hosting created' but there is no option for this in 11.5.30.

View 3 Replies View Related

How To Configure Email On Linux Ubuntu

Jun 24, 2009

email configuring problem.

I have a complete 512mb vps on slicehost.com All configuring went well.

But for some reason I can't get my email-server to work. I have followed all tutorials on articles.slicehost.com/email Also I have installed atmail(.org) on my subdomain for email.

I always get the error the password isn't correct. Also when I try with Outlook.

The password is encrypted.

I understand an email setup is a complicated thing, and you probably need more information. But do you guys have any suggestions on what it might be? I'm a newbie, so it surely can be a newbie issue.

View 2 Replies View Related

Plesk 12.x / Linux :: Spam In Mail Queue

Jun 25, 2015

I have Spam in the Mail Queue.

How can I detect, where it come from, or how can I avoid it ?

View 3 Replies View Related

Plesk 11.x / Linux :: Mail Stays In Queue?

Jan 11, 2015

On the server, there is installed a WordPress installation. Mail from this WordPress installation never reaches for example suscribers. Almost all mail remains in the Queue and will be deleted after 7 days. Could it be because I do not have an SSL Certificate? %

View 1 Replies View Related

Plesk 11.x / Linux :: Mail Queue Grows Up?

May 22, 2014

My mail queue is growing up. I've stopped qmail but the queue goes on growing I must have an script running injecting mail in the queue, how can I find the script? I looked the running process (ps ) but I can not find anything (there is a lot of process!!!!)

View 4 Replies View Related

Plesk 12.x / Linux :: Bounce Emails Are Getting Stack In Queue

Sep 13, 2014

All bounce emails are getting stack in queue (deferred). I tried a few suggestions I found around but nothing changed.

Ubuntu 12.04
Postfix
Plesk

View 3 Replies View Related

Plesk 11.x / Linux :: Mail Not Being Sent Properly - Remaining In Queue

Jan 11, 2015

I am relatively new in Plesk and have problems with mail not being sent properly. On the server, there is installed a WordPress installation. Mail from this WordPress installation never reaches for example suscribers. Almost all mail remains in the Queue and will be deleted after 7 days. Could it be because I do not have an SSL Certificate? I use:

Plesk 11.5
CentOS 6.6
postfix
Log file + configuration

View 1 Replies View Related

Plesk 12.x / Linux :: How To Configure Dkim

Dec 7, 2014

how to configure dkim in plesk12, spf and domainkeys its ok, but dkim dont configure automatic.

View 3 Replies View Related

Plesk 12.x / Linux :: Can't Remove Or Clear Mail From Queue In Panel

Jun 15, 2015

Version 12.0.18. Using QMail.

If I attempt to remove even a small message from the mail queue, using the panel interface, the screen grays slightly but nothing happens. If I refresh the screen after several minutes, I'll sometimes get the following message:

"This operation is taking too long. Check the results in a few minutes."

Switching to Postfix eliminated the problem. But with Postfix, all of my Mailman lists (scores of them) broke, so I had to switch back -- and the problem reappeared.

View 3 Replies View Related

Plesk 12.x / Linux :: Adding New Mail Handler Before Queue For Spam?

Nov 24, 2014

It is posible add new mail handler before queue for spam? Example:

mail_handlers_control --add --priority=10 --executable=/usr/local/psa/handlers/hooks/spam --name=spam --enabled --queue=before-queue --type=recipient-domain --mailname=domain.com --context=text

I need for scan relay mail ....

View 1 Replies View Related

Plesk 12.x / Linux :: Alarms From Health Monitor Goes Into SPAM

Dec 12, 2014

I spent a lot of time trying to not have alarm messages into spam folder.

already added address to my contacts
already mark it as important
already changed sender email... but

Plesk where take email for Alarm Message?

Because I changed email (external) with 1 internal, but update alert arrive with administrator email and now is not going to spam, but alarm email arrive with old email (external, that is marked as pishing) ....

View 8 Replies View Related

Plesk 12.x / Linux :: Health Monitor In Power User?

Aug 1, 2014

i can't seem to get access to the health monitor in power user mode. As my plesk license was "upgraded" from a usual 11.x 10 Domains-License to new WebAdmin Package, i can't choose service provider view anymore. How can i get access to the health monitor now?

View 3 Replies View Related

Plesk 11.x / Linux :: Qmail - Emails Not Delivered To Mailboxes / Stay In Queue

May 26, 2014

I'm having a hard time figuring why me emails are not delivered to mailboxes.

A bit of context:
OS: Ubuntu 12
Plesk pannel: 11.5

This server was supposed to be a new server (upgrade) from a previous who was working correctly (Also Linux with Plesk but both older versions).

After new server installed and websited up and running, I decided to create mailboxes and then copied all mailboxes (including emails and folders) to this new server.

First issue I got was i could not connect, until I figure out permissions were incorrect (for root after copy) and fixed it to be accessible by "popuser" (each user to access his mailbox).

Now i can connect, but new emails stay on qmail and can't be delivered to mailboxes.

Even after I have deleted the emalboxes and recreate them (now new emails are being delivered) all those emails in the queue can't be delivered.

I forced queue flush with "postqueue -f" but I get errors on the log:

(temporary failure. Command output: .qmail has prog delivery but has x bit set. (#4.7.0) 4.2.1 Message can not be delivered at this time )...

Which user should i give permissions (if that is the case) so tha both popuser (email user) and qmail/postfix can write on the mailboxes and deliver messages?

View 4 Replies View Related

Plesk 12.x / Linux :: Upgrade 10.4.4 - Postfix Queue File Write Error

Jan 29, 2015

I just upgraded our Plesk 10.4.4 to 12.0.18 (on Ubuntu 10.04, about to be upgraded to 12.04). Now I get the dreaded 'queue file write error' in postfix on message delivery.

It tries to open /usr/lib/plesk-9.0/postfix-queue (which is not there) in this block in master.cf:

Code:

plesk_virtual unix - n n - - pipe flags=DORhu user=popuser:popuser argv=/usr/lib/plesk-9.0/postfix-local -f ${sender} -d ${recipient} -p /var/qmail/mailnames
127.0.0.1:10025 inet n n n - - spawn user=mhandlers-user argv=/usr/lib/plesk-9.0/postfix-queue 127.0.0.1 10027 before-queue
127.0.0.1:10026 inet n - - - - smtpd -o smtpd_client_restrictions= -o smtpd_helo_restrictions= -o smtpd_sender_restrictions= -o smtpd_recipient_restrictions=permit_mynetworks,reject -o smtpd_data_restrictions= -o receive_override_options=no_unknown_recipient_checks
127.0.0.1:10027 inet n n n - - spawn user=mhandlers-user argv=/usr/lib/plesk-9.0/postfix-queue 127.0.0.1 10026 before-remote
plesk_saslauthd unix y y y - 1 plesk_saslauthd status=5 listen=6 dbpath=/plesk/passwd.db

And on top of that, If disable all the milters/proxy and just try to deliver to plesk_virtual directly, the e-mail just disappears. Postfix thinks it was delivered, but it is not.

I also tried piping some text through /usr/lib/plesk-9.0/postfix-local with the same parameters postfix gives it, but also then nothing. No error, no exit code, no message in maildir.

There are a bunch of fixes around for the queue file write error, but nothing works because the nature of my problem is different. There is a KB article around for Plesk 9, which can hardly be useful.

I tried restoring postfix-queue from the backups, but if I try to use that, the mail.log eventually says:

Code:

Jan 30 01:20:00 ytechosting /usr/lib/plesk-9.0/psa-pc-remote[6621]: Message aborted.

I also used /usr/local/psa/admin/sbin/mchk to no avail: the only change it makes to my master.cf, is adding an empty line. And, I suspect it uninstalled my psa-courier, because it was gone at some point, and mchk was the only thing I did after knowing courier was still there.

How can the postfix config refer to that postfix-queue when it's not there? Is this even a valid master.cf file for Plesk 12?

View 13 Replies View Related

Plesk 12.x / Linux :: Unable To Configure Web Server On Host XXX

Jul 13, 2014

I'm getting this error ....

Code: Unable to generate the web server configuration file on the host <xxx> because of the following errors:

Template_Exception: apache2: bad user name <username>

file: /opt/psa/admin/plib/Template/Writer/Webserver/Abstract.php
line: 75
code: 0

Please resolve the errors in web server configuration templates and generate the file again.

<username> once was a user existing on the server. But I removed the user some days ago.

Since this morning I cannot reconfigure my web server. This always stops with the error message from above.

Unfortunately there is no clue, where the error could be located. The Abstract.php is crypted, so I am not able to check the where the problem is...

View 4 Replies View Related

Plesk 12.x / Linux :: How To Configure Two Servers For One Single Domain

Dec 17, 2014

I have hired two servers for plesk and I have the mail configured in one server and the website in another one, it all seems to work fine except for a problem.

When the server where the website is tries to send a message through a smtp account it can´t send it, it seems to be looking for the mail server in the same server where the website is instead of look for it in the other server.

How to configure this so it works correctly?

View 3 Replies View Related

Plesk 11.x / Linux :: Health Monitor Installed But Unable To Load Configuration File

Aug 31, 2013

I just installed the Health Monitor add-on in a brand new Plesk 11.5.30 on CentOS 6.4 but all that it's area in Plesk displays is this funky looking error:

{"status":"error","statusMessages":[{"status":"error","class":"","content":"Unable to load configuration file.Click to expand...

View 11 Replies View Related

Plesk 12.x / Linux :: Health Monitor Error - Unable To Load Configuration File

Apr 27, 2015

I have a one problem in my server . I use in Parallels Plesk v12.0.18_build1200140606.15 os_CentOS 6 I vps in systemOS CentOS6.6 Final Minimal and installing plesk health monitor show error in :

{"status":"error","statusMessages":[{"status":"error","class":"","content":"Unable to load configuration file.

And I try the command

/usr/local/psa/bin/sw-engine-pleskrun /usr/local/psa/admin/plib/scripts/setup-health-monitor.php

output problem is :

Error: Unable to read /proc/partitions

View 11 Replies View Related

Plesk 12.x / Linux :: Unable To Configure Web Server - Execution Failed

Dec 5, 2014

I get the following error in plesk i don't know how to resolve this

Unable to configure the web server: Execution failed.
Command: httpdmng Arguments: Array ( [0] => --reconfigure-all )
Details: Execution failed. Command: httpdmng Arguments: Array ( [0] => --reconfigure-server [1] => -no-restart )

[Code] .....

View 2 Replies View Related

Plesk 11.x / Linux :: Configure Customer DNS Settings To Use Server Main NS Records?

Jun 4, 2014

I have just moved away from Kloxo Hosting, and I am a bit confused as to how I go about setting Client domains to use the (Already Registered) Nameserver Records I have created on the server.

You see, when I create a customer, the template adds the domain with it's own nameservers, ex: (ns.customerdomain.com -> 0.0.0.0) I don't want this to be the case.

What I would like to achieve, is for all my client's to have their NS records pointing at the NS records I already have registered on the server.

The reason for this is, when I submit the registration document to my local registrar, I have to specify the nameserver address for the domain, however, I only have 2 IP's on the server. I cannot glue every customer's domain FQDN to an IP.

View 3 Replies View Related

Plesk 12.x / Windows :: Creating Event Handler - Domain Name

Dec 18, 2014

I am trying to create plesk event handler

I have created the event

"C:Program Files (x86)ParallelsPleskbinsubscription_settings.exe" -u "${NEW_DOMAIN_NAME}" -disk_space 15G
for domain updated / domain created

But it doesn't run.

If I add hardcode the domain name for example mytest.com

"C:Program Files (x86)ParallelsPleskbinsubscription_settings.exe" -u mytest.com -disk_space 15G

the event works.

View 7 Replies View Related

How Can I View The Email Queue?

Jun 29, 2009

How can I view the email que? I have no control panel using CentOS5

View 10 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved