<<< Date Index >>>     <<< Thread Index >>>

Re: [PATCH] ME's SMTP relay patch ported to CVS



* On 2005.09.07, in <20050907171142.GA26569@xxxxxxxxxxxxxxxxxx>,
*       "Brendan Cully" <brendan@xxxxxxxxxx> wrote:
> 
> Right now $envelope_from causes mutt to pass -f $from to sendmail, I
> believe. It'd be trivial to change this to -f $envelope_from, no
> expandos required.

Oh, that does sound familiar.  It's been a while... but I think I recall
disliking the semantic assumption of "-f from-address", but deciding it
didn't really matter in this case.


> > - allow expansion of config variables within config variables. :)  E.g.,
> >   set sendmail="/usr/lib/sendmail -f $envelope_from".
> 
> This would be nice, but it isn't necessary just for
> $envelope_from. Are you just trying to sneak in a pet feature? ;)

Maybe!  Actually the former (scoped expandos in options) is my pet
feature, but this is an adequate substitute for some purposes. :)


> Although personally I'd be all for expanding mutt config variables,
> and well-disposed towards an if statement too. I suppose at some point
> along this path the spectre of scheme bindings will rear its ugly head
> again though.

I'd almost rather not see an if statement, although I would agree it's
very useful.  My reluctance is that I'm so pleased with preprocessing,
and there are a dozen preprocessors that work wonderfully already, and I
would really hesitate to take this step toward the recurrent "we need an
embedded scripting language" thing.

I just wish that using a preprocessor were slightly easier to do,
particularly for the novice.  Shall I start a subthread? :)

-- 
 -D.    dgc@xxxxxxxxxxxx        NSIT    University of Chicago