[Mailman-Users] Cron command?

Danil Smirnov danil at smirnov.la
Tue Apr 21 17:46:08 CEST 2015

2015-04-21 17:43 GMT+03:00 Danil Smirnov <danil at smirnov.la>:
> 2015-04-21 17:24 GMT+03:00 Lindsay Haisley <fmouse at 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.


More information about the Mailman-Users mailing list