* Ian Barton <li...@wilkesley.net> [09-24-12 06:53]:
> 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?

not certain but try:

folder-hook imaps://i...@wilkesley.net@mail2.wilkesley.net:993 'set             
                                                         
my_hdr From: i...@manor-farm.org'

note changed punctuation, '":

-- 
(paka)Patrick Shanahan       Plainfield, Indiana, USA      HOG # US1244711
http://wahoo.no-ip.org        Photo Album: http://wahoo.no-ip.org/gallery2
http://en.opensuse.org                           openSUSE Community Member
Registered Linux User #207535                    @ http://linuxcounter.net

Reply via email to