Problem with DA custom sapmfilter implementation.

arghyaadhya

New member
Joined
Mar 11, 2020
Messages
2
I am getting error "Referer port (80) does not match DA's (2222): android-app://com.google.android.gm Referer check failed for IP address". I am using Baruwa spam filter, I am trying to connect vi it's api from DA server. I can connect using curl from the command line, but when I am trying to connect form the DA getting this error.

Please help me to solve this problem
 
I have done that but now it's showing another error "Referer host does not match com.google.android.gm !=<DA server IP>.

Now my costume spam-filter configuration (conf.py) file is look like (pasted below):-

DOMAIN_SF = "baruwa subdomain"
SERV_IP = "DA server IP"
TOKEN_ = "baruwa API token"
DIRECTADMIN_API = "DirectAdmin_loginkey"

Now baruwa API token is combination of (client id+client secret password). Now my question is both the value is not properly passing by the TOKEN_variable, that's why it's giving the error. How can I pass both value in one variable?

I have also tried with curl form the command line that was working. Please help.
 
Back
Top