Package: mailman3
Version: 3.3.10-2
Severity: important
Dear Maintainer,
*** Reporter, please consider answering these questions, where appropriate ***
* What led up to the situation?
* What exactly did you do (or not do) that was effective (or
ineffective)?
* What was the outcome of this action?
* What outcome did you expect instead?
*** End of the template - remove these template lines ***
I installed mailman3 and imported an existing setup using mailman2 mostly
successfuly.
One provlem I am still facing is that the daily cron jobs do not work. I get
email from cron daemon like e.g.
Subject: Cron <root@foo> list if [ -x /usr/bin/mailman ]; then /usr/bin/mailman
digests --periodic; fi
/bin/sh: 1: Syntax error: "then" unexpected
Looking at /etc/cron.d/mailman3, the relevant lines are:
# 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
It seems crontab uses ; as a separator and this breaks the command, Instead,
the entire command should be quoted and run with /bin/sh -c
The same applies to the other job in this file.
-- System Information:
Debian Release: 13.6
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 6.12.96+deb13-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages mailman3 depends on:
ii cron [cron-daemon] 3.0pl1-197
ii dbconfig-mysql 2.0.25
ii debconf [debconf-2.0] 1.5.91
ii init-system-helpers 1.69~deb13u1
ii logrotate 3.22.0-1
ii python3 3.13.5-1
ii python3-aiosmtpd 1.4.6-5
ii python3-alembic 1.13.2-4
ii python3-authheaders 0.16.3-1
ii python3-authres 1.2.0-4
ii python3-click 8.2.0+0.really.8.1.8-1
ii python3-dateutil 2.9.0-4
ii python3-dnspython 2.7.0-1
ii python3-falcon 3.1.1-5+b1
ii python3-flufl.bounce 4.0-6
ii python3-flufl.i18n 5.1.0-1
ii python3-flufl.lock 8.2.0-1
ii python3-gunicorn 23.0.0-1
ii python3-lazr.config 3.1-1
ii python3-passlib 1.7.4-6
ii python3-psycopg2 2.9.10-1+b1
ii python3-public 4.1.0-2
ii python3-requests 2.32.3+dfsg-5+deb13u1
ii python3-sqlalchemy 2.0.40+ds1-1
ii python3-standard-nntplib 3.13.0-5
ii python3-zope.component 6.0-1
ii python3-zope.configuration 6.0-1
ii python3-zope.event 5.0-0.1
ii python3-zope.interface 7.2-1+b1
ii ucf 3.0052
Versions of packages mailman3 recommends:
ii postfix [mail-transport-agent] 3.10.12-0+deb13u2
Versions of packages mailman3 suggests:
pn anacron <none>
ii lynx [www-browser] 2.9.2-1
pn mailman3-doc <none>
pn postgresql | default-mysql-server | virtual-mysql-se <none>
rver
ii w3m [www-browser] 0.5.3+git20230121-2.1
-- debconf information excluded