Custom Allowed Domains lookup in spam filter #630
smorks
started this conversation in
Show and tell
Replies: 1 comment
-
Yes, that is the best to do it until the webadmin has an option for this. In addition to the config file, you can also define this list in a Redis or SQL server. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
So I've managed to get a custom domain lookup thing working with the current spam filter. I created a new sieve script and just copied the existing spam filter script, and added the following after it does the DMARC checking. I then set a custom spam score with a value of
-10.0
. I also had to update theSMTP -> Inbound -> Data Stage -> Run Script
to point to the custom spam filter sieve script.and to maintain the list of custom domains, they are currently just listed in the
config.toml
file. i couldn't find an easier way to do that, but maybe with #609, it might be easier in the future. anyways, in my config file, i added the following to the end:i also added the
"lookup.custom-domain-allow.*"
value to theconfig.local-keys
array too.it would be nice if there was a way to either configure it in the Web UI, or to specify an external file that the domains could be read from.
let me know if there's any easier way to accomplish this, or if what i'm doing is a terrible idea!
Beta Was this translation helpful? Give feedback.
All reactions