Gmail – Send mail from a Gmail catch all address

gmailgoogle-appssmtp

I just recently set up Google Apps (Standard) on my domain, and I have a catch-all e-mail address on it that I pull e-mail from locally, so I can easily receive e-mail to anything@example.com. Now I want it to work in reverse – I want to be able to send from any arbitrary address on my domain, by just including a From: foo@example.com header with my message. Unfortunately Gmail will rewrite the header to use whichever e-mail address I authenticated as.

Since foo@example.com doesn't actually exist (the incoming e-mails to it are caught by the catch-all, so there's no need to make an actual foo account), I can't authenticate as it; I have to authenticate as my catch-all address, and then the e-mail shows up as sent from that address regardless of the From header. Gmail does support adding additional valid 'From' addresses (in Settings -> Accounts) but I don't want to do that every time I have a new whatever@example.com I want to send from.

Is there a way to tell Gmail/Google Apps "I control all e-mail from example.com, as long as the 'From' address is on that domain just leave it alone"?

Best Answer

No, there is no way to do this at this time.

Your only option using Gmail's interface is to add the address as a "Send mail as" address.