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

Bug#2983: perl escape @cc lists the 'To:' list rather than the 'Cc:'



PACKAGE: mailagent
 VERSION: 3.44-4

When I was programming a perl mail filter for mailagent I kept finding
that the @cc list would be the same as the @to list.  It seems
that there is a minor type in the /usr/bin/mailagent script.  It's
in the hook'load_initvar sub:

:   $login = &'login_name($address);
:   @to = split(/,/, $to);
:   @cc = split(/,/, $to);
                      ^^
This should be $cc.

Thanks,

Behan Webster

--
Behan Webster
behanw@verisim.com
(613) 224-7547


Reply to: