R
royce
Guest
Hi all, I am having a problem with creating an email address via the PLESK API RPC. I can create it ok, and set the black/white list patterns, and set it to 'Delete spam mail when it comes to mailbox' automatically.
In my testing, I send an email to that account from an address that is on the blacklist. The email is correctly marked '****SPAM****' but it is not automatically deleted from the users inbox.
When I create an email account via the GUI, and set the same blacklist parameters, and send it an email from a blacklisted sender, the email is automatically deleted and the user never sees it. This is the result I want.
I checked the user_prefs file in /var/qmail/mailnames/domain/emailaddress/.spamassassin/ and I also checked the values in the `spamfilter` MySQL table but I don't see any difference in how the records are defined for users created by the API and users created by the GUI. So I'm totally confused as to why the SPAM would be treated differently.
Any help you can provide is appreciated.
In my testing, I send an email to that account from an address that is on the blacklist. The email is correctly marked '****SPAM****' but it is not automatically deleted from the users inbox.
When I create an email account via the GUI, and set the same blacklist parameters, and send it an email from a blacklisted sender, the email is automatically deleted and the user never sees it. This is the result I want.
I checked the user_prefs file in /var/qmail/mailnames/domain/emailaddress/.spamassassin/ and I also checked the values in the `spamfilter` MySQL table but I don't see any difference in how the records are defined for users created by the API and users created by the GUI. So I'm totally confused as to why the SPAM would be treated differently.
Any help you can provide is appreciated.