2015-04-21 17:43 GMT+03:00 Danil Smirnov <da...@smirnov.la>: > 2015-04-21 17:24 GMT+03:00 Lindsay Haisley <fmo...@fmp.com>: >> so a direct copy of the >> Mailman crontab to this directory can't be done without modifying the >> file.
You are right but not because of improper format of crontab.in file: # This file is copied to /etc/cron.d/mailman from # /usr/lib/mailman/cron/crontab.in when the mailman service is started via its # init.d script and the file /etc/cron.d/mailman is removed when the # service is stopped. Therefore any edits made directly to # /etc/cron.d/mailman will be lost anytime the mailman service # restarts. # # To make changes edit the master copy /usr/lib/mailman/cron/crontab.in and then # restart the service to pick up the changes (/sbin/service mailman restart). # # The reason this is done this way is because the mailman cron jobs # should only be invoked if the mailman service is enabled and not # just as a consequence of installing the rpm as was the case # previously. The file /etc/cron.d/mailman cannot simply be linked to # the master copy in /usr/lib/mailman/cron because for security reasons cron # will not process crontab files that are links or writeable by # anybody else but root, thus the file must be copied into /etc/cron.d # with the right ownership and permissions. Danil ------------------------------------------------------ Mailman-Users mailing list Mailman-Users@python.org https://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: https://mail.python.org/mailman/options/mailman-users/archive%40jab.org