ntwaddel

Well-Known Member
Nov 3, 2003
173
0
166
Templeton, CA
Subject: fcron <[email protected]> /usr/bin/python2 -S /usr/local/cpanel/3rdparty/mailman/cron/senddigests

Job /usr/bin/python2 -S /usr/local/cpanel/3rdparty/mailman/cron/senddigests terminated (exit status: 1) (mailing output)

Does anyone know how to fix this?

This is on trustix with the latest stable cpanel
 

clook

Well-Known Member
PartnerNOC
Jun 9, 2002
61
1
306
Preston, UK
You may have solved this by now but here goes... :)

This isn't actually an error, it's fcron which is emailing the status (even if blank). To stop this from happening edit the /var/spool/fcron/mailman.orig file and edit the line at the top saying 'MAILTO:...'. Replace it with: '!mail(no)' (without quotes but including exclamation).

Save this file then run the following to confirm it: fcrontab -z mailman

BTW, there's lots more that can be done such as email status for some lines and not others. I'm not sure how well these intergrate with cpanel's frontend though. http://fcron.free.fr/doc/fcrontab.5.html
 

Johnson

Active Member
Apr 16, 2003
44
0
156
clook said:
You may have solved this by now but here goes... :)

This isn't actually an error, it's fcron which is emailing the status (even if blank). To stop this from happening edit the /var/spool/fcron/mailman.orig file and edit the line at the top saying 'MAILTO:...'. Replace it with: '!mail(no)' (without quotes but including exclamation).

Save this file then run the following to confirm it: fcrontab -z mailman

BTW, there's lots more that can be done such as email status for some lines and not others. I'm not sure how well these intergrate with cpanel's frontend though. http://fcron.free.fr/doc/fcrontab.5.html

this is really not a fix. To fix mailman cronjobs you have to edit /etc/passwd and add /bin/bash as shell to user mailman.

it looks like cpanel supports only very common functions of fcron that are present in vixie-cron. I had many problems with fcron and had to fix them manually with different dirty workarounds. I'm thinking of move from trustix to other OS - too many problems and issues for "cpanel fully compatible" OS...
 

ed.kalk

Well-Known Member
Jun 19, 2008
76
0
56
Minneapolis, MN
This is the fix for this... came from cpanel Tech

Hello,

I am running trustix and the following fix was needed for me: (if you are not running Trustix, there is most likely a very similar fix needed if not the same)

I changed the shell in /etc/passwd for the "mailman" user to /bin/sh. I had read on the Mailman users list this was needed with Trustix.

Thank you.
--
Kyle Pinkley
Technical Analyst 2
cPanel