Hello,

I use SpamAssassin 3.4.2 with Perl 5.26.1 on Ubuntu 18.04 LTS (from a package).

The other day I was updating the local.cf file to add an address that I wanted to block (in this case I will use a fictional e-mail address of u...@example.com).

I entered a new line in local.cf like this:

blacklist_fro u...@example.com

... and restarted the service. The service restarted and there were no errors emitted. However, as you can see in the line above, the keyword is actually missing an "m". The line should have started with:

blacklist_from

Because I did not see any warnings or errors on restart, I was wondering:

** Does SpamAssassin lint the local.cf file on re-load ?

** If it does, I am assuming that an incorrect keyword is ignored (in this case, SpamAssassin ignores the mistake and therefore would not block e-mail from u...@example.com). Is there a way to manually lint local.cf to catch mistakes that I have made with keywords ?

Thanks,

- J

Reply via email to