Women in Technology

Hear us Roar



Article:
  Configuring sendmail on Jaguar
Subject:   Solved
Date:   2003-03-14 06:49:46
From:   mariox19@mac.com
Response to: Exec format error at boot time

This is a hack, but it seems to have worked:


In the startup script for sendmail, located at, /System/Library/StartupItems/Sendmail/Sendmail, I added a line before the commands to start sendmail:


sleep 10


It seems that allowing the computer a pause, for some reason, allows sendmail to launch properly.


I don't know how little a pause you can get away with -- I got tired of fooling around with the whole darn thing after a while.


As always, your mileage may vary.

Full Threads Oldest First

Showing messages 1 through 1 of 1.

  • Better Soloution
    2003-05-22 04:53:50  haz [View]

    Hi,

    A better soloution to this problem (which is wide spread) is to edit your /System/Library/StartupItems/Sendmail/StartupParameters.plist

    Where it says "OrderPreference" type "Last" like this :

    OrderPreference = "Last";

    So my StartupParameters.plist looks like this :

    {
    Description = "Sendmail mail server";
    Provides = ("SMTP");
    Requires = ("DirectoryServices");
    Uses = ("Disks", "Network Time", "NFS");
    OrderPreference = "Last";
    }

    This should work as it worked for me (running 10.2.6)

    All this does is it tells the OS to start sendmail after it has started all the apps in "Uses" and "Requires".

    For more info on startup scripts go to
    http://developer.apple.com/techpubs/macosx/Essentials/SystemOverview/BootingLogin/chapter_4_section_12.html

    Hope this has helped
    Haz