Plesk 12.x / Linux :: Updated From 11.5 - Outgoing Spam Not Working
Jul 2, 2014
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'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 have a hard problem with my VPS. I have postfix as mail server on plesk 12 under ubuntu 12.
I dont know why the outgoing mails of all my domains in my servers are getting spam in servers like gmail, yahoo, hotmail...
I'm using mxtoolbox to fix errors and warnings and finally fixed all of them, but my mails are still outgoing to spam.
In mxtoolbox actually I have no mail server errors / warning, u can see it with, for example, this one of my domains: [URL] ....
Headers:
This message is an automatic response from Port25's authentication verifier service at verifier.port25.com. The service allows email senders to perform a simple check of various sender authentication mechanisms. It is provided free of charge, in the hope that it is useful to the email community.
I have some error when the new outgoing spam protection (limitation for outgoing mail) is enabled. Mail clients are unable to use SMTP for sending mails. "My mail client says: The message could not be sent. You are not allowed to use sendmail utility."
I don't undestand the blocking behaviour since the checkbox "Allow scripts and users to use Sendmail" is checked and no limit is exeeded.This is the relevant log part of maillog:
Code:
Jul 3 00:44:36 srv01 postfix/smtpd[3326]: C0E5182A20: client=46.128.x.x.dynamic.cablesurf.de[46.128.x.x], sasl_method=CRAM-MD5, sasl_username=info@domain.de Jul 3 00:44:36 srv01 postfix/cleanup[3331]: C0E5182A20: message-id=<0A380CA8-AAE3-4FA8-BA7A-A3FDF7CD16E2@domain.de> Jul 3 00:44:37 srv01 /usr/lib/plesk-9.0/psa-pc-remote[3280]: handlers_stderr: DATA REPLY:554:[B]5.7.0 The message could not be sent. You are not allowed to use sendmail utility.[/B] REJECT Jul 3 00:44:37 srv01 /usr/lib/plesk-9.0/psa-pc-remote[3280]: REJECT during call 'limit-out' handler Jul 3 00:44:37 srv01 postfix/cleanup[3331]: C0E5182A20: milter-reject: END-OF-MESSAGE from 46.128.213.43.dynamic.cablesurf.de[46.128.x.x]: 5.7.0 The message could not be sent. You are not allowed to use sendmail utility.; from=<info@domain.de> to=<mail@domain2.de> proto=ESMTP helo=<[192.168.1.20]> Jul 3 00:44:37 srv01 postfix/smtpd[3326]: disconnect from 46.128.x.x.dynamic.cablesurf.de[46.128.x.x]
Moreover I disabled the line "non_smtpd_milters" in postfix main.conf since my server has same issues discribed in the following thread: Postfix: mails sent through sendmail binary are blocked because of wrong HELO
When loggin into the Plesk, it says:Failed to update Plesk. To solve this problem, you can send the update log to Parallels support.View the update logs (Jan 23, 2015).Copy the logs to your computer before you close this message. To close this message, clickhere.How to proceed with that? Whom should I send this log-file?
I wanted to permanently get rid of xcache from my Plesk 12 as some softwares we are using crashes if xcache is installed or enabled on server.
At present I am doing yum remove to remove xcache php extension from server which is allowing our software to work but after couple of days, its coming back again.
I found traces in autoinstaller log, but I am not sure how to completely disable only xcache for all php versions installed on server i.e. PHP 5.3, 5.4, 5.5
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] ....
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?
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.
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 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".
I have a plesk 12 panel with outgoing email limit configured to 10 messages by hour.
I have a redirect account (An account named for example A, without mailbox, doing forward to another two internal accounts B and C). I doesn't know if these account are in use for outgoing email, but i think no.
The problem, are, these account are triggering the outgoing limit everyday on some hours. What's going on? Maybe the forwarding action are counting outgoing emails?
I need some method to check account when they trigger the limit to view who messages are trying to send (At least, headers, because i doesn't understand who messages are triggering limit). Also, if the problem are the forwarding, i need a method to not count these messages as outgoing ones, because i understand, if forwarding are triggered by an automated action / internal redirect / received message, these message doesn't are a outgoing one.
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.
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 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 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 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.
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?
I'd like to seek help on how to read eximlog file. I saw the below inside eximlog. I'm wondering now because realemail@domain.com does not exist on this user emailaddress when I browse his cpanel. Now who is sending it? the only correct info is the pixelxl which is the user.
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?