Re: exim vs. mutt: envelope/from/sender ???
-- Michael D. Schleif <mds@helices.org> wrote
(on Monday, 17 February 2003, 04:21 PM -0600):
>
> As some of you know, I am transitioning from netscrape to mutt mua's.
>
> I am having some mail sending issues.
>
> The host on which the new mail system resides is bragi.private.network.
> The default exim and mutt installations passed this name onto the
> internet, whereupon intelligent mail servers rejected my mail, because
> private.network. is an unusable domain.
>
> I own the domain: helices.org , which is hosted elsewhere. I also have
> several other email addresses, all valid and I can receive mail using
> any of them. This particular network sits behind attbi.com cablemodem,
> and it is not practical to host a valid public domain here.
>
> I want to be able to change between email addresses from within mutt.
> How do I do that?
>
> Initially, I'd configured exim for this:
I don't use exim -- so I can't help you here.
> In ~/.muttrc, I have these weird variables, _none_ of which make it into
> received email:
>
> set envelope_from=yes
> set from="Michael Zchleif <jmoke@helices.org>"
> set realname="Michael Zchleif <jmoke@helices.org>"
I have:
set use_from
set from=myaddress@mydomain
set realname="My Name Goes Here"
set alternates=(address1@domain1|address2@domain1|address3@domain2)
set envelope_from
set reverse_name
"from" should just be your address; realname should be the realname --
mutt makes it into "realname <from>". "use_from" (and "envelope_from",
IIRC) *MUST* be on for mutt to write the From header. "reverse_from"
will let mutt use the "To:" addressed in a mail be the "From:" address
when you reply; for this to work, you have to define a list of addresses
that you use in "alternates" (it's a regexp).
NONE of this will work if your MTA isn't set up to allow you to write
your own From header... so make sure that exim is set up correctly.
--
Matthew Weier O'Phinney
matthew@weierophinney.net
Reply to: