That's strange, I thought we got them all working ! Anything in the logfiles that might shed some light on the cause of the issue.
no1tmorrow 29 Sep 2006
Which log do I need to look in?
jstubbs 29 Sep 2006
Assuming you have the StartupItems installed, do you have the needed entries in /private/etc/hostconfig ?
After restarting, open Terminal and use the top command to confirm that the daemons started. Or Activity Monitor, if you prefer a GUI.
no1tmorrow 04 Oct 2006
I went through and redid all the steps on "Starting the mailserver programs automatically after a reboot" and upon reboot none of the three are starting? Here is my hostconfig file
Open two terminal windows. In the first one, type top, enlarge the window show you can see most of the processes. In the second window, invoke Postfix directly by typing:
sudo postfix start
Back in the first windown, the process master should appear at the top, with possibly other postfix processes (qmgr, smtpd, anvil,....) Leave top running for a few minutes. Does it stay active or does it quit?
Well, you're monitoring the window, look for these other processes:
httpd ==> Apache2
authdaemon ==> Courier authentication
mysqld ==> MySQL
courierlog & couriertcp ==> Courier-IMAP
After waiting a few minutes, hit q to close top, then close Terminal and give some feedback.
Guys I had a short look on Thom's mini and It's indeed a silly mistake:
StartService ()
{
? if [ "${MAILSERVER:=-NO-}" = "-YES-" ]; then
? ? echo "Starting Postfix mail server"
? ? postfix start
? fi
}
The question marks where tab characters but the copy and paste action changed them into question marks. I guess you'll have to switch to another editor or learn to use the allmighty VI like a true ....
Hmm this is getting werder by the minute, the scripts work when you execute them by hand, like:
sudo /Library/StartupItems/Postfix/Postfix start
but they don't run at startup ?
I there some hidden option that could cause this problem, never seen it...
jstubbs 06 Oct 2006
richard5 Escribió:
Hmm this is getting werder by the minute, the scripts work when you execute them by hand, like:
sudo /Library/StartupItems/Postfix/Postfix start
but they don't run at startup ?
I there some hidden option that could cause this problem, never seen it...
Did you kill launchd's postfix starter in /System/Library/LaunchDaemons??
It might be overriding postfix's StartupItem. But it shouldn't affect Courier IMAP & Auth. Are they running on startup?
I was using Textwrangler and it messed up my Tab key. So I went in using "vi" and fixed all of the tabs. All is starting (most everything, see Postfix section)
29 Sep 2006
I have to manually start Postfix, authdaemond, imapd.rc.
Anyone have any ideas (That is a hint for Richard to answer..... :D )
29 Sep 2006
29 Sep 2006
29 Sep 2006
After restarting, open Terminal and use the top command to confirm that the daemons started. Or Activity Monitor, if you prefer a GUI.
04 Oct 2006
AFPSERVER=-NO-
AUTHSERVER=-NO-
AUTOMOUNT=-YES-
CUPS=-AUTOMATIC-
NFSLOCKS=-AUTOMATIC-
NISDOMAIN=-NO-
TIMESYNC=-YES-
QTSSERVER=-NO-
WEBSERVER=-NO-
SMBSERVER=-NO-
SNMPSERVER=-NO-
SPOTLIGHT=-YES-
CRASHREPORTER=-YES-
MYSQLCOM=-YES-
APACHE2=-YES-
CAUTHSERVER=-YES-
IMAPSERVER=-YES-
MAILSERVER=-YES-
Any thoughts?
Thanks
Thom
04 Oct 2006
no1tmorrow Escribió:
Odd.
Well, lets test just one server first.
Open two terminal windows. In the first one, type top, enlarge the window show you can see most of the processes. In the second window, invoke Postfix directly by typing:
sudo postfix startBack in the first windown, the process master should appear at the top, with possibly other postfix processes (qmgr, smtpd, anvil,....) Leave top running for a few minutes. Does it stay active or does it quit?
Well, you're monitoring the window, look for these other processes:
httpd ==> Apache2
authdaemon ==> Courier authentication
mysqld ==> MySQL
courierlog & couriertcp ==> Courier-IMAP
After waiting a few minutes, hit q to close top, then close Terminal and give some feedback.
04 Oct 2006
StartService (){
? if [ "${MAILSERVER:=-NO-}" = "-YES-" ]; then
? ? echo "Starting Postfix mail server"
? ? postfix start
? fi
}
The question marks where tab characters but the copy and paste action changed them into question marks. I guess you'll have to switch to another editor or learn to use the allmighty VI like a true ....
04 Oct 2006
sudo /Library/StartupItems/Postfix/Postfix start
but they don't run at startup ?
I there some hidden option that could cause this problem, never seen it...
06 Oct 2006
richard5 Escribió:
Did you kill launchd's postfix starter in /System/Library/LaunchDaemons??
It might be overriding postfix's StartupItem. But it shouldn't affect Courier IMAP & Auth. Are they running on startup?
Try (watch line break, just 1 line):
sudo launchctl unload -w /System/Library/LaunchDaemons/org.postfix.master.plistThen re-start.
09 Oct 2006
Thanks again.
Thom