I recently began receiving a lot of "stock alert" spam. The mail always started with "(OTCBB:", so I added a new rule in Mail.app to delete any email that contained that string in the subject line. Since I was 100% positive I would never receive a valid email with that string in the subject, the only rule option I enabled was "Delete the message". This seemed to work perfectly, as the spam stopped immediately, and I had been getting a few every week.
Over the weekend, I was logged in to the macosxhints.com host machine working on some stuff, and ran the command line "mail" program when I saw a "You have new mail in ..." message appear. Not only did I see the new message in the UNIX mail program, but I was somewhat surprised to also find three "(OTCBB:" messages sitting there.
These had apparently been filtered from my downloaded mail, as I had never seen them in Mail.app, but they were still on the server. Their status in the "mail" program indicated that they had been read, so Mail.app had acted on them. But they had never actually been deleted from the server, just from my local machine.
As an experiment, I sent myself a few "spam" email with various filter settings. After a few tries, I found that the solution was to also enable Transfer to mailbox and set Deleted Messages as the destination folder. This did the trick - a test email sent with the filtered subject never appeared in Mail.app (oddly enough, not even in Deleted Messages!), but was successfully removed from the server.
So if you have some high-volume spam filters in place and have only enabled the "Delete the message" option within rules, you might want to take a look at your mail server to see if all spam messages have been cleared. An easy way to do this without using the command line is to simply disable your spam rules and download your mail again -- anything that was sitting on the server will be downloaded to your inbox.
After trying to set up Mail.app on the first day I had my new iMac and finding that the "Get Mail" button didn't work, I didn't think a whole lot about it and just used Mozilla Mail instead. I looked into Mail.app a few times over the next several weeks, editing my preferences, trying various different combinations, reading up on ports, comparing Mail's settings to my settings in Mozilla Mail on this machine as well as my others, all to no avail. Mail.app would not download any of my mail.
I then went looking at Mac OS X Support at Apple.com in the Mail.app section and found quite a few people who had posted problems that sounded an awful lot like mine; one even went so far as to clue me in to the fact that a username with a slash in it (in my case evanrose.com/evan) might be the issue.
In Mail's account preferences dialog box, there is an account option that has an uneditable text field that told me my local mail folder was created based on my user name (the one with the slash in it) and, being a long time 'NIX user, got suspicious (especially after I navigated to the Library/Mail directory in my home directory and didn't see the folder in question at all).
To make a long story short, after searching online and in other various places for upwards of two hours, I created a new Mail account and just called it "evan" with a username of evan. This action automatically created the correctly named folder, and finally, I edited my username to include the slash and suddenly, my inbox filled up. All is now fine, and I've switched from Mozilla's mail to Mail.app due to the nicer interface and easier deletion of messages.
I have been using the same web-based email service for several years and it has always irked me that the only way of transferring emails to my home machine was by forwarding the mail to my POP account, which had the disadvantage of making it not apparent who the mail was originally from.
I have discovered that you can import individual emails into Entourage if you change the extension from ".txt" to ".mbox". You can also import many emails at a go if you paste them one after the other into a text editor and precede each with the text "From ???@???" and then save the file with an 'mbox" extension. You can then drag and drop the text into Entourage.
[Editor's note: I haven't used Entourage, so I can't say that I've tested this hint.]
All I wanted was a global hot key to go to the next/previous track in iTunes. Sometimes iTunes goes to a song you don't want, and you want to skip to another without using the Dock or switching to iTunes from whatever you're doing. I wrote two tiny AppleScripts to control iTunes, and then looked for ways to assign them to keys. No luck with function keys as in OS 9 (what ever happened to the F-key section from the keyboard control panel?), so Dragthing came to the rescue.
I didn't want anything to jump into the foreground, so I set up a new dock (called 'hotkey scripts') and set it to 'allow AppleScripts to run in background' in the Miscellaneous preferences tab. I then added my scripts to the new dock, and used the 'item options' from the contexual menu to set a hotkey for each. I set it so that Apple+left and right arrows are previous and next track, but any key combo would do it, presumably as long as it's not used elsewhere. The Applescripts, for anyone interested, are simple:
tell application "iTunes" next track end tell
Replace next with previous for the other script, obviously.
I don't know if this is really a hint or not but since I have been struggling with my Palm IIIx and Palm Desktop since its beta, I thought I would post my final findings in case it may help others.
I have a Palm iiix and a Beige G3/266 overclocked to 300 running OS X 10.1.3, with a Palm USB to serial and Palm Hotsync cable. My problem from the beta on has been that I get one hotsync that takes forever (I clocked it at 30+ minutes) or I cancel it. Then I can't hotsync again. Of course, serial syncing is not possible on this machine, another story.
Last night after my second consecutive completed hotsync in two days, I discovered something. Using the Palm USB cable and the desktop software, there is no setting for speed. However on the Palm side, if you change your settings to 115k and, this is the key, flow control to ON (not OFF and not AUTO), the hotsync connects quickly and efficiently. I have not yet sent this note to Palm but I think I will shortly.
I hope this helps the others out there who have been having problems with Palm hotsyncs in OS X.
Here's one for those of you who have a number of accounts set up in Mail.app. I recently got really frustrated with Mail, because I could find no way of setting the default mailbox to show when the app launched or a new viewer was shown. It used to be set up right for my needs, but somehow the default mailbox got set to my UNIX mail account, and I wanted it to show my IMAP account by default. Could I do this with the GUI - no! I think the preferences got corrupted at some point, but I'm not sure.
You can set the default mailbox by editing:
Near the top of that file is an array called 'ActiveUniViewers'. On my system it has one item; change that item to point to the required default mailbox. Mailboxes are listed in ~/Library/Mail/, and you should be able to figure out the right mailbox from the directory name. If you have an IMAP account with user foo, at host blah.com, the box will be IMAP:email@example.com/ in the ~/Library/Mail/ directory. Set the array item to be:
The exact mailbox name can be found by examining the account's directory. Save (remember to back up first) and hey-presto! My mailbox preferences are back!.
It used to be the case that Mail remembered the last mailbox looked at, but I can't get that to work - ideas welcome, but for the moment, here's a way to get Mail to display your mailbox of choice when you click it's icon.
[Editor's note: On my machine, switching accounts still works as expected; Mail remembers the last active setting on quit. I would think that trashing the prefs file might also fix the problem, and I'm curious why Mail would be able to update other prefs in the file but not the ActiveUniViewers setting. Hopefully this may help others with the same problem...any comments on the cause or the solution?]
I don't know if this has been mentioned before or if this is widely known but it was new to me; I came upon it by accident. You can save any graphical clipboard contents to a file if you have Preview open. Hit command-V inside Preview and a window will open up labeled Clipboard 1, showing the clipboard contents. Hitting Command-V repeatedly will open windows labled Clipboard 1, 2, 3 etc, each with a copy of the clipboard. You can then choose Save As... from the File to save the newly created image file.
I had to reinstall OSX over the weekend and, after reading a few more favourable reports on the speed gains with relocating the swapfile, thought I would try it again. Fresh reports of potential problems and the endless pages of Terminal code which promised to overcome them, though, filled my non-geek heart with fear.
I then remembered a small freeware application, Swap Cop, I had downloaded a few weeks back. Swap Cop promised to relocate the swapfile for me, sans Terminal.
So I set up the drive with 3 partitions: a 750 MB partition at the start, one big OSX (+Classic) and a small full 9.22. Did the full install of OS X and all the upgrades, then moved the swapfile with Swap Cop. It worked perfectly and quickly. Rebooted, restarted SwapCop and the old swapfile was deleted.
Performance has improved very noticeably. Six bounces in the Dock to open a disk image prior to the swap, two bounces afterwards. Everything is faster (Quicksilver 733, 768 MB RAM, 10.1.3).
[Editor's note: Some of the speed gain may be a result of reinstalling the system, but the swap move probably helped as well. For those of you who have been afraid of relocating your swap file, give Swap Cop a try.]