[Top][All Lists]

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

Re: cmu-sieve: starting to work, patch about paths.

From: Alain Magloire
Subject: Re: cmu-sieve: starting to work, patch about paths.
Date: Thu, 10 May 2001 01:41:35 -0400 (EDT)

> The fileinto actions and the discard actions work for sieve
> scripts, I've got more testing and and problems ahead.
> I got REALLY irritated by haveing to type
> $ sieve -f `pwd`/INBOX script.sv
> Thus the following patch.
> folder_mbox.c: If scheme has no ':' its not a url, adopt as a path. Fuly
>   qualifying all paths sucks.
> url_path.c: Expand ~/box to /home/user/box, ~foo/box to /home/foo/box,
>   and +box or =box to /home/user/Mail/box. It tries to be smart about
>   finding where /home is, or at least not too dumb, and it just assumes
>   that your mailboxes are in ~/Mail, I don't know if there's some kind
>   of standard environment variable for that.
> If what it does isn't horrifying, how it does likely is, feel
> free to rearrange, rename, or reject!

Sorry, I could not help laughing.
I will see what I can do to make for example, mailbox_create_default()
more intelligent i.e. move your propose ideas for url_path in

I'll get back to you later for the rest of the mail.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]