Women in Technology

Hear us Roar



Article:
  Update to Mac OS X Terminal, Part 3
Subject:   Simpler fix ?
Date:   2002-06-17 16:53:56
From:   mike_dowe
I had sendmail working under the "don't blame sendmail" scheme until 10.5.1
Before I saw this O'Reilly update, I acted on Chris' post in the original article which said to follow the instructions in /etc/mail/README.


I figured I didn't want to edit sendmail.cf (I had in the past and it looked the same). I gathered from the README that netinfo was the problem so I followed these instructions:


* To ensure that sendmail does not read its config file from netinfo,
execute the following commands:
niutil -create . /locations/sendmail
niutil -createprop . /locations/sendmail sendmail.cf /etc/mail/sendmail.cf


I sent a test message to root and it worked (after rebooting).



Full Threads Oldest First

Showing messages 1 through 3 of 3.

  • Simpler fix ?
    2002-06-17 17:12:33  mike_dowe [View]

    By the way, though this simple fix worked for me. I do get these messages in the terminal when I send a message to root (which is automatically forwarded to me):

    Msmtp: Warning: first argument in [IPC] mailer must be TCP or FILE
    Mesmtp: Warning: first argument in [IPC] mailer must be TCP or FILE
    Msmtp8: Warning: first argument in [IPC] mailer must be TCP or FILE
    Mdsmtp: Warning: first argument in [IPC] mailer must be TCP or FILE
    Mrelay: Warning: first argument in [IPC] mailer must be TCP or FILE

    I don't know what they mean. Again, despite these warnings the mail still gets through.
    • Simpler fix ? (with error messages)
      2002-08-07 09:33:13  kwidholm [View]

      If you take a look at /var/log/daily.out, you'll see these error messages repeated there (assuming you've set up your computer to do its maintenance tasks). I don't get these messages when sending mail to root, I get them as part of the daily maintenance tasks or if I issue the 'sudo mailq' command.

      The interesting thing is that when I issue the 'mailq' command with the -v (verbose) switch, I get the following message:
      Warning: .cf file is out of date: sendmail 8.12.2 supports version 10, .cf file is version 9

      Would be nice to see Apple address all this stuff.
      • Simpler fix ? (with error messages)
        2002-09-07 22:37:47  jtangney [View]

        Regarding these and other messages, I found a resource that appears convincing - I am not qualified to vouch for its accuracy ;-> See http://www.sial.org/sendmail/macosx/8.12.2/

        I wish I knew/understood more about this. The upshot is that Apple needs to do some tweaking (perhaps already addressed in 10.2?) for sendmail to be 100% correctly configured.

        --johnt