The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

mailman cron problems

Discussion in 'E-mail Discussions' started by ntwaddel, Nov 18, 2004.

  1. ntwaddel

    ntwaddel Well-Known Member

    Joined:
    Nov 3, 2003
    Messages:
    173
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Templeton, CA
    Subject: fcron <mailman@myserver> /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
     
  2. ntwaddel

    ntwaddel Well-Known Member

    Joined:
    Nov 3, 2003
    Messages:
    173
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Templeton, CA
    hmmmmmm i guess nobody else is having this problem. I get it on all 4 of my boxes :confused:
     
  3. clook

    clook Well-Known Member
    PartnerNOC

    Joined:
    Jun 9, 2002
    Messages:
    61
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    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
     
  4. Johnson

    Johnson Active Member

    Joined:
    Apr 16, 2003
    Messages:
    44
    Likes Received:
    0
    Trophy Points:
    6

    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...
     
  5. ed.kalk

    ed.kalk Well-Known Member

    Joined:
    Jun 19, 2008
    Messages:
    76
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    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
     
Loading...

Share This Page