amavisd-new brings a cron job (/etc/cron.d/amavisd-new), which runs /usr/sbin/amavisd-new-cronjob every 3 hours as user 'amavis'. Changing the sa-sync and sa-clean actions to invoke sa-learn with --spam and --ham options (e.g., "--spam /var/vmail/*/*/Maildir/.Junk/*/*", "--ham /var/vmail/*/*/Maildir/cur/*") is simple. However, /var/vmail is vmail:vmail 700. What is the best way to integrate: run amavisd-new-cronjob as vmail instead of amavis? run amavisd-new-cronjob as root instead of amavis? figure out how the make /var/vmail vmail:amavis 750 for all adds/changes done via ISPConfig?