diff -rc alpine-1.00/pith/conf.c alpine-1.00.ignoresize/pith/conf.c *** alpine-1.00/pith/conf.c 2007-12-13 11:31:13.000000000 -0800 --- alpine-1.00.ignoresize/pith/conf.c 2008-01-04 20:25:38.000000000 -0800 *************** *** 3026,3031 **** --- 3026,3033 ---- F_FULL_AUTO_EXPUNGE, h_config_full_auto_expunge, PREF_MISC, 0}, {"force-arrow-cursor", NULL, F_FORCE_ARROW, h_config_force_arrow, PREF_MISC, 0}, + {"ignore-size-changes", NULL, + F_IGNORE_SIZE, h_config_ignore_size, PREF_MISC, 0}, {"maildrops-preserve-state", NULL, F_MAILDROPS_PRESERVE_STATE, h_config_maildrops_preserve_state, PREF_MISC, 0}, diff -rc alpine-1.00/pith/conftype.h alpine-1.00.ignoresize/pith/conftype.h *** alpine-1.00/pith/conftype.h 2007-11-07 17:14:02.000000000 -0800 --- alpine-1.00.ignoresize/pith/conftype.h 2008-01-04 20:25:38.000000000 -0800 *************** *** 321,326 **** --- 321,327 ---- F_FORCE_ARROW, F_PRUNE_USES_ISO, F_ALT_ED_NOW, + F_IGNORE_SIZE, F_SHOW_DELAY_CUE, F_CANCEL_CONFIRM, F_AUTO_OPEN_NEXT_UNREAD, diff -rc alpine-1.00/pith/pine.hlp alpine-1.00.ignoresize/pith/pine.hlp *** alpine-1.00/pith/pine.hlp 2007-12-20 08:34:31.000000000 -0800 --- alpine-1.00.ignoresize/pith/pine.hlp 2008-01-04 20:25:39.000000000 -0800 *************** *** 2953,2958 **** --- 2953,2959 ----
  • FEATURE:
  • FEATURE:
  • FEATURE: +
  • FEATURE:
  • FEATURE:
  • FEATURE:
  • FEATURE: *************** *** 29851,29856 **** --- 29852,29889 ---- <End of help on this topic> + ====== h_config_ignore_size ===== + + + FEATURE: <!--#echo var="FEAT_ignore-size-changes"--> + + +

    FEATURE:

    + + When you have an account residing in an IMAP server, Pine gets the size of + each message from the server. However, when Pine saves a message residing + in an IMAP server, Pine computes the size of the message independently. If + these two numbers do not match for a message, Pine refuses to save such + message. This avoids that a message be saved (and probably later expunged + and lost) and some information in that message be lost. + +

    + Sometimes the root of this problem is that the server is defective, and + there will not be lost of information when saving such message. Enabling + this feature will make Pine ignore such error and continue saving the + message. If you can determine that this is the case, enable this feature + so that the saving operation will succeed. + +

    + It is recommended that this feature be disabled most of the time and only + enabled when you find a server which you can determine that has the above + mentioned defect, but be disabled again after making this operation + succeed. + +

    + <End of help on this topic> + + ====== h_config_force_low_speed ===== diff -rc alpine-1.00/pith/save.c alpine-1.00.ignoresize/pith/save.c *** alpine-1.00/pith/save.c 2007-11-02 16:23:04.000000000 -0700 --- alpine-1.00.ignoresize/pith/save.c 2008-01-04 20:25:39.000000000 -0800 *************** *** 1112,1120 **** snprintf(buf, sizeof(buf), "Message to save shrank! (#%ld: %ld --> %ld)", raw, size, mlen); ! q_status_message(SM_ORDER | SM_DING, 3, 4, buf); ! dprint((1, "BOTCH: %s\n", buf)); ! return(0); } INIT(pkg->msg, mail_string, (void *)so_text(pkg->so), mlen); --- 1112,1122 ---- snprintf(buf, sizeof(buf), "Message to save shrank! (#%ld: %ld --> %ld)", raw, size, mlen); ! if(F_OFF(F_IGNORE_SIZE, ps_global)){ ! q_status_message(SM_ORDER | SM_DING, 3, 4, buf); ! dprint((1, "BOTCH: %s\n", buf)); ! return(0); ! } } INIT(pkg->msg, mail_string, (void *)so_text(pkg->so), mlen); *************** *** 1282,1290 **** snprintf(buf, sizeof(buf), "Message to save shrank! (#%ld: %ld --> %ld)", raw, size, mlen); ! q_status_message(SM_ORDER | SM_DING, 3, 4, buf); ! dprint((1, "BOTCH: %s\n", buf)); ! return(0); } INIT(&msg, mail_string, (void *)so_text(so), mlen); --- 1284,1294 ---- snprintf(buf, sizeof(buf), "Message to save shrank! (#%ld: %ld --> %ld)", raw, size, mlen); ! if(F_OFF(F_IGNORE_SIZE, ps_global)){ ! q_status_message(SM_ORDER | SM_DING, 3, 4, buf); ! dprint((1, "BOTCH: %s\n", buf)); ! return(0); ! } } INIT(&msg, mail_string, (void *)so_text(so), mlen);