Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Nvizn

macrumors newbie
Original poster
Jun 18, 2013
6
0
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
 

Nvizn

macrumors newbie
Original poster
Jun 18, 2013
6
0
I notice this error in the mail.log:

Code:
Mar 30 13:01:54 server.com postfix/local[30145]: error: od[getpwnam_ext]: no record for user jim.jones
Mar 30 13:01:54 server.com postfix/pipe[30147]: C2D072CDD7A: to=<jim.jones@server.com>, orig_to=<root@server.com>, relay=dovecot, delay=0.08, delays=0/0/0/0.07, dsn=5.1.1, status=bounced (user unknown)
Mar 30 13:01:54 server.com postfix/qmgr[215]: C2D072CDD7A: removed

It's complaining of "unknown" user. Any thoughts?
 

HenryAZ

macrumors 6502a
Jan 9, 2010
690
143
South Congress AZ
I notice this error in the mail.log:

Code:
Mar 30 13:01:54 server.com postfix/local[30145]: error: od[getpwnam_ext]: no record for user jim.jones
Mar 30 13:01:54 server.com postfix/pipe[30147]: C2D072CDD7A: to=<jim.jones@server.com>, orig_to=<root@server.com>, relay=dovecot, delay=0.08, delays=0/0/0/0.07, dsn=5.1.1, status=bounced (user unknown)
Mar 30 13:01:54 server.com postfix/qmgr[215]: C2D072CDD7A: removed

It's complaining of "unknown" user. Any thoughts?

Check your aliases file? The email is being sent to root, so there needs to be an alias from root --> jim.jones@server.com.

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.
 

Nvizn

macrumors newbie
Original poster
Jun 18, 2013
6
0
Check your aliases file? The email is being sent to root, so there needs to be an alias from root --> jim.jones@server.com.

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.

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.

Code:
# Person who should get root's mail. Don't receive mail as root!
root:		jim.jones@server.com

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:
Code:
postfix/local: no record for user jim.jones

While I await some input, I'm going to glance over the postfix service.
 

Nvizn

macrumors newbie
Original poster
Jun 18, 2013
6
0
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:

Code:
Mar 31 16:30:54 server.com postfix/local[16152]: error: od[getpwnam_ext]: no record for user jim.jones

Still looking for input on this issue. Thanks.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.