Archive for November, 2011

IMAP Push Notification with Boxcar and Procmail

Apple’s iOS supports push notification of new email, but not for generic IMAP servers, and the last thing I ever want to do is set up an Exchange server or switch to Yahoo Mail.

I prefer to run my own mail server, but sometimes I would still like immediate notification of new email messages. The Boxcar service allows you to accomplish this by forwarding your email to a secret address they give you. They then use the Apple Push Notification Service to notify you of the sender and subject on your iOS device.

Now, I certainly don’t want notification for every message, but I do want to know when certain people or organizations have emailed me. If you’re a gmail user, you can play with their filters to try and accomplish this. I use that favorite tool of mail administrators everywhere: procmail.

Here’s an example procmail recipe I use to provide me with selected notifications (make sure SENDMAIL is set to the full path to your sendmail program):

# Send on to Boxcar push notification service certain messages' headers
:0ch
* ^Subject:.*New.Voicemail*|\
  ^From:.*mysister@*|\
  ^From:.*mommy@*|\
  ^From:.*BFFforever@*|\
  ^From:.*@client.com*
| formail -X"From" -X"Subject" | $SENDMAIL e00000.12345678@push.boxcar.io
#

This way, if I get a voicemail message (I use Telemessage, which does vmail-to-email conversion), a message from my sister, mother, or BFF, or from any address at one of my clients, the From: and Subject: headers are forwarded on to Boxcar, which then sends an immediate pop-up to my phone.

Note that you can send Boxcar the entire message and they promise to throw away the body of the message. I feel better avoiding any possible data leak by sending them the bare minimum of what they need; hence the formail -X"From" -X"Subject", which strips the message of everything but those two headers.

Of course procmail is extremely flexible and you should be able to adjust your .procmailrc file to specify exactly which files to send on to Boxcar. Note that Boxcar also provides many other notifications besides email, such as Twitter mentions and a whole lot more.

Jason Gottlieb obituary

The following was written by my father’s wife, Cindy…



JASON A GOTTLIEB
June 5, 1932 – October 14, 2011

Jason passed away peacefully with family and friends by his side, while he listened to jazz, on Friday evening October 14, 2011.

Born in Boston, MA, he attended English High School of Boston, the first public high school in America. He then attended Boston University, graduating with a major in Psychology and minor in History. After receiving his B.A., he joined the Army, serving in Germany from 1953 to 1955, stationed at Bad Kreuznach, 20th Army Hospital Kaserne, where he met Alberto, his commanding officer.

Upon arrival in Germany, the Army had put Jason in a motor pool doing mechanical work. He went to Alberto, asking if, as a college graduate, could he possibly be used in a capacity other than as a “Grease Monkey.” A position was created for him as a Social Work Assistant. Jason was awarded three medals: Army of Occupation, Good Conduct, and National Defense Service Medal. Upon discharge, with the aid of the G.I. Bill, he attended Boston University School of Law, graduating in June of 1958. He moved to California after law school and worked for over 50 years at the law firm of Rose, Klein and Marias.

One of his partners, Howard, said Jason was indeed a renaissance man. “He had an encyclopedic knowledge that was diverse and covered information dealing with subjects such as World War II, jazz, movies, food, travel; you name it, and Jay knew something about it”.

He was unquestionably one of the most gifted joke tellers one would encounter. He was a real people person. He had a capacity to listen and be responsive to people who confided in him.

Jason had a passion for living; we hunted with his friend Bill in the U.S., with Alaska being a favorite, and also in South Africa. He was a private pilot and some of the best memories will be of the time we shared flying airplanes. He also loved to ride both his Harley Road King and Buell XB12S motorcycles. He snow-skied, and was known to say, before each downhill run, “I feel the need for speed.” His grandson Ryan stated, “I don’t think there are too many funny, intelligent, roller coaster loving, gun shooting grandfathers out there who have raised such amazing children. Papa Jay, you will be missed”.

Phyllis, his first wife, says he was a “compendium of trivia.” He could quote any movie line and as his law partner, Marvin, said on Facebook, “Here’s lookin’ at you, Kid.” His love of jazz made his daughter, Cathy, say “Let the trumpets play.” Jim, his son, joked that he had five glorious weeks with his MacBook Air, but didn’t stick around long enough to take delivery of his first iPhone. Learning to use a computer at the age of 60, and then switching from Windows to a Mac at 79, he loved the time he spent on his computers; a new stage for learning, exploration, and communicating with others.

Jason was a lover of dogs, and was best friend to many during his lifetime. Now he is with all who passed before him, including the bird-hunting dogs Rigby and Johnny. Jason always enjoyed coming home to his Jake, Sammie, Shiba, and Kipper.

He shared a deep bond of friendship with Ron and Jane that was based on love and respect, shared interests, robust conversation, and so many good times together. They shared good books, great jokes, aviation stories, motorcycle rides, world travel, and new puppies. Together Ron and Jason sought out and ultimately found the perfect spot for their forever view of Bass Lake.

Jason was loved, and his wisdom, wit, laughter, and love will be missed by literally hundreds of people.

He was a loving father to Cathy and Jim and husband to their mother, Phyllis. Papa Jay was a loving grandfather to Brandon, Ryan, and Sawyer and he will always be with them. As son-in-law, Mark, said, “If laughter was a currency, he was rich beyond riches.” He was a great brother to Veda, uncle to Hope, Barry and Michael, Mary and Ashley; Uncle J.J. to Kelli, Randy, Carly and Cooper, who said “we will always remember the great times,” and brother-in-law to Karen and Jay. He loved and was loved by all of the dogs throughout our extended family.

Jason was the love of my life and my best friend. We met 35 years ago and celebrated our 30th wedding anniversary on October 3rd. It has been a great run. We both treasured every day together, and reminded each other each day of our fortune to have met.

Sleep well my Love, and let the music play. Forever yours, Cinders

Memorial Donations to honor Jason can be made to Canine Companions for Independence, or to The Special Olympics.

A celebration of life will be held at a later date.