Crontab no longer sending email - Since 10.7-10.9 Upgrade

Discussion in 'Mac OS X Server, Xserve, and Networking' started by Nvizn, Mar 30, 2015.

  1. Nvizn macrumors newbie

    Jun 18, 2013
    I just upgraded my server, from 10.7-10.9, to accommodate users on Windows machines and the SMB protocol. There have been a few things I've had to tweak, or re-enable, since doing so. I have a number of cron jobs that run, and email the results to me. I'm no longer receiving any of the emails, which is a huge detriment. I have a number of bash and python scripts, some send daily results of the security log files, which are extremely important! The mail service is running (made no changes to it since upgrade) and I've received a few notifications from the "admin," certificate expiring, etc., but nothing from cron or root. Any ideas? Any assistance is greatly appreciated.

    Mac mini, OS X Mavericks (10.9.5), Server
  2. Nvizn thread starter macrumors newbie

    Jun 18, 2013
    I notice this error in the mail.log:

    Mar 30 13:01:54 postfix/local[30145]: error: od[getpwnam_ext]: no record for user jim.jones
    Mar 30 13:01:54 postfix/pipe[30147]: C2D072CDD7A: to=<>, orig_to=<>, relay=dovecot, delay=0.08, delays=0/0/0/0.07, dsn=5.1.1, status=bounced (user unknown)
    Mar 30 13:01:54 postfix/qmgr[215]: C2D072CDD7A: removed
    It's complaining of "unknown" user. Any thoughts?
  3. HenryAZ macrumors 6502a


    Jan 9, 2010
    South Congress AZ
    Check your aliases file? The email is being sent to root, so there needs to be an alias from root -->

    The mail service is running, but likely an upgraded version of postfix. The upgrade may have introduced a new aliases file, or postfix may be looking for it in the wrong place.
  4. Nvizn thread starter macrumors newbie

    Jun 18, 2013
    Thanks, HenryAZ. The root mail address, was defined in the previous 10.7.5. I also confirmed this was still listed in the aliases file (etc/aliases), seen below.

    # Person who should get root's mail. Don't receive mail as root!
    It seems to be a direct problem with the mail service. I just tested and confirmed via telnet, the ability to send mail over port 25, from the server.

    I'm very curious about this part:
    postfix/local: no record for user jim.jones
    While I await some input, I'm going to glance over the postfix service.
  5. Nvizn thread starter macrumors newbie

    Jun 18, 2013
    Correction to my original statement. I thought I had received emails from the server "admin," I was incorrect. I haven't received any emails since the upgrade. There's a very apparent problem with sendmail/postfix and whatever the issue is with:

    Mar 31 16:30:54 postfix/local[16152]: error: od[getpwnam_ext]: no record for user jim.jones
    Still looking for input on this issue. Thanks.
  6. kryten2 macrumors 6502a

    Mar 17, 2012
    You didn't mention in your OP if you have searched for the error you're getting. Perhaps there's something useful in the link.

    Info : Error: od[getpwnam_ext]

Share This Page