Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting! and sendmail Apps
[Editor's note: See Geoff's comments; apparently this only works the first time you try it! There's an alternative suggested in the comments which may work better.]

I have managed to get to handle sendmail mail by cheating... I am assuming that you're running sendmail OK but have been using mail or pine or somesuch to read mail.

Do this:

in the terminal, copy the folder heirarchy of another of your mailboxes (in ~/Library/Mail/Mailboxes).

Switch into the newly created directory, and instead of mbox, do:

ln -s /var/mail/user_name mbox

where user_name is your username. Restart and you should now be able to manage mail downloaded from sendmail in

If anyone knows a better way, preferably from within instead of silly hacking, please let me know!!!

Geoff Saulnier - Mac, *NIX, perl, hack!!

[Editor's note: I'm not running sendmail locally, so I have not tried this myself]
  • Currently 2.29 / 5
  You rated: 2 / 5 (7 votes cast)
[4,061 views] and sendmail | 5 comments | Create New Account
Click here to return to the ' and sendmail' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
A easier way
Authored by: Anonymous on May 08, '01 11:05:26AM

Start up Mail, create a Unix mail account with your user name if don't have one already.

Click on "Mailboxes", select "Personal Mailboxes" from the list, and then select menu item "Mailbox/New Mailbox...". Name the new mailbox "Active", then quit and restart Mail.

All local mail sent to you should now end up in the "Active" mailbox. I got this tip from some old NeXTSTEP user.

First you of course need to make Sendmail work and you probably want to forward the mail sent to "root" to your own account. Default it's sent to "/dev/null". You can change this in the ".forward" file in "/var/root".

[ Reply to This | # ]
A easier way
Authored by: sven on May 08, '01 12:57:29PM

Thanks a lot for this "Active" hint. I had the rest, but wondered where my local main actually ends up...

BTW, you don't have to have sendmail running to get local mail. My /etc/hostconfig reads MAILSERVER=-NO- and I still get the mail for root when I screw up root's crontab... ;-)

IIRC you only need to start sendmail if you want it to listen for mail transfer on a socket. Otherwise it can be called by processes to dump mail locally (not entirely sure about this one, but for me it works like this and I "ps aux | grep"ped for sendmail and found none running).


[ Reply to This | # ]
Authored by: geoffsaulnier on May 09, '01 03:29:53AM

I'll have to try one of your methods, because mine doesn't work well!! Once you have finished reading your mail, etc, and quit, the link gets turned into an mbox file anyway, so you need to move the mail, delete the file and re-create the link for this to work again - not ideal!

Geoff Saulnier - Mac, *NIX, perl, hack!!

[ Reply to This | # ]
Authored by: geoffsaulnier on Jun 13, '01 04:16:20AM

Forgot to write back in... The Active mail folder tip worked - thanks for that!

You've got to admit it's a pretty cruddy workaround, though!! Especially since the app has options to set this up "normally."

[ Reply to This | # ]
Broken in 10.1
Authored by: geoffsaulnier on Nov 16, '01 07:53:09AM

The above "Active" tip broke in 10.1 becase set Active to a mail folder, and insists in putting a new (empty) INBOX in there...

I have submitted a new tip on how to get this working under 10.1 (well, 10.1.1 now, I guess!).

I now wonder if this tip would have worked under 10.4 ?


[ Reply to This | # ]