I get this email every 20 minutes

Discussion in 'Server Operation' started by BrendanP, Aug 8, 2008.

  1. BrendanP

    BrendanP New Member

    Subject: Cron <smmsp@flowercouriers> test -x /etc/init.d/sendmail && /usr/share/sendmail/sendmail cron-msp

    /usr/share/sendmail/sendmail: line 880: /usr/sbin/sendmail-msp: No such file or directory


    I found this in /etc/cron.d/sendmail:

    */20 * * * * smmsp test -x /etc/init.d/sendmail && /usr/share/sendmail/sendmail cron-msp


    What does this mean?
    How can I fix it / disable it (should I?) / stop it emailing me?

    (/usr/sbin/sendmail-msp doesn't exist. Should I just create it?)
     
  2. chipsafts

    chipsafts New Member

    What I do is copy the directory structure from /etc/cron.d to /etc/cronNotUsed and then move the specific files from the /etc/cron.d to /etc/cronNotUsed tree to stop cron jobs.
     
  3. BrendanP

    BrendanP New Member

    A user on another forum with the same thing said they removed that line without problems.

    I commented out the second half (from the &&) so that I can restore it quickly if anything goes wrong. So far it hasn't; but I've stopped getting the emails.
     
  4. multimedia

    multimedia New Member

    Solved!

    I had this issue today and in that file you can comment out using # and then save

    For example

    Code:
    # */20 *    *    *    *		smmsp	test -x /etc/init.d/sendmail && /usr/share/sendmail/sendmail cron-msp

    I hope this helps also anyone else who may need this information.
     

Share This Page