image
image

Go Back   macosx.com > Mac Help Forums > Unix & X11

Reply
 
Thread Tools
  #1  
Old June 14th, 2002, 10:49 AM
dwc dwc is offline
Registered User
 
Join Date: Jun 2002
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
dwc is on a distinguished road
Angry postfix: unknown mail_owner

i've installed postfix on osx 10.1.5 and i setup vbulletin (such a cool program, i think). Anyway, mail seems to be working fine, except when vbulletin tries to send mail. All i see is this in my mail.log:

fatal: unknown mail_owner configuration parameter value: postfix

the user for postfix is postfix. Also, when i run the mailtest.php script that comes with vbulletin, it works, so i don't think it's a simple as saying that the apache user can't send mail. i imagine it's some kind of permissions problem. Has anyone encountered this?

i appreciate the help.
Reply With Quote
  #2  
Old June 14th, 2002, 04:34 PM
dwc dwc is offline
Registered User
 
Join Date: Jun 2002
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
dwc is on a distinguished road
it continues...

well, i kind of solved the problem.

Wietse (of postfix) wrote this to me:

> Postfix looks up the "postfix" username with the getpwnam()
> system routine. That routine fails when
>
> - The user does not exist in the UNIX password database.
> - Your SYSTEM (not POSTFIX) file permissions are incorrect.

so, i figured i just needed to add postfix to /etc/passwd. i actually decided to do an nidump passwd . > /etc/passwd. The message no longer shows up. Instead, i get:

postfix/sendmail[6620]: fatal: unknown default_privs configuration parameter value: nobody

nobody is in both /etc/passwd and /etc/group. Not sure what to do next.
Reply With Quote
  #3  
Old June 14th, 2002, 04:37 PM
dwc dwc is offline
Registered User
 
Join Date: Jun 2002
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
dwc is on a distinguished road
postfix installation

i used the instructions at stepwise and they worked fine.

Actually, i started here:

http://www.hmug.org/HowTos/postfix.html


what's the errors you are getting?
Reply With Quote
  #4  
Old June 15th, 2002, 01:04 PM
dwc dwc is offline
Registered User
 
Join Date: Jun 2002
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
dwc is on a distinguished road
solved!

so, i still don't understand the problem completely, but i did manage to solve it. Here's what i did:

i took a dump of the netinfo using information using:

nidump passwd . > master.passwd

The dump is in the format of the file /etc/master.passwd. i copied the file to passwd and edited it, since it's format is slightly different from master.passwd.

in master.passwd, a line looks like this:

postfix:*:23456:23456::0:0:Mail:/tmp:/usr/bin/false

in passwd, it looks like this:

postfix:*:23456:23456:Mail:/tmp:/usr/bin/false

i think you only need the users postfix and nobody to make the mail system work. Not sure though.

obviously, php's mail function is using some lowlevel c library that doesn't query lookupd (to ask netinfo) for password information.

i hope apple will sync these files up with netinfo.
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
What The Heck Is This? BIGDOGquake3 Mac OS X System & Mac Software 9 January 26th, 2003 12:44 AM
Fixing postfix on 10.2 kwalker Unix & X11 0 September 5th, 2002 04:22 PM
Postfix Woes tieng Mac OS X System & Mac Software 0 February 25th, 2002 12:15 PM
10.1 broke Postfix! (and lots of other stuff) cody Mac OS X System & Mac Software 6 October 17th, 2001 05:13 PM


All times are GMT -5. The time now is 03:29 AM.


Mac Support® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.