On 19/06/2008, at 1:04 PM, Aaron W. Hsu wrote:
Hey Predrag,

Since I'm the one that brought up this issue, I figure that I could
comment on your suggestion...

        I was wondering if you guys could clarify something for me. I
        looked heirloom mailx (nail) very carefully and it looks like
        mail on steroids.
[cut]
I do not think there is any reason to expect base to have all the
features that you need when you first get started, unless the features
that you need a sufficiently general that they are going to apply to a
wide variety of users. I can't see the above recommendations as
sufficiently general, even though I would in fact use something like
fetchmail and metamail. I really think that you are only talking about
adding metamail and fetchmail, which can be used together with sendmail,
spamassassin and mail to accomplish the above goals.

Just thoughts from someone who tends to stick with base.

But - moving back to your original email, and being able to edit "From:" - it
does look as though Heirloom does provide code that might be applied to
base if so desired (I will have a look myself at doing so for learning.)

e.g. collect.c now has ~H to allow From:, Reply To: etc. to be altered:

                case 'H':
                        /*
                         * Grab extra headers.
                         */
                        do
                                grabh(hp, GEXTRA, 0);
                        while (check_from_and_sender(hp->h_from, hp->h_sender));
                        goto cont;

And from the Heirloom docs:

~H      Edit the message header fields 'From:', 'Reply-To:', 'Sender:',
and 'Organization:' in the same manner as described for ~h.
The default values for these fields originate from the from, replyto,
and ORGANIZATION variables. If this tilde command has been used,
changing the variables has no effect on the current message anymore.

Thanks.

Reply via email to