Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Access local mail via Mail.app' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Access local mail via Mail.app
Authored by: bschoate on Mar 18, '04 12:12:37PM

Well, it sorta works. Sorta.

I edited /etc/postfix/main.cf and uncommented the home_mailbox setting:

home_mailbox = Mailbox

This makes ~/Mailbox the spool file. So I can create a hard link now to the Mail.app mbox file.

BUT-- once you purge deleted messages, Mail.app recreates the mbox file, destroying the link in the process.

So instead, I think I'm going to use this for postfix:

home_mailbox = Library/Mail/Mailboxes/Local.mbox/mbox

That works if the supporting tree exists.

My only complaint at this point is that it doesn't update the new mail count when there are new local messages. What's up with that?



[ Reply to This | # ]
There has to be a way to make it work!
Authored by: googoo on Mar 18, '04 12:50:42PM

I had the same problem with the link being clobbered by Mail.app! As for the message count, Mail.app automatically updates the folders for accounts that are enabled and set to be checked automatically (in the Mail -> Preferences -> Accounts menu under the Advanced Settings tab). It seems like the only way that Mail.app updates other folders is when something forces it to look at them.

There has to be a way to make this all work! I suppose one could write a script to re-enable the link to /var/mail/$USER and update the folder contents in Mail.app. Does anyone have a better solution?

-Mark



[ Reply to This | # ]
Access local mail via Mail.app
Authored by: gorkonapple on Nov 14, '04 11:37:08AM

THIS is the real solution to this. I tried the other way and it just resulted in me not even being able to use mail from the command line. Changing the postfix settings changed this. I wanted to access mail locally because iPodderX creates a cron job that automagically checks the feeds. Because cron sends a mail, I looked on this as a opportunity to have my mail tell me when the feeds have been updated, but the mail all goes unseen if you don't go to the command line often. This simple fix corrected that.



[ Reply to This | # ]