- 01 Nov, 2001 19 commits
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
In this case we were trying to printf (" ..%s\n", NULL); GNU/Linux seems to cope with it but QNX/Neutrino sigsegv miserably. Fix the code by getting the url of the mailbox and calling url_to_string().
Alain Magloire authored -
-
of number to IMAP msgset. Call add_number for the work. (add_number): New function to add number to string for IMAP msgset.
Alain Magloire authored
-
- 31 Oct, 2001 2 commits
-
-
-
* mailbox/mbx_imap.c (mailbox_imap_close): Clear the callback string structure. (imap_scan0): Clear the callback string structure. (imap_append_message): Remove unused variable.
Alain Magloire authored
-
- 30 Oct, 2001 8 commits
-
-
- 26 Oct, 2001 6 commits
-
-
(i.e. when used as mail addr@dom.ain < message): do not ask for cc, bcc, and do not echo the contents of the message (when compiled with readline).
Sergey Poznyakoff authored -
-
-
-
-
force appropriate settings _after_ sourcing mail.rc files. Force `set quiet' if in non-interactive mode.
Sergey Poznyakoff authored
-
- 25 Oct, 2001 3 commits
-
- 24 Oct, 2001 2 commits
-
-
-
that it returns, if it is pointing to non-local file messages, i.e POP3, IMAP4, the entire message may not have been dowloaded yet. IMAP is very susceptible on the size, example: A003 APPEND saved-messages (\Seen) {310} (1) If the IMAP4 server does not get the right size advertise in the string literal, it will misbehave. (2) Since we are assuming that the message will be in (unix)native file system format meaning ending with NEWLINE, we will have to do some calculations about the RFC822.SIZE of the message. (3) As pointed about, it is not possible to rely on message_size() nor message_lines() to return the right count and even missing by one can be deadly. So we download the message to a floating message to guaranty that we know the exact size when transmitting it back the IMAP server, this is the only sane thing to do IMHO. We could always be smart; check if the message is local (i.e from the local file system: mbox, mh, etc ..) and was not modified. If those two requirements are true we can assume that the sizes/lines are right. But for now do it simple, and create a temporary file/message_t. * mailbox/mbx_imap.c (imap_append_message): If the message is from the same IMAP server optimize by doing COPY. If not call imap_append_message0() save the original message to a floating message i.e. file, and use that floating message for the append. Temporary message is destroyed when finish. The drawback is this function is no long nonblocking safe.
Alain Magloire authored
-