[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: exim vs. mutt: envelope/from/sender ???



On Mon, Feb 17, 2003 at 04:21:47PM -0600, Michael D. Schleif wrote:
> 
> 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:
> 	local_domains = localhost:Bragi.private.network
> 
> Now, I have this:
> 	local_domains = localhost:private.network
> 
> For rewrites, I've tried several things; but, this is current:
> 
> *@private.network		${lookup{$1}lsearch{/etc/email-addresses}\
>                                                 {$value}fail} frFs
> 
> *@Bragi.private.network		${lookup{$1}lsearch{/etc/email-addresses}\
>                                                 {$value}fail} frFs
> 
> 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>"
> 
> What do you think?

I already do a similar thing, but I forget about Exim rewriting
everything. I use the following in my .muttrc:

my_hdr Reply-To: matt@oddprocess.org
my_hdr From: Matthew Daubenspeck <matt@oddprocess.org>
set use_from

That should take care of it all.



Reply to: