Hi,
Using the UAPI function store_filter described here:
UAPI Functions - Email::store_filter - Developer Documentation - cPanel Documentation
does not mention a "part" parameter for spam score.
However, in the old API Email::addfilter described here:
cPanel API 1 Functions - Email::addfilter - Developer Documentation - cPanel Documentation
it mentions the "part" parameter h_X-Spam-Score.
I would like to create a new filter using the UAPI store_filter function that compares the spam score of a message to a specific value using a comparison part of the spam score, the match of "is above", and some value. Is this possible to do this using the UAPI function store_filter? What would be the "part" parameter for
Also, I noticed in the second link to the old API it seems to refer the reader to a replacement function of Email::delete_filter. Is this correct or should it refer them to store_filter instead?
Finally, is the "not delivered" part parameter correct in the UAPI doc? It shows "error_message" including an underscore where a space would normally be, but "not delivered" uses a space. Is this correct?
Thanks!
Using the UAPI function store_filter described here:
UAPI Functions - Email::store_filter - Developer Documentation - cPanel Documentation
does not mention a "part" parameter for spam score.
However, in the old API Email::addfilter described here:
cPanel API 1 Functions - Email::addfilter - Developer Documentation - cPanel Documentation
it mentions the "part" parameter h_X-Spam-Score.
I would like to create a new filter using the UAPI store_filter function that compares the spam score of a message to a specific value using a comparison part of the spam score, the match of "is above", and some value. Is this possible to do this using the UAPI function store_filter? What would be the "part" parameter for
Also, I noticed in the second link to the old API it seems to refer the reader to a replacement function of Email::delete_filter. Is this correct or should it refer them to store_filter instead?
Finally, is the "not delivered" part parameter correct in the UAPI doc? It shows "error_message" including an underscore where a space would normally be, but "not delivered" uses a space. Is this correct?
Thanks!