0

The Mailman3 web installation instructions ask for the configuration of various cron jobs. This is not specified in the Debian Mailman3 installation instructions, which might suggest that the Debian mailman3-full package sets up what is required. Yet no cron jobs are listed in /var/spool/cron/crontabs/.

In addition, trying to run the specified jobs from the command line (e.g. sudo -u list mailman /usr/bin/mailman-web runjobs hourly) results in the error: ValueError: Language code already registered: ar.

3

1 Answer 1

1

The mailman3 package on Debian installs a set of cron schedules in

/etc/cron.d/mailman3

This should (with the current version of the software) look like the following:

# /etc/cron.d/mailman3: crontab entries for the mailman3 package

SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin

# At 8AM, send out notifices of pending requests to list moderators
0  8 * * *  list    if [ -x /usr/bin/mailman ]; then /usr/bin/mailman notify; fi

# At 12AM, send mail digests for lists that do periodic as well as threshold delivery
0 12 * * *  list    if [ -x /usr/bin/mailman ]; then /usr/bin/mailman digests --periodic; fi

# Every 15 minutes, gate messages from usenet to those lists which have the gateway configured
*/15 * * * *   list    if [ -x /usr/bin/mailman ]; then /usr/bin/mailman gatenews; fi

(See https://sources.debian.org/src/mailman3/3.3.7-3/debian/mailman3.cron.d/)

1
  • Thank you! Also, kudos for showing how to determine the answer: use the package's source code. Commented Jan 12, 2023 at 11:13

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .