Run spamassassin as debian-spamd
authorTom Hughes <tom@compton.nu>
Sat, 6 Sep 2014 09:59:44 +0000 (10:59 +0100)
committerTom Hughes <tom@compton.nu>
Sat, 6 Sep 2014 09:59:44 +0000 (10:59 +0100)
cookbooks/spamassassin/recipes/default.rb
cookbooks/spamassassin/templates/default/spamassassin.erb

index bbea015..6c64083 100644 (file)
@@ -25,8 +25,8 @@ service "spamassassin" do
 end
 
 directory "/var/spool/spamassassin" do
-  owner "mail"
-  group "mail"
+  owner "debian-spamd"
+  group "debian-spamd"
   mode 0755
 end
 
index e64c19b..286d1fe 100644 (file)
@@ -10,7 +10,7 @@ ENABLED=1
 # make sure --max-children is not set to anything higher than 5,
 # unless you know what you're doing.
 
-OPTIONS="--username mail --nouser-config"
+OPTIONS="--username debian-spamd --nouser-config"
 
 # Pid file
 # Where should spamd write its PID to file? If you use the -u or