image
image

Go Back   macosx.com > Mac Help Forums > Mac OS X System & Mac Software

Reply
 
Thread Tools
  #1  
Old February 5th, 2002, 03:33 PM
Registered User
 
Join Date: Feb 2002
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
new2UNIX is on a distinguished road
Question Postfix installation help

I've downloaded postfix-20010228-pl08.tar.gz and extracted the files but I'm not too sure how to proceed. I've read the installation files and it looks like there are special instructions for the Public Beta version of OSX only (and I'm running 10.1.2). I'm also attempting to follow the instructions at
http://www.stepwise.com/Articles/Wor.../eart.1.2.html
with no luck when I get to the Postfix installation steps.

Upon entering:

make makefiles CCARGS="-I/usr/local/include -DHAS_PCRE" AUXLIBS="-L/usr/local/lib -ldb -lpcre"

I see:

make -f Makefile.in MAKELEVEL= Makefiles
set -e; for i in src/util src/global src/dns src/master src/postfix src/smtpstone src/sendmail src/error src/pickup src/cleanup src/smtpd src/local src/lmtp src/trivial-rewrite src/qmgr src/smtp src/bounce src/pipe src/showq src/postalias src/postcat src/postconf src/postdrop src/postkick src/postlock src/postlog src/postmap src/postsuper src/spawn src/flush ; do \
(set -e; echo "[$i]"; cd $i; rm -f Makefile; \
make -f Makefile.in Makefile MAKELEVEL=) || exit 1; \
done;
[src/util]
(set -e; echo "# DO NOT EDIT"; /bin/sh ../../makedefs && cat Makefile.in) >Makefile
Unknown system type: Darwin 5.2
make: *** [Makefile] Error 1
make: *** [Makefiles] Error 1
make: *** [makefiles] Error 2

I'm not sure where to proceed from here. Any help would be greatly appreciated.

Thanks.
Reply With Quote
  #2  
Old February 6th, 2002, 02:06 AM
scruffy's Avatar
Notorious Olive Counter
 
Join Date: Dec 2000
Location: Soviet Canuckistan
Posts: 1,726
Thanks: 0
Thanked 0 Times in 0 Posts
scruffy is on a distinguished road
The long story...

I had forgotten about that little joy of building postfix! The trick is, when OS X 10.1.1 (I think) came out, there was a typo in the Darwin version number - it went from 1.4.something to 5.1, not 1.5.1, as was presumably intended. Never ones to admit a mistake, Apple continued on their new 'version 5' kick - 0S X 10.1.2 now has Darwin version 5.2. Postfix pl08 was released before 10.1.1, so they made the reasonable assumption that OS X would be Darwin 1.something for a while to come.

You have to find the file that specifies what OS goes with what sytem name and version number, and just change 'Darwin-1.*' to 'Darwin-5.*' (or something similar). The file is presumably one of the ones mentioned in the output messages you're getting. With luck, it will be the one makedefs file, and not every individual src/blah/Makefile.in that needs editing.

Oh, yeah, the OS X PB script is the one you want. I believe it won't run unless you actually edit it though. This was deliberate, they want to make sure their default script doesn't trample your own system's settings - you have to make sure the user and group IDs in their script are not already in use on your system.

Hope this helps. Good luck!
__________________

What is the robbing of a bank compared to the founding of a bank?
-- Bertold Brecht
Reply With Quote
  #3  
Old February 6th, 2002, 01:45 PM
Registered User
 
Join Date: Feb 2002
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
new2UNIX is on a distinguished road
Thanks! That helped. Now I have postfix compiled and installed. I've configured main.cf (per instructions at http://www.stepwise.com/Articles/Wor...art.1.3.1.html ) and now I type:

sudo postfix start

and I get the following:

/etc/postfix/postfix-script: no such file or directory: /usr/local/bin/postlog [70]

So what haven't I configured correctly?
Reply With Quote
  #4  
Old February 9th, 2002, 02:26 AM
scruffy's Avatar
Notorious Olive Counter
 
Join Date: Dec 2000
Location: Soviet Canuckistan
Posts: 1,726
Thanks: 0
Thanked 0 Times in 0 Posts
scruffy is on a distinguished road
Hmm. I don't recall getting anything of that sort.

However, my postlog lives in /usr/local/sbin not /usr/local/bin (try 'which postlog'). Fraid I can't offer much beyond that. Maybe you could make a softlink from the one in sbin to the one in bin...
__________________

What is the robbing of a bank compared to the founding of a bank?
-- Bertold Brecht
Reply With Quote
  #5  
Old February 10th, 2002, 07:14 PM
Registered User
 
Join Date: Sep 2000
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
emck is on a distinguished road
patch postfix

I too have installed postfix on my machine and now I was wandering how on would apply a patch to postfix or any other unix software, to fix any bug.

I know there are some instruction but none that explain how to apply a patch.

thanks

Edward
Reply With Quote
  #6  
Old February 14th, 2002, 12:46 AM
scruffy's Avatar
Notorious Olive Counter
 
Join Date: Dec 2000
Location: Soviet Canuckistan
Posts: 1,726
Thanks: 0
Thanked 0 Times in 0 Posts
scruffy is on a distinguished road
that's one I can answer

cd sourcedirectory
patch < patchfile
__________________

What is the robbing of a bank compared to the founding of a bank?
-- Bertold Brecht
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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Postfix installation for 10.2 (help needed) kuragari Unix & X11 5 September 18th, 2003 11:46 PM
Fixing postfix on 10.2 kwalker Unix & X11 0 September 5th, 2002 04:22 PM
postfix: unknown mail_owner dwc Unix & X11 3 June 15th, 2002 01:04 PM
Postfix Woes tieng Mac OS X System & Mac Software 0 February 25th, 2002 12:15 PM


All times are GMT -5. The time now is 08:50 PM.


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