summaryrefslogtreecommitdiff
path: root/spamassassin/default/spamassassin.diff
blob: 4ef9b2cd3b298f7702232dc305aa40aa609b094b (plain)
  1. --- spamassassin.orig 2015-01-31 20:07:51.000000000 +0100
  2. +++ spamassassin 2016-10-24 23:32:49.000000000 +0200
  3. @@ -8,7 +8,7 @@
  4.  # not used. Instead, enable spamd by issuing:
  5. # systemctl enable spamassassin.service
  6. # Change to "1" to enable spamd on systems using sysvinit:
  7. -ENABLED=0
  8. +ENABLED=1
  9. # Options
  10. # See man spamd for possible options. The -d option is automatically added.
  11. @@ -17,7 +17,7 @@
  12. # make sure --max-children is not set to anything higher than 5,
  13. # unless you know what you're doing.
  14. -OPTIONS="--create-prefs --max-children 5 --helper-home-dir"
  15. +OPTIONS="--create-prefs --max-children 5 --helper-home-dir -u debian-spamd -g debian-spamd --nouser-config --listen /var/run/spamassassin/spamd.sock --socketowner debian-spamd --socketgroup debian-spamd --socketmode 0660"
  16. # Pid file
  17. # Where should spamd write its PID to file? If you use the -u or
  18. @@ -31,4 +31,4 @@
  19. # Cronjob
  20. # Set to anything but 0 to enable the cron job to automatically update
  21. # spamassassin's rules on a nightly basis
  22. -CRON=0
  23. +CRON=1