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://[email protected]@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://[email protected]@mail2.wilkesley.net:993 'set
from="[email protected]"'
folder-hook imaps://[email protected]@mail2.wilkesley.net:993 'set
use_from=yes'
folder-hook imaps://[email protected]@mail2.wilkesley.net:993 'set
edit_headers = yes'
I can confirm that when I send the message it has the correct From
header of [email protected]. However, the From address for the
recipient is always [email protected] (my Google app domain). Is this
Google's mail server rewriting the From address, or do I have a mutt
configuration error?
Ian.