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

Re: Mail Alias file]



Thus spake cmasters:
> Trying this again,
> 
> As you can see ... typing out this address every time made me so tired I
> forgot the 'o' in 'org'.
> 
> ----- Forwarded message from cmasters <cmasters@despamnbnet.nb.ca> -----
> 
> Date: Thu, 6 Dec 2001 19:04:45 -0400
> From: cmasters <cmasters@despamnbnet.nb.ca>
> To: debian-user@lists.debian.rg
> Subject: Mail Alias file
> Reply-To: cmasters@nbnet.nb.ca
> User-Agent: Mutt/1.2.5i
> 
> Greetings,
> 
> Yet more questions ....
> 
> Before anyone asks, I ~have~ read the relevent man pages.
> 
> I'm trying to set up aliases for the majority of addresses to which I
> correspond with. I assigned these using the 'a' (create alias) command,
> which then popped those entries in my alias file. This is explicitly sources
> in muttrc using 'set alias_file=$HOME/.mail-Alias'. I tried using '~' in the
> place of $HOME, but that didn't work either.
> 
> Entries in this file are in the format of:
> alias entry nick <email address>
> 
> Yet, I am unable to use any of these. Entering 'debuser' is just so much
> easier that 'debian-user@lists.debian.org', but mutt seems determined on
> insisting on full addresses.
> 
> Suggestions?
> 
> C. Masters
Hello,
You need both:
source ~/.mail-Alias
set alias_file=~/.mail-Alias
in your .muttrc .  Then you can type the first couple letters of the
alias and <tab> complete.  There may be a more elegant solution, but
this is the one I know.
Excerpted from man muttrc:
       alias_file
              Type: path
              Default: "~/.muttrc"

              The default file in which to save  aliases  created
              by the "create-alias" function.

              Note: Mutt will not automatically source this file;
              you must explicitly use the "source" command for it
              to be executed.
HTH,
Steve
-- 
We are not a clone.

Attachment: pgpOFObyD3DJC.pgp
Description: PGP signature


Reply to: