HOWTO: Custom Domains with MobileMe on the iPhone via Postfix

MobileMe Box

It is hard to change the email address your email is coming from when sending email from MobileMe on the iPhone because it will not let you simply change it in settings, like it does from other IMAP accounts. I really wanted to use MobileMe, mainly for the push email and contact/calendar/bookmark synchronization. However, if it did not allow me to keep my current email address at my own domain it was going to be a deal breaker. Luckily, I found a way to still use my existing email address with the iPhone. In order to do this you will need:

  • Create an alias with MobileMe
  • Modify Postfix configuration
  • Forward your email to the new MobileMe alias
  • Modify MobileMe account on iPhone to use your Postfix SMTP server

First create an alias with MobileMe, this will be used by your mail server to forward mail to you. For example you could pick username.incoming@me.com. This is needed because we are going to ask Postfix to map your main MobileMe address to your existing one.

Next lets modify the Postfix configuration. For this we are going to use the email address joe@domain.com as our existing email address and assume the postfix configuration files are located in /etc/postfix. First lets create /etc/postfix/smtpgenericmaps with the following content:

username@me.com joe@domain.com

Then edit /etc/postfix/main.cf and add:

# SMTP Outbound From Rewrite
smtp_generic_maps = hash:/etc/postfix/smtp_generic_maps

This will cause any outbound email delivered via SMTP that have a from address of username@me.com to be rewritten as if they came from joe@domain.com. You will need to reload/restart postfix for this change to take effect.

Forward your mail to username.incoming@me.com. On my mail server we are using virtual domain maps, so I updated my virtual alias maps to forward my mail to username.incoming@me.com. You could also do the same thing by using a .forward file or procmail/maildrop. Note: Do not forward to username@me.com, it will cause a loop, do to the smtpgenericmaps and send a NDR to the sender of the email.

Lastly we need to modify the MobileMe account on the iPhone to use the Postfix as the outbound SMTP server. To do this goto Settings -> Mail, Contacts, Calendars -> Your MobileMe Account -> Account Information -> SMTP -> Add or Select your SMTP server.

There you have it! Now when you send an email from your iPhone it will appear to be sent from joe@domain.com rather than username@me.com.

The Little Red School House

A little over two weeks ago Stevie and I headed up to my parents to take some photos. We stopped by “The Little Red School House”, which is about a mile away from my family’s farm. It was used as a one room school house up until the 1950s. It is hard to believe that both my Uncle and Aunt from my Dad’s side both went to school there. Okay, enough history talk here are the photos.

The Little Red School House

Back of The Little Red School House

We think this might be the date when it was built, but we are not certain.

Corner Stone of The Little Red School House

HOWTO: Create Link to Sent Money via PayPal

A while back I created a web site for a rental property in Ocean City, Maryland called Show Me The Beach.

Show Me The Beach

Recently I was asked by the owner to update the PayPal link, as it wasn’t working any more. To my dismay I could not find anything on PayPal’s site about how to create a link to send money without setting up a business account. So I set out on my own to try to find a URL that would work to link to.

It didn’t take long, I noticed that on their main page there was a link to send money. The link on went to https://www.paypal.com/sendmoney. I clicked on the link and viewed the source of the page. I then found that the field in the form for the recipient was named email. I tried the following URL https://www.paypal.com/sendmoney?email=you@ihatespam.com and to my surprise, it worked! It filled the recipient with the value you@ihatespam.com! Below you can see a screenshot of the page.

PayPal Send Money Page

Not sure how long it will last, but for now you can again create a URL that will fill in your email address that you can give people to send you money from PayPal.

Photos from the Farm

This weekend Stevie and I decided to go visit my family and take some photos around the farm. We ended up talking and hanging out with my family more than taking photos, but here are two of my favorites I took.

The first is the front of the market from across the street where Route 25 intersects with Pear Lane. Notice how wide the Route 25 is. I wish the streets down here were that wide, it would make bike riding a lot more appealing. Blyler Fruit Farm Market

Next up is the sign in front of the market. Stevie and I stood in the middle of the road to get this one. Luckily we didn’t get hit by any traffic. :-) Blyler Fruit Farm Market Sign

Stevie took a bunch more photos around the farm, but it was getting dark out and my Canon PowerShot S3 just could handle the low lighting. So I had to settle for taste testing the strawberries, which I used to pick when I was growing up on the farm. They are just as I remember them, wonderfully sweet (just like Stevie)!

Seven Year Old Boy Steals Grandmother’s Car

Stevie showed me this video a few weeks ago. I think it is hilarious! However it is also very sad that this kid doesn’t understand how wrong his actions were.

I hope his grandma did beat his behind!

C25K W1D1

After reading about Nathan and John running all the time I decided to give the Couch-to-5K Running Plan a try. :-)

I found a C25K podcast that contains some fast pace music and a guy giving you instructions on when to switch pace. I downloaded it and put in on my iPhone, got bundled up, and went outside and gave it my all. I must say that it did push my limits, it has been quite some time since I have been active. It felt really good afterwards to have accomplished something. I am glad that I used the podcast. It was like having a digital trainer and it prevented me from having to keep track of time.

Next workout will be on Friday! Here is to a healthier me! :-)