[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: problems with "mail"
From: |
Alain Magloire |
Subject: |
Re: problems with "mail" |
Date: |
Thu, 28 Mar 2002 18:34:59 -0500 (EST) |
>
>
> > I expect the command line argument to override any environment variables.
>
> Agreed.
Ok,
> > I should be able to do:
> > # frm pop://address@hidden <-- overritde my default
> > # frm imap://address@hidden <-- overritde my default
> [...]
> > # frm --mail-spool=pop://address@hidden <-- overritde my default
> > # frm --mail-spool=imap://address@hidden <-- overritde my default
>
> Both forms are already working. Give it a try :^)
8-)
Yes if MAIL is not set. Which is unlikely since bash sets it.
> > # frm --mail-spool=/home/alain/Mail/received <-- override my default
>
> Works only if neither MAIL nor FOLDER are set. There is still some
> work to be done in mailbox_create_default...
Yes, I forgot FOLDER.
> > The only thing that is unclear is this:
> > # frm --mail-spool=joe <--- relative path is user? filename?
>
> Hmm... I guess this should be understood as a subdirectory 'joe' in
> the current working directory.
Actually, in the original "frm" from Elm, it means a login name
# frm alain
Read mail from /var/mail/alain, not from a filename alain in the
current directory.
> > Yes. There was a hack in the old mailbox_create_default() trying
> > to detect urls with something like:
> >
> > strchr(mail, ':') != NULL /* probably a url, contains ':' now check
>
> Yes, I have already restored this functionality. Although the heuristics
> seems to be very primitive.
Agreed, we should check the scheme and compare with the registered ones
for validation.
> > I can propose a patch ... if we agree on the policy for
> > mbx_create_default() 8-)
>
> Oh, sure, we'll have to define the policy. So far we seem to have
> agreed that it should favor --mail-spool over the environment
> variables (right now it acts contrary-wise).
>
> OK, I'll write a bit later --- telnetd is taking too much time :^)
8-), Jeff is waiting after you for the release ... just putting more
pressure 8-). I'm kidding of course, take all the time you need/want.
- Re: problems with "mail", (continued)