Re: IMAP check problems - again
- From: Carlos Morgado <chbm chbm nu>
- To: Balsa List <balsa-list gnome org>
- Subject: Re: IMAP check problems - again
- Date: Mon, 27 Aug 2001 12:20:11 +0100
On 2001.08.27 11:13:15 +0100 Toralf Lund wrote:
> It looks like *nothing* is checked now, when "Check IMAP mailboxes" and
> "Check INBOX only" are enabled. The problem appears to be that mailbox name
> (an arbitrary string entered by the user) rather than server path is passed
> to imap_check_test(). Possible fix:
>
i noticed one imap server i use reports all boxes as /full/path/BOXNAME
instead of BOXNAME.
change
static gboolean
imap_check_test(const gchar * path)
{
fprintf(stderr, "%s\n\n",path); <--
/* path has been parsed, so it's just the folder path */
if (balsa_app.check_imap && balsa_app.check_imap_inbox)
return (strstr(path, "INBOX") != NULL);
else
return balsa_app.check_imap;
}
and check if yours does too.
also, is there a way to 'fix' this behaviour of imap server ?
--
Carlos Morgado - chbm(at)chbm(dot)nu - http://chbm.nu/ -- gpgkey: 0x1FC57F0A
http://wwwkeys.pgp.net/ FP:0A27 35D3 C448 3641 0573 6876 2A37 4BB2 1FC5 7F0A
Software is like sex; it's better when it's free. - Linus Torvalds
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]