From: Robert Peirce on
I am on a laptop and I run unix calendar so I use anacron to send mail
to all users. You can skip this if you don't need it, but unless you
have something coming in, there isn't much reason to get mail from
localhost. I am told 10.6.2 handles system log rollovers automatically,
but I know how anacron works, so I use it.

I begin by doing a complete bootable backup with SuperDuper! Next I
updated to 10.6.2. This took a really, really long time! You can
probably use old versions of anacron and qpopper, but this is an
opportunity to upgrade.

Download anacron.dmg from
http://members.cox.net/18james/anacron.html
and install. This adds a daemon which you can start manually or with a
computer restart. If you want anything mailed to you you will need to
add daily.local, weekly.local and monthly.local to /etc. and specify
what you want mailed. You also need /etc/anacrontab to indicate when to
run the periodic jobs.

Download latest qpopper from
http://www.eudora.com/products/unsupported/qpopper/index.html
I got 4.0.19.
As root, unpack
configure [no args]
make
make install
cd /etc/pam.d
cp login pop3
Test with telnet `hostname` pop3
user your-logname
pass your-password
If this works you are pretty much home free. The key for me was getting
pop3 in /etc/pam.d.

A popper daemon was created from an imap3 plist found at
http://sage.ucsc.edu/~wgscott/xtal/wiki/index.php/Running_a_Mail_Server
there is a lot of useful stuff on this page.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN"
"http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Disabled</key>
<false/>
<key>Label</key>
<string>popper</string>
<key>OnDemand</key>
<false/>
<key>ProgramArguments</key>
<array>
<string>/usr/local/sbin/popper</string>
</array>
<key>Sockets</key>
<dict>
<key>Listeners</key>
<dict>
<key>Bonjour</key>
<false/>
<key>SockServiceName</key>
<string>pop3</string>
<key>SockType</key>
<string>stream</string>
</dict>
</dict>
<key>inetdCompatibility</key>
<dict>
<key>Wait</key>
<false/>
</dict>
</dict>
</plist>

This site also tells you how to modify postfix/main.cf
myhostname = localhost.yourdomain [eg, localhost.peirce-family.com]
mynetworks_style = host
inet_interfaces = localhost
I was moving from 10.4.11 and had to change postfix to _postfix and
postdrop to _postdrop.

There is also a revised org.postfix.master.plist on this site

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN"
"http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>org.postfix.master</string>
<key>Program</key>
<string>/usr/libexec/postfix/master</string>
<key>ProgramArguments</key>
<array>
<string>master</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>OnDemand</key>
<false/>
</dict>
</plist>

As I said, lots of good stuff. I downloaded and saved the page for
future reference.

When this is all done and checked out, you can add a localhost account
to Apple Mail and you are done.
From: Robert Peirce on
In article <bob-150696.20205504032010(a)5ad64b5e.bb.sky.com>,
Robert Peirce <bob(a)peirce-family.com> wrote:

> I am on a laptop and I run unix calendar so I use anacron to send mail
> to all users. You can skip this if you don't need it, but unless you
> have something coming in, there isn't much reason to get mail from
> localhost. I am told 10.6.2 handles system log rollovers automatically,
> but I know how anacron works, so I use it.

Good news. There were daemons in 10.4 to run periodic jobs but they
didn't seem to work or didn't work correctly, so I used anacron. On
10.6 I tried anacron and got two sets of daily mail!. It looks like the
periodic daemons work. They may have worked on 10.5 as well, but I
skipped that.

I killed anacron and will see what happens for a couple of days. Weekly
should be running soon.

Now, if Apple would only add a facility to pop local mail into Apple
Mail.