Skip to content
This repository has been archived by the owner on Mar 12, 2021. It is now read-only.

New rule for 'Message rejected due to content restrictions' #19

Open
grvpanchal opened this issue Jun 4, 2014 · 0 comments
Open

New rule for 'Message rejected due to content restrictions' #19

grvpanchal opened this issue Jun 4, 2014 · 0 comments

Comments

@grvpanchal
Copy link

I am trying to make a new rule on phpmailer-bmh_rules.php

/* rule: unknown
* sample:
* Diagnostic-Code: smtp; 5.3.0 - Other mail system problem 550-'5.7.1 Message rejected due to content restrictions' (delivery attempts: 0)
*/
elseif (preg_match ("/Message rejected due to content restrictions/is",$diag_code)) {
$result['rule_cat'] = 'unknown';
$result['rule_no'] = '0240';

}

I have added a rule for body and it worked out. however this $diag_code rule doesnt work. Does anyone have solution or reason for this please. Thanks

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant