Find the answer to your Linux question:
Results 1 to 3 of 3
Hi Folks. I had a misconfigured cronjob, which has been fixed for a while now, but my server refuses to stop letting me know about it. I see a constant ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    May 2010
    Posts
    2

    Server never stops sending mail


    Hi Folks.

    I had a misconfigured cronjob, which has been fixed for a while now, but my server refuses to stop letting me know about it. I see a constant stream of the following in my syslog:


    Code:
    May 18 13:00:57 smallcity sm-msp-queue[10486]: o4DMK2IU020947: to=postmaster, delay=4+18:14:47, xdelay=00:00:02, mailer=relay, pri=13713205, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (o4IGmMIr010600 Message accepted for delivery)
    May 18 13:00:57 smallcity sm-mta[16701]: o4IGwA0q006507:to=<postmaster   at    smallcity   dot  ca>, delay=00:00:03, xdelay=00:00:00,mailer=local, pri=33780, dsn=2.0.0, stat=Sent
    May 18 13:00:57 smallcity sm-msp-queue[6495]: o4DMK2II020947: to=postmaster, delay=4+18:14:54, xdelay=00:00:01, mailer=relay, pri=13713205, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (o4IGwA0s006507 Message accepted for delivery)
    I've tried several things:
    * removing files in the sendmail queue (/var/spool/mqueue)
    * stopping sendmail (/etc/init.d/sendmail stop) -- this doesn't seem to stop sendmail

    Any suggestions?

    Thanks.

    Sean

  2. #2
    Super Moderator Roxoff's Avatar
    Join Date
    Aug 2005
    Location
    Nottingham, England
    Posts
    3,807
    Are you sure that this is your cron job misbehaving? Have you read the emails, they could be notifications that things have gone to plan. The configured user will get output if a cron job produces any, you may find that this is just normal output being emailed.
    Linux user #126863 - see http://linuxcounter.net/

  3. #3
    Just Joined!
    Join Date
    May 2010
    Posts
    2
    Quote Originally Posted by Roxoff View Post
    Are you sure that this is your cron job misbehaving? Have you read the emails, they could be notifications that things have gone to plan. The configured user will get output if a cron job produces any, you may find that this is just normal output being emailed.
    Yes, the emails were related to a misconfigured cronjob, and they were all dated before I had removed the offending cronjob. It's actually stopped processing now, so it must have caught up.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •