|
|
Inconsistent Startup file names
In the start of the hint, we're told that the file names / paths are /Library/Startup Items/Postfix/Postfix and /Library/Startup Items/ Postfix/StartupParameters.plist. In the file listing section of the hint, we're told to edit /Library/StartupItems/Postfix/StartupItems/StartupItems.plist and /Library/StartupItems/Postfix/StartupItems/postfix. Neither of these quite looks right to me. Under Panther and earlier, the standard location for system-wide startup items was /Library/StartupItems/Foo. This seems to be deprecated in Tiger, but it still works, so unless you're rewriting things to be totally the Tiger/launchd way, you should continue to use the Panther style naming convention. Therefore, the directory is StartupItems -- without a space in it, and the structure within the directory is two files: an executable program with the same name as the directory, and a StartupParameters.plist file with configuration options. (There can optionally be more stuff under a Resources directory, but this is uncommon; ususally the startup script is just a Bourne shell script with no unusual dependencies.) Therefore, for this hint, the full path to the files needed to start up things will be as follows:
/Library/StartupItems/Postfix/Postfix Now, that said, there was already a StartupItem for Postfix under /System/Library/StartupItems/Postfix under Panther. It looks like Tiger has replaced this with /System/Library/LaunchDaemons/org.postfix.master.plist, and as far as I can tell, the only thing you have to do to enable it is to set MAILSERVER=-YES- in your /etc/hostconfig file. That's all I did with my Mac at home, and the Postfix SMTP daemon starts up just fine at boot time. I suspect that you could just totally leave that step out of these instructions and everything will work just fine. The bigger problem I'm having, and the reason that I'm reading this article to begin with, is that I had to do a clean install (and didn't think to backup my /System tree before doing so) and now IMAP isn't working for me. So far, nothing I've managed has been able to get it to come back to life. I can connect to the IMAP daemon by doing a telnet localhost imap, but I can't connect, and the mail.log just shows a bunch of failed login attempts from user "???" (sic). I found discussion that seems to clarify some things -- in particular, it seems that the authentication mechanism has changed so that the IMAP daemon must use PAM now, when that was optional before -- but I still can't get it to establish a connection. I'm going to try the steps from this article when I get home, and will post a followup if I get anywhere with it... ---
imap fixed; still can't get imaps to work
Okay, it looks like the suggestion in this hint did the trick for getting my IMAP daemon working, at least in non-SSL mode. I'm still trying to get the other half working, but I can at least start using the IMAP server now. $ sudo cp /etc/pam.d/ftpd /etc/pam.d/imap I also did the security symlink, but it doesn't seem to have helped: $ sudo ln -s /usr/include/pam /usr/include/security I am, admittedly, cargo culting a bit here. When I figure out how to get this working and what had to happen to make it work, I'll come back and write a cleaner version of the steps that were followed. ---
imap fixed; still can't get imaps to work
Ahh, I've got it. Once the xinet.d changes have been made, you have to force the daemon to rescan its config file. The easiest way to do this is simply sudo killall -HUP xinetd; after doing this, I've got IMAP/SSL working again. W00t! :-) ---
imap fixed; still can't get imaps to work
Hey Babbage,
imap fixed; still can't get imaps to work
Hey Babbage,
Inconsistent Startup file names
It looks like Tiger has replaced this with /System/Library/LaunchDaemons/org.postfix.master.plist, and as far as I can tell, the only thing you have to do to enable it is to set MAILSERVER=-YES- in your /etc/hostconfig file. Yes, but if you examine that file, you'll see that it calls master with the argument list |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysNo new commentsLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.09 seconds |
|