Plesk 12.x / Linux :: Outgoing Mail Control Not Working
Mar 15, 2015
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.
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?
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 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?
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.
Mail Statistic not working, In /var/log/maillog contains below logs:The limit on the number of allowed outgoing messages was exceeded. Try again later.
But on Home > Tools & Settings > Outgoing Mail Control
Attempts to send mail per hour (except the current hour):
Statistics are being calculated.Count statistic not working, it not show any infomation abount mail attempt sending. !When i check ./mailserver -i options
POP3 authorization: off SMTP authorization: on Maximum letter size: 20971520
Relaying: auth Check the passwords in the dictionary: on Enable MAPS spam protection: off MAPS zones: b.barracudacentral.org;zen.spamhaus.org Short POP3/IMAP mail account names: off The maximum number of connections (IMAP, POP3, IMAP over SSL, or POP3 over SSL).: 1024
[code]....
Show the alert on the Home page about attempts to exceed limits based on statistics for the last: P1DSend a notification about attempts to exceed limits on outgoing mail every: PT15M
I just did the update to 12.0.18 #6 and everything seemed to go pretty well. One feature we were really interested in was the Outgoing Spam Filter. Unfortunately, the error I see when I go to that feature reads, "Protection : Not active. There are some problems that prevent the service from being started."
When I Google that error, I'm brought to some KB articles but they are all for the older Outgoing Spam Filter that you need a license key for. I don't believe that is the case any more - if it is, I don't know where to get the key. I will say point out I'm a bit of a Linux novice (we are running CentOS 6.5 on this server), so I'm not really sure where to look....
I'm not been able to start plesk although web and mail services are running.I'm getting the error unable to execute php_handlers_control.I've patched and updated plesk with command line and bootstrap repair and I'm getting this errors:
Errors occured in mail restore procedure Some utilities have exited with errors: /usr/lib64/plesk-9.0/mail_auth_dump /usr/lib64/plesk-9.0/mail_responder_restore
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.
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?
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.
I just configured the limit for outgoing mail. It works well, but I have still some questions.
Normally the server sends bounce messages in HTML and in german. They look nice and what is much more important, the users who do not speak english are informed what is going on.
The message that is send, when the limit for outgoing mail is exceeded uses a different template. It is delivered in plain text and after explaining in german that the mail could not be send, it states the reason in english.
Is there any way to edit this bounce message, so that a translation could be added?
I had some users complaining that the server is not working, because they tried again and again to send a mail and kept the counter over the limit. For they did not understand what was causing it.
On the dashboard (intro page) there is the option "Outgoing Mail Control" and there the link "See report". When clicking on "See report" I get a "Warning: Permission denied." error message when being logged in as the full administrator. Is this due to an error in an update or what is going on here?
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 wonder if there is any chance to change the domain that is being shown as the incoming/outgoing mail server to users of the Plesk Panel, when clicking on the "Info"-Icon near an e-mail-account in the mail list (see screenshot).
We only have a SSL certificate for one domain and want our customers to use this domain in their mail client settings, so that the client trusts the domain.
If I execute /usr/local/psa/admin/sbin/mail_handlers_control --list than I get a Block with some Email Addresses which are not major. What does it tell?
.---.---.-------.--------------------------------------.-----------------.------------------.-----------------. | E | P | prior | address | name | type | queue | |---|---|-------|--------------------------------------|-----------------|------------------|-----------------| | | | 10 | all | spf | global | before-queue | | X | | 10 | all-recipients | check-quota | global | before-queue | | X | | 10 | all-recipients | check-quota | global | before-sendmail | | X | | 10 | fat@domain3.com | spam | recipient | before-local | | | | 10 | mur@domain2.com| spam | recipient | before-local | | X | | 10 | rech@domain.com | spam | recipient | before-local | '---'---'-------'--------------------------------------'-----------------'------------------'-----------------'
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...
I'm using a 1blu.de vServer. On my VPS is Plesk 11.5 with centOS 6 installed. I created my Webspace [URL] .... and removed the Mail Services and activated the MSMTP plugin because I'm using the webserver from the hoster 1blu.de.
I activated the Firewall with the "allow any connection" rule.
In Plesk Tools & Settings > External SMTP Server I filled in the server informations smtp.1blu.de password & username. I checked all three boxes -> SMTP needs auth, allow user scripts ...
I installed Wordpress 3.9.2 with a Theme that uses PHP Mail function. The contact form is not sending any messages out. So I tried other php mail scripts but it doesn't work.
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?
how can we limit the maximum number of e-mails that can be sent by a domain in PLesk. We are facing issues where out server IP is getting blocked by some e-mail providers for bulk mailing.
Incoming mail on several devices with various operating systems gives me no trouble at all. However I can not find the right settings for outgoing mail for Thunderbird 24.0.
For incoming mail I noticed I had to submit mail.<name>.be and port 143, no authentication and non-encrypted password. And it works.
For outgoing mail server I've tried a lot of options:
mail.<name>.be, all ports tested, all authentication options, and with both encrypted or non-encrypted passwords, in every combination of these settings. smtp.<name>.be , all ports tested, all authentication options, and with both encrypted or non-encrypted passwords, in every combination of these settings. <name>.be, all ports tested, all authentication options, and with both encrypted or non-encrypted passwords, in every combination of these settings.
How can I limit outgoing mail hourly or daily (per mail account) on Plesk 11 Windows? I know I can do that with MailEnable Enterprise version, but I want to know if there any other way to do that.