setsa: enable spam checking on admin mail nodes
authorClinton Ebadi <clinton@unknownlamer.org>
Mon, 23 Apr 2018 04:38:58 +0000 (00:38 -0400)
committerClinton Ebadi <clinton@unknownlamer.org>
Mon, 23 Apr 2018 04:38:58 +0000 (00:38 -0400)
No reason not to generate the addrs file, if spamassassin is not
installed it has no effect, and we want spam checking if it is.

src/mail/setsa.sml

index 32fa0ab..ea839d5 100644 (file)
@@ -47,7 +47,7 @@ fun rebuild () =
            (print ("New spamassassin data for node " ^ site ^ "\n");
             Connect.commandWorker (Domain.get_context (), site, MsgSaChanged))
     in
            (print ("New spamassassin data for node " ^ site ^ "\n");
             Connect.commandWorker (Domain.get_context (), site, MsgSaChanged))
     in
-       foldl doNode true Config.mailNodes_all
+       foldl doNode true (Config.mailNodes_all @ Config.mailNodes_admin)
     end
 
 end
     end
 
 end