[Top][All Lists]

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

Re: problems with "mail"

From: Sergey Poznyakoff
Subject: Re: problems with "mail"
Date: Thu, 28 Mar 2002 18:07:42 +0200

> (gdb) r --mail-spool=pop3://localhost
> Starting program: /home/alain/GNU/mailutils/frm/.libs/frm 
> --mail-spool=pop3://localhost
> 1: mailbox_name = 0x0
> (gdb) display argv[0]
> 4: argv[0] = 0x0
> (gdb) 

This is correct behavior. --mail-spool argument has nothing to do with
mailbox_name variable. It specifies the mailspool url, nothing more.
If you did `display mu_path_maildir', gdb would have displayed
$5 = "pop3://localhost", as is intended.

> The call to
> status = mailbox_create_default (&mbox, mailbox_name);> 
> will always ignore the option --mail-spool. 

I see now. Mailbox_create_default should be a bit more
intelligent about urls. Now it simply appends username to the end
of the url, no matter what the protocol is. I'll fix it.

> # FOLDER=imap://localhost mail
> oops!! dumps core. Bactrace shows trying to access a null.
> (Using our IMAP server)

:^) I'll take a look...


reply via email to

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