[Bug 165184] Re: amavisd-new + spamassassin: cronjob spams root user

dAniel hAhler launchpad at thequod.de
Sat Dec 29 08:10:15 GMT 2007


** Attachment added: "debdiff for hardy"
   http://launchpadlibrarian.net/11087873/amavisd-new_2.5.2-2ubuntu2.dsc.diff

** Changed in: amavisd-new (Ubuntu)
     Assignee: dAniel hAhler (blueyed) => (unassigned)
       Status: In Progress => Triaged

** Description changed:

  Binary package hint: amavisd-new
  
  TO REPRODUCE
  
  1. install amavisd-new and spamassassin
  2. edit /etc/default/spamassassin to read CRON=1
  3. edit /etc/spamassassin/local.cf to read use_bayes 0
- 4. wait until the cronjob runs (*/3:18)
+ 4. execute the cronjob manually: "sudo -u amavis /usr/sbin/amavisd-new-cronjob sa-sync"
  
  PROBLEM
  
  Cron then starts "/usr/sbin/amavisd-new-cronjob sa-sync" which in turn runs "/usr/bin/sa-learn --sync" which then complains by mail:
  ERROR: configuration specifies 'use_bayes 0', sa-learn disabled
  
  SUGGESTION
  
  Avoid running sa-learn if use_bayes is set to 0. I'm however not sure
  how this can queried from the spamassassin configuration.

-- 
amavisd-new + spamassassin: cronjob spams root user
https://bugs.launchpad.net/bugs/165184
You received this bug notification because you are a member of Ubuntu
Sponsors for universe, which is a direct subscriber.



More information about the Ubuntu-universe-sponsors mailing list