I have a domain registered with Google Apps for domains. However, I have other domains which aren't using Google Apps. To simplify my smtp configuration I am trying to use Google's smtp servers to send mail for all my domains:

set smtp_url = "smtp://i...@wilkesley.com@smtp.gmail.com:587/"
set smtp_pass = "password"

Mail gets sent for both Google and non Google domains. However, I want the From address to correspond to the domain sending the email. So I have:

folder-hook imaps://i...@wilkesley.net@mail2.wilkesley.net:993 'set from="i...@manor-farm.org"' folder-hook imaps://i...@wilkesley.net@mail2.wilkesley.net:993 'set use_from=yes' folder-hook imaps://i...@wilkesley.net@mail2.wilkesley.net:993 'set edit_headers = yes'

I can confirm that when I send the message it has the correct From header of i...@manor-farm.org. However, the From address for the recipient is always i...@wilkesley.com (my Google app domain). Is this Google's mail server rewriting the From address, or do I have a mutt configuration error?

Ian.

Reply via email to