Re: Disappearing Mail Trash
Re: Disappearing Mail Trash
- Subject: Re: Disappearing Mail Trash
- From: Axel Luttgens <email@hidden>
- Date: Sun, 27 Sep 2009 14:19:49 +0200
Le 25 sept. 2009 à 01:15, Luther Fuller a écrit :
[...]
One pop account and one imap account. I haven't yet noticed any
difference, but almost all my mail is via the imap (MobileMe) account.
[...]
Todays date and the previous days date. I've checked Mail's Rules
and found nothing involving the Trash mailbox.
[...]
If an incorrect behavior is detected, Mail is quit, the correct
settings are written to "com.apple.mail.plist", then Mail is re-
launched. The correct mailbox Behaviors are:
set |MoveDeletedMessagesToTrash| of (item i of mailAccountsList) to
"YES"
set |NumberOfDaysToKeepSentMessages| of (item i of
mailAccountsList) to "-1" -- (never)
set |NumberOfDaysToKeepTrash| of (item i of mailAccountsList) to
"-1" -- (never)
This code does NOT run unless the settings need to be changed. This
is 3 lines from a long handler. My 'setMailboxBehaviors' handler has
been working correctly for a very long time in Leopard and Tiger.
The problem appeared shortly after moving to Snow Leopard.
[...]
I have also changed and restored these Mailbox Behaviors manually
via Mail and, at first, thought I had fixed the problem. But no!
BTW, you can no longer change Mailbox Behaviors using Mail's
AppleScript dictionary. As of Leopard, you can change Mailbox
Behaviors via AppleScript, but they revert to the original values
when Mail is quit. This worked in Tiger, however, but I can no
longer test to make sure. This is why I had to change Mailbox
Behaviors by writing to the preference file.
Thanks, I now understand the problem. :-)
Are you still struggling with it, or did you find an explanation?
Could you check that there are no discrepancies between the actual
contents of com.apple.mail.plist, the values returned by "defaults
read com.apple.mail" and those returned from Mails's properties?
On the other hand, no forgotten cron job or launchd periodic task?
Axel
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden