Subject: MH programs in mailutils.
Here's the latest progress to demonstrate the difference between the
two MH programs:
1.) whom
2.) send
Note that 'whom' expands the aliases correctly. Whereas send does not on my
system.
Here is a simple test I made the follow draft message, # 2093.
Message 2093's contents:
==============================================
To: darel
cc:
Subject: test 1
--------
test msg body
==============================================
The alias file line for the alias "darel" is:
darel: "djh" <[EMAIL PROTECTED]>
-------------------------------------------
gdb whom
set args 2093
b mu_address_create
run
(results)
Breakpoint 1, mu_address_create (a=0x22edc4,
s=0x10020840 "\"djh\" <[EMAIL PROTECTED]>") at address.c:47
-------------------------------------------
gdb send
set args 2093
b mu_address_creaste
run
(results)
Breakpoint 1, mu_address_create (a=0x22ec44,
s=0x1002b110 "\"darel\" <\"djh\" <[EMAIL PROTECTED]>>") at address.c:47
-------------------------------------------
Somewhere the alias name is getting prepended to the address.
I believed this happened in mh_alias_get_address in mh_alias_gram.c in line #
1598 which is:
asprintf (&ptr, "\"%s\" <%s>", name, item);
Darel
_______________________________________________
Bug-mailutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-mailutils