whitelist issue

Mark Sapiro mark at msapiro.net
Thu May 27 23:26:29 UTC 2021


On 5/27/21 11:23 AM, David Daniluk wrote:
> 
> What happens if there is a syntax error in the whitelist? Does it simply
> skip that line or does it "break" the rest of the file?


First of all, if you run `sudo MailScanner --lint` it will report any
syntax errors in rulesets.

Also, as I read the code in `sub Store1Rule` in
`/usr/share/MailScanner/perl/MailScanner/Config.pm, a syntax error just
causes that one line to be ignored.


-- 
Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan


More information about the MailScanner mailing list