Really fix qmail-notify cron

tags/ipasserelle-base-0.2.65-1 0.2.38_el5
Daniel Berteaud 11 years ago
parent a646159200
commit d29b73261f
  1. 4
      createlinks
  2. 1
      ipasserelle-base.spec
  3. 1
      root/etc/e-smith/templates.metadata/etc/cron.hourly/qmail-notify
  4. 1
      root/etc/e-smith/templates/etc/cron.hourly/qmail-notify/10All

@ -26,6 +26,10 @@ foreach my $event (qw/ipasserelle-update bootstrap-ldap-save/){
event_link("private-cacert", "$event", "25");
}
# Activation de qmail-notify
safe_symlink("/etc/e-smith/templates-default/template-begin-shell", "root/etc/e-smith/templates/etc/cron.hourly/qmail-notify/template-begin");
templates2events("/etc/cron.hourly/qmail-notify", qw(email-update bootstrap-console-save));
# Desactivation des checks RAID
templates2events("/etc/sysconfig/raid-check", qw(ipasserelle-update bootstrap-console-save));

@ -284,7 +284,6 @@ perl createlinks
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
--file /etc/cron.hourly/qpsmtpd-cleanup 'attr(0755,root,root)' \
--file /etc/cron.monthly/maillog-rotate 'attr(0755,root,root)' \
--file /etc/cron.hourly/qmail-notify 'attr(0755,root,root)' \
--file /etc/cron.hourly/cacrl 'attr(0755,root,root)' \
--file /etc/cron.daily/purge-homes-recycle 'attr(0755,root,root)' \
--file /etc/cron.daily/download-updates 'attr(0755,root,root)' \

@ -0,0 +1 @@
exec qmail-notify -r -m -f /var/qmail/control/queuenotifymsg
Loading…
Cancel
Save