Really fix qmail-notify cron

tags/ipasserelle-base-0.2.65-1 0.2.39_el6
Daniel Berteaud 11 years ago
parent 94bb024fa2
commit 9fdd47a27b
  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));

@ -288,7 +288,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