Re: Help with Multiple Email Addresses

2000-03-22 Thread James F. Kubecki

On Tue, Mar 21, 2000 at 04:20:46PM -0600, Aaron Schrab wrote:
 The 'my_hdr From:' command is overriding the effect of reverse name.  If
 you're using a 1.1.x version, you can set the 'from' variable to the
 address you want to be the default instead of using my_hdr.

Thanks!  Worked like a charm.  I was running 1.0 from the RPM's provided with 
LinuxPPC, but I compiled 1.1.something (9 I think), and this works wonderfully!

In case anyone else is interested, in addition to the $from variable there is also 
$realname (stupid me was trying to put both in the $from variable).
-- 
James F. Kubecki
 The Kubecki Family Web Page: http://www.kubecki.com/



Re: Help with Multiple Email Addresses

2000-03-21 Thread Mikko Hänninen

James F. Kubecki [EMAIL PROTECTED] wrote on Sat, 18 Mar 2000:
 I'm new to Mutt (and yes, I'm using Pine to send this; I'm won't be using
 Mutt fully until I get this figured out! :) ),

Well, since I can't check the headers, which Mutt version are you using?
This is significant because the options available to you will vary
depending on that.

 1.When I receive email at [EMAIL PROTECTED], and reply to it, I get
 a "From" header of [EMAIL PROTECTED]  Why?

Because the "my_hdr From:" overrides $reverse_name.  This is a known
issue, although I'm not sure if it's documented (or where, if it is)...

 How can I change this?

If you want to use $reverse_name, you'll have to stop using
"my_hdr From:", because it's not compatible with $reverse_name.

There's still a couple of ways to have different From addresses set in
send-hooks.  If you're using 1.0 (or 1.0.1), you can change the default
setting with the variables $realname, $hostname, $use_domain.  With these
it's not possible to change the "username" portion however.  If that's
not enough for you, the developement versions (1.1.x) also have a new
variable $from (an address) which works similarly to "my_hdr From:", with
the exception that $reverse_name overrides it instead.

 My
 understanding of the reverse_name is that it will figure out which email
 the message was TO, and reply appropriately.  Am I mistaken?

No, your understanding is correct.

 The only way I can see to email from a different
 address without a send-hook would be to turn on edit_headers and manually
 change the address, which seems inefficient to me.  How should I handle
 this in Mutt?

You can also use esc-f to edit the From header from the compose menu.
(And you're of course free to bind that function to another key, if
esc-f is not comfortable for you.)  There is no support for otherwise
changing the From: header interactively, apart from edit-headers.


Hope this helps,
Mikko
-- 
// Mikko Hänninen, aka. Wizzu  //  [EMAIL PROTECTED]  //  http://www.iki.fi/wiz/
// The Corrs list maintainer  //   net.freak  //   DALnet IRC operator /
// Interests: roleplaying, Linux, the Net, fantasy  scifi, the Corrs /
fortune: cannot execute. Out of cookies.



Re: Help with Multiple Email Addresses

2000-03-21 Thread Aaron Schrab

At 23:52 -0500 18 Mar 2000, "James F. Kubecki" [EMAIL PROTECTED] wrote:
 set nouse_domain  # 'cause I'm on a dialup
 my_hdr From: James F. Kubecki [EMAIL PROTECTED] # Default email
 set alternates=((james|linux)@kubecki.com|[EMAIL PROTECTED])
 set reverse_name=yes
 
 So here are my questions:
 1.When I receive email at [EMAIL PROTECTED], and reply to it, I get
 a "From" header of [EMAIL PROTECTED]  Why?  How can I change this?  My
 understanding of the reverse_name is that it will figure out which email
 the message was TO, and reply appropriately.  Am I mistaken?

The 'my_hdr From:' command is overriding the effect of reverse name.  If
you're using a 1.1.x version, you can set the 'from' variable to the
address you want to be the default instead of using my_hdr.

 someone without a send-hook, it will always be the my_hdr From
 ([EMAIL PROTECTED]).  The only way I can see to email from a different
 address without a send-hook would be to turn on edit_headers and manually
 change the address, which seems inefficient to me.  How should I handle
 this in Mutt?

You can use the edit-from command in the send menu.  The default binding
is EscF .

-- 
Aaron Schrab [EMAIL PROTECTED]  http://www.execpc.com/~aarons/
 If you consistently take an antagonistic approach, however, people
 are going to start thinking you're from New York.   :-)
   --Larry Wall to Dan Bernstein