Send SPF verified gmail from a non-gmail address without “on behalf of” using a lightweight python SMTP relay

e-mail, iphone

The gmail blog   describes a wonderful feature of gmail which allows you to use gmail to  send e-mail from  (rather than or

As somebody with their own domain, who has loads of carefully seperated different e-mail identities – all of which funnel incoming e-mails to a single gmail account – I sometimes find it necessary to reply from one of these addresses.

In this article we’ll discuss how it’s possible to arrange for this to happen.