3 Replies Latest reply: Nov 22, 2005 1:33 PM by Allan Sampson
David Laduke Level 1 Level 1 (5 points)
I use Tiger, with Mail 2.0.5 (746/746.2).

I have spam auto-filtered into a "Spam" mailbox/folder on my Mac so that it doesn't go to the trouble of synchronizing with my IMAP server. (I started using SpamSieve for this because I get so much spam.)

I have a little cron job that periodically deletes messages from this folder.

The problem is, the messages still show up in Mail, when I click on the Spam folder. When I click on one of the deleted messages, it says the message "has not been downloaded from the server. You need to take this account online in order to download it."

But the message isn't on a server - it's on my Mac - and it no longer exists.

Any way to clue Mail in to the fact that these messages have been deleted?

I do this with Mail on an IMAP server and it works great.

Thanks,

Dave

PowerBook G4, Mac OS X (10.4.3)
  • Allan Sampson Level 10 Level 10 (123,365 points)
    This message indicates the "On My Mac" spam mailbox you created has some corruption.

    As a first step, try using the Rebuild Mailbox function on this mailbox. If never used, try running it several times.
  • David Laduke Level 1 Level 1 (5 points)
    Allan,

    Thank you for your help. I rebuilt the mailbox - discovered that a bunch of mail I thought I had marked "read" wasn't - and the mail count was correct.

    Question: this is a fairly new mailbox (less than a week old). Will I encounter corruption again because I'm manually deleting messages from outside of mail? (i.e. with my cron script?)

    Thanks again,

    Dave
  • Allan Sampson Level 10 Level 10 (123,365 points)
    You're welcome.

    Since the mailbox is new and less than a week old, this may be caused by using a script outside of Mail to delete messages from this mailbox since I haven't experienced the same with any of my mailboxes under Tiger Mail.

    It is a good idea to use the Rebuild Mailbox function on the most active mailboxes on a regular basis but I do so on a monthly or every couple of weeks basis depending on activity.