knowledge-database (beta)

Current group: comp.mail.mutt

Help - addressees expanding, not in aliase file

Help - addressees expanding, not in aliase file  
Jeff Haferman
 Re: Help - addressees expanding, not in aliase file  
Christopher Nehren
 Re: Help - addressees expanding, not in aliase file  
Sven Guckes
 Re: Help - addressees expanding, not in aliase file  
Jeff Haferman
 Re: Help - addressees expanding, not in aliase file  
Sven Guckes
From:Jeff Haferman
Subject:Help - addressees expanding, not in aliase file
Date:16 Dec 2004 21:28:50 GMT

Weirdness: when i do a "mutt " from the shell,
expands into something that is not in my alias file.

I've search to see if there is a systemwide alias file, and
I can't find it. The systemwide muttrc points to
~/.aliases, and I don't have much in there.

For example, when I do "mutt john", the address expands
to something not in my alias file. What's going on here?

Jeff
From:Christopher Nehren
Subject:Re: Help - addressees expanding, not in aliase file
Date:17 Dec 2004 00:16:12 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 2004-12-16, Jeff Haferman scribbled these
curious markings:
> Weirdness: when i do a "mutt " from the shell,
> expands into something that is not in my alias file.

Does it happen to expand to something like this?
From: Real Name in GECOS field

If so, it's supposed to do that.

Best Regards,
Christopher Nehren
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (FreeBSD)

iD8DBQFBwiVMk/lo7zvzJioRAkpOAKCMUXoPnfdbvxK2UDz6g/nm/HgwIwCfaY53
WW8vAc/Bn54qJw/p1EvjU9s=
=2slT
-----END PGP SIGNATURE-----

--
I abhor a system designed for the "user", if that word is a coded
pejorative meaning "stupid and unsophisticated". -- Ken Thompson
If you ask the wrong questions, you get answers like "42" and "God".
Unix is user friendly. However, it isn't idiot friendly.
From:Sven Guckes
Subject:Re: Help - addressees expanding, not in aliase file
Date:17 Dec 2004 04:11:58 GMT
* Jeff Haferman [2004-12-16]:
> when i do a "mutt " from the shell,
> expands into something that is not in my alias file.
> I've search to see if there is a systemwide alias file,
> and I can't find it. The systemwide muttrc points
> to ~/.aliases, and I don't have much in there. ..
> What's going on here?

wild guess: your alias file isn't source by the muttrc - or it
is overridden by another definiton using the same abbreviation.
check your setup!

Sven
From:Jeff Haferman
Subject:Re: Help - addressees expanding, not in aliase file
Date:17 Dec 2004 16:52:05 GMT
Sven Guckes wrote:
> * Jeff Haferman [2004-12-16]:
>> when i do a "mutt " from the shell,
>> expands into something that is not in my alias file.
>> I've search to see if there is a systemwide alias file,
>> and I can't find it. The systemwide muttrc points
>> to ~/.aliases, and I don't have much in there. ..
>> What's going on here?
>
> wild guess: your alias file isn't source by the muttrc - or it
> is overridden by another definiton using the same abbreviation.
> check your setup!
>


The explanation about the GECOS field being expanded is the correct
explanation. And I guess this is the "expected" behavior, though
I would like to shut it off.
From:Sven Guckes
Subject:Re: Help - addressees expanding, not in aliase file
Date:17 Dec 2004 17:44:58 GMT
* Jeff Haferman [2004-12-17]:
> Sven Guckes wrote:
>> * Jeff Haferman [2004-12-16]:
>>> when i do a "mutt " from the shell,
>>> expands into something that is not in my alias file.
>>> I've search to see if there is a systemwide alias file,
>>> and I can't find it. The systemwide muttrc points
>>> to ~/.aliases, and I don't have much in there. ..
>>> What's going on here?
>>
>> wild guess: your alias file isn't source by the muttrc - or it
>> is overridden by another definiton using the same abbreviation.
>> check your setup!
>
> The explanation about the GECOS field
> being expanded is the correct explanation.

why is this "correct" when you have an alias by "username"?
alias joe Joe Doe

> And I guess this is the "expected" behavior,
> though I would like to shut it off.

well, if there really is no such alias
then what else would you expect mutt to assume
other than it being a uid on the localhost?
after all, mutt cannot know what the MTA knows,
so it cannot tell whether "username" exists or not.

Sven
   

Copyright © 2006 knowledge-database   -   All rights reserved