[darcs-users] Re: push mail error?

Aggelos Economopoulos aoiko at cc.ece.ntua.gr
Tue May 20 02:36:53 UTC 2003


On Monday 19 May 2003 23:59, David Roundy wrote:
> On Mon, May 19, 2003 at 06:53:20PM +0200, Peter Simons wrote:

> > Did so and it works fine now (as far as I can tell). One more thing: I
> > noticed that you let sendmail determine the correct From: address for
> > the outgoing e-mail. Wouldn't it make more sense to use the address
> > given in $EMAIL here? On some systems, the MTA does not know how to
> > create correct addresses, unfortunately, so this trouble could be
> > avoided ...
>
> Hmmm.  That's a reasonable suggestion.  The only problem is that if I use
> the $EMAIL, I'd like to allow the user to override it with an --email flag,
> which is already taken for the target email address!  :( I suppose I can
> rename the target --email flag to --target or --destination or
> something... any other suggestions?

How about converting the flags to --sender/--receiver or even --from/--to ? 
Also, since EMAIL is really generic, could you use something like DARCS_EMAIL 
instead?





More information about the darcs-users mailing list