Monday, July 14, 2008

Keeping spam off my iPhone

I absolutely hate spam, whether it's email, junk snail mail, text messages, etc. When I got my new iPhone one of the first things I did was connect it to the exchange server at work. It was a beautiful thing, as with a few entries within minutes I was live via activesync just like my Outlook client on my PC. But then the spam started coming in. I was completely baffled when I looked on my iPhone and noticed 3 new messages. Wow, lots of email coming in. But when I looked they were your typical "enhancement" or "get your degree now" emails.

I spent a lot of time tweaking Outlook to be quite good at keeping spam out of my inbox. So I couldn't understand why the spam was zipping through to my iPhone. After doing some googling I learned that there is no spam filtering software on the iPhone. My next step was to go look at my Outlook/exchange settings and figure out what wasn't working. What I learned was that my main spam filtering rule was a client-only rule. So it only runs when the Outlook client is connected to exchange. Eureka! But why was it client only and how do I fix it?

After more googling I found a site that explained the problem. It seems I had a condition in my rule that forced it to be client only. We use Spam Assassin at work to filter messages. When it determines through its magic that a message is spam, it inserts a line into the email header that says "X-Spam-Flag: YES". My rule would look into the message header and if it found that string it would mark it as read, and permanently delete it. I believe the culprit was the mark it as read part. I took that out, and instead of permanently delete it I changed it to move it to the deleted items folder. Voila. When I saved that rule it didn't put the little (client-only) tag next to it.

The good news? I haven't had a spam email on my iPhone since. Rock-on iPhone.

1 comment:

hb1ivr0ke5 said...

Additional services corresponding to demand and forecast integration and danger mitigation services additionally provided. Stocking and vendor managed stock packages available. The production of aluminum sheet metallic is carried out when aluminum material is pressed and rolled beneath high stress. Aluminum sheets are typically light-weight but in addition possess sufficient power to be useful in numerous industry functions. Aluminum metallic sheet OXO Toilet Brush is exceptionally versatile and is straightforward to fabricate, making it among the many most popular of the metallic sheets available in the marketplace. Looking to purchase aluminum sheet metallic for your business’ next project?