Plesk 12.x / Linux :: Outgoing Mail Control Being Hijacked Mass Email Send Out
May 4, 2015
I keep having certain domains being hijacked and mass emails being sent from them somehow. I've disabled mail within domain control panel for each domain and issue keeps occurring. I've limited # of emails as well to 2-5 per hour but now so many are trying to be sent from my server it is clogging up mail queue and I have to log into server via ssh and run postsuper -d ALL every day or two. It is very frustrating. The only way I can stop it is to disable domain in plesk panel but that is not an option.
What can I do to find the cause of this issue and stop it?
The Outgoing Mail Control feature is working fine. One missing option with this feature is to view the contents of blocked messages. Unfortunately, sometimes a site gets hacked and is sending spam. which are over the message sending limit, to try to find out where the message came from.
The current problem is that the email message contents of the limitation warning with subject "Attempts to exceed outgoing limits for domains, mail boxes and subscriptions." is not correct. Somehow it only contains the text: date.timezone = "Europe/Amsterdam" (which is a PHP setting) instead of a descriptive message. I hoped it would contain the blocked message contents or some useful text. Can I change the contents of this message to the what is should be? And what should it be?
It looks like a problem I had ones before where the custom PHP settings at the hosting packages level and at the domains level where replaced with some other kind of settings string. But solved by just changing the custom PHP settings
I've searched, since about update 37 the outgoing mail control has stopped working for all of my domains. I get a hacker sendmail script uploaded sometimes and it used to catch it. Now it allows them to send and isn't detected them, maxing out my relays.
I upgraded Plesk to 12.0.18 on centos5.8 just because of new feature, Outgoing Mail Limit. There was no problem until I had to increase one of my client's domain limit. I set its Mail Box, Domain & subscription limit to "unlimited", but user get limit exceeded warning again. I search this problem on internet, and the only related article was [URL] .... but I didn't got meaning of "server wide limits".
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.
A second problem, also qmail is that I can't send to the server using TLS on the submission port, only if I do plain text. But the first problem is bigger because we can't send at all.
This is a new plesk installation and it has never worked.
Is it possible to see what e-mails are blocked/prohibited by Plesk Outgoing mail control? Currently i've set a limit of 20 mails on each mailbox. Yesterday I received an e-mail that there were messages blocked. For me personally it would be good to see what the receivers email adresses are and optionally what the content of the e-mail was. This way I can find out if it was really spam or not.
If the e-mails weren't spam, is there a possibility to release and send them?
I have set the values for outgoing mail control low enough to catch the problems without affecting all but one of my clients. I have given him increased limits on certain of his mailboxes.
However when he wants to modify the mailbox, for example change the password he gets the following error.
The maximum number of outgoing email messages (in a pink box)
"The value must be in the range 0..50. Only the Plesk administrator can adjust this setting."
He cannot change the password for this mailbox.
Is there anyway of setting a custom limit on an account and also allow the client to retain the ability to reset his own password.
I have upgrade from 11.0 to 11.5 three days ago and yesterday then from 11.5 to 12 due to the need of the outgoing mail control limit feature... but that ist not working.
I have enabled the feature and set a limit for one emailadress to two mails per hour. i have sent definitely more then 3 test mails via this email address but nothing happens.. and when i look into the statistics screen - this email address has sent 0 mails in the last 12 hours - which is definitely wrong. Seems the piece in the middle which counts mails etc is not working... how does the outgoing control limit works? is there some special configuration needed after an upgrade etc?
Plesk 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.
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.
I'm having difficulty sending an email to another email address (with a different domain) which is on the same VPS.The trouble is, on the other domain's VPS control panel, within the DNS settings, the MX records have been pointed externally (to an exchange server). Their email is turned off. But bizarrely, their mailbox is full.
It seems as though Plesk is ignoring the MX records, and sending MY email internally to the OTHER domain's mailbox on the same VPS.How do I get Plesk to send my mail to the correct EXTERNAL MX records?
Since upgrading to Plesk 12 I am experiencing a strange bug:
When enabling the limitation of outgoing email messages, is not possible to RECEIVE emails to a account that is only redirecting the email messages (to a different account which also lies on the server).
I reproduced this behavior on two different servers from which one is a complete reinstall.
The maillog will then show the following error when receiving mails to a redirecting address:
Aug 1 04:04:34 xxxxxx plesk sendmail[16709]: handlers_stderr: DATA REPLY:554:5.7.0 The message could not be sent. You are not allowed to use sendmail utility.#012REJECT Aug 1 04:04:34 xxxxxx plesk sendmail[16709]: REJECT during call 'limit-out' handler
I can find very few information on this error message, but when disabling the limiting feature, everything works as expected.
I upgraded from 11 to 12 (centOS) and set outgoing mail limits for mailboxes, domains and subscriptions, as per the documentation at URL....However, it doesn't appear the limits are limiting outgoing mail. As I can still send far more mail than the current limit using a PHP script.
#### maillog (partial & timestamp + servername removed for brevity) #### py_limit_out[16427]: ERROR 'NoneType' object has no attribute 'lower' plesk sendmail[16426]: Error during 'limit-out' handler plesk sendmail[16426]: handlers_stderr: SKIP plesk sendmail[16426]: SKIP during call 'check-quota' handler
[code]....
how to configure outgoing mail limits? I've also read through the sendmail documentation but couldn't find anything.
I have just install on a new server plesk 12.0.18 Update #7 on centos 6.5 final.Added new hosting for the domain on a dedicated IP. All works fine (website, incoming mails etc) apart from outgoing mails.Both webmail (roundcube) and other mail software (outlook 2010, 2013 , android phone etc) outgoing mail i can't get to work.
I have attached screen from webmail with SMTP error (250) : Authentication failed..With Outlook it will allow me to set up account, test account setting... it say all all complete if i don't set secure connection (SSL)/requires authentication. But when you try sending mails you get the error: Your message did not reach some or all of the intended recipients.
Subject:test Sent:16/07/2014 15:13
The following recipient(s) cannot be reached:
'x@xxx.com' on 16/07/2014 15:13 Server error: '554 5.7.1 <x@xxx.com>: Relay access denied'
When you set the outgoing requires authentication/ advance SSL you get:Send test e-mail message: None of the authentication methods supported by this client are supported by your server.I have tried changing to some outgoing ports to no avail.
I use postfix/smtp plesk12 centos7, I create mailbox add password. For example my domain is a.com from roundcube all work no problem.
My script isn't working look like this:
SMTP CONFIGURATION (LEAVE DEFAULT IF YOU USE mail() ) SMTP HOST smtp.a.com SMTP PORT 587 SMTP Secure tls SMTP Auth true SMTP USERNAME test@a.com SMTP PASSWORD my password
And the script dont send emails to user, say that Mailer Error: SMTP connect() failed. In dns settings I don't have smtpa.com host only have mail.a.com why from scripts don't send email to users?
Since updating from Plesk V11, Plesk is sending out an e-mail with date.time information to all my customers. I have not changed anything to my settings.
My Plesk Panel stopped to send notifications a while ago, I don't receive mails when the backup are done, the clients can't receive their passwords if they need to reset...
The mails are not being forwarded when they configure it in the panel (I receive a mail in mail1@mydomain.com and I want it forwarded automatically to mail2@gmail.com or wherever).
I don't see nothing about the plesk panel mail in the postfix log and I don't know what else to check.
How is the Number of outgoing Mails counted by mails or by recipients?
With a limit of 25 mails per hour is it possible to send 25 mails with 200 recipients each before they will be blocked or will one mail with more the 25 recipients exceed the limit?
In the documentation for Plesk 12 there is no information on what is happening if the limit for outgoing mail is reached.
If there is a limit of 50 mails per hour on a mail account and someone is trying to send 60 mails in one hour, what does happen with these 10 mails over limit?
1. Are there send 50 mails and the rest of 10 mails are deleted and will never be sent? 2. Or are these 10 mails sent later? 3. Can there be sent more mails in the next hour or is the mail account now blocked for sending mails?
Whenever trying to send an email using roundcube it just seems to fail... No error code is given - see attached image:
I've tried following the article here: [URL] ....
But it didn't seem to work and incidentally the main.inc.php file didn't even exist only a main.inc.php.rpmnew was there. I tried copying it to main.inc.php but it made no difference. Normal SMTP usage via thunderbird works, and everything works when trying to use horde.... it's just a problem with roundcube after the upgrade from 11.5 to 12.
I try to past pci compliance,but now this is not importand. If there have some repair postfix command? Default configuration? Or how can i send emain from outlook.
The problem is, can not send mail via SMTP using popular scripts Opencart, SMF, Osclass. The problem was lapping Plesk 11.5 via 587 port. That was timeout connection or authorization error with the correct settings. Mail may be sent, sometimes not. No longer working than working. At the same time when working with e-mail clients(example, The Bat) work fine. In Plesk 12 same problem. Port 465 - e-mail clients(example, The Bat) work fine. But can not send mail via SMTP using popular scripts Opencart, SMF, Osclass. When using Cpanel with Exim - all work perfect. But the Plesk e-mail with Postfix - constant problems.
we regularly get this message in boxmail of adress used to send email from server.This is the mail system at host DOMAIN.fr. You can delete your own text from the attached returned message.The mail system
<1@SERVERNAME.HOSTER.com> (expanded from <1>): User unknown in virtual alias table
If i look in maillog i see that :
May 18 16:48:52 SERVERNAME postfix/error[22737]: F22521B4E45: to=<1@SERVERNAME.HOSTER.com>, orig_to=<1>, relay=none, delay=0.07, delays=0.04/0.01/0/0.02, dsn=5.0.0, status=bounced (User unknown in virtual alias table)
The problem is in error message (at top) the message attached is the one sent to EMAIL@DOMAIN.com. So we can think the message is not sent to EMAIL@DOMAIN.com. SERVERNAME, HOSTER and EMAIL@DOMAIN are here to mask real data.
I m trying to get the feature "Outgoing Mail from Exclusive IP Addresses" working, as with an updated Postfix configuration the menu entry for this functions does not appear anymore.
Maybe i am missing something in my configuration that tells Plesk to not show it anymore.
Plesk 12 - fresh installation on Debian Wheezy.
We only changed main.cfnd here is the configuration file (please note that the formatting was a bit corrupted by the plesk panel ):
Code: alias_database= hash:/etc/aliases alias_maps= hash:/etc/aliases, hash:/var/spool/postfix/plesk/aliases append_dot_mydomain= no biff= no disable_vrfy_command = yes header_checks= regexp:/etc/postfix/header_checks mailbox_size_limit= 0
How do you reset the outgoing mail limits report?I have been doing some testing and I don't want the report to show that some of my domains are over their limits.