Defaults for php script limit values in directadmin.conf?

Richard G

Verified User
Joined
Jul 6, 2008
Messages
14,557
Location
Maastricht
Since again some WP was hacked and some spammers were able to send out 1000 mails via an api they managed to put in the WP site, I was looking for something to restrict the amount of php mails and found this part of the docs:

It's spoken about what it's for and how it works, but it seems there are no default values, which means unlimited, is that correct?

Then I've seen this one:
parse_php_mail_log_at_limit =

This contains a typo in the doc:
To disaplay a path to script on the "E-Mail Usage" page in user panel
Since it's not showing anything (at least not in Enhanced skin) and not blocking anything, I presume the default for this one is 0?
 
Ah thank you @jamgames2 I missed that one, but I was wondering about the defaults of the other two.
It looks like they don't have a default.

The link to the feature says this:
The internal default for this feature is: parse_php_mail_log_at_limit=1

The documentation says:

1To disaplay a path to script on the "E-Mail Usage" page in user panel

But I could not find any path to the script on the E-Mail Usage page. Unless this is again only for the Evo skin. Several of our customers and myself still use Enhanced skin.
 
if don't have default value in " *_php_* " , That it bug

do you have any config in directadmin.conf ?
/usr/local/directadmin/directadmin c | grep _php_

should look like this
Code:
parse_php_mail_log_at_limit=1
disable_php_script_at_limit_threshold=80
disable_php_script_at_limit_minimum=100


in my box, Enhanced skin show path normally
 
I think you don't understand my question.

These settings are not by default present in directadmin.
So that's why I wanted to know what the internal default of DA is for those two settings.
For example:
The line "parse_php_mail_log_at_limit=1" is also not present in directadmin.conf, but the internal default is 1.

Anyway, I already configured this so I don't have issues with it.

I do have issues that the internal default of this parse_php etc. line is 1, and the path to the script used in Email usage is not present as the description says.
 
Back
Top