- 06 Jul, 2001 13 commits
-
-
for somce C compiler i.e. Watcomm C, rename it to "interrupted". * mail/util.c: The macros O_CREAT etc needs <sys/fnct.h>.
Alain Magloire authored -
fails at startup. * doc/Makefile.am: Add the missing *.texi in the list of EXTRA_DIST.
Alain Magloire authored -
-
-
Reason: rfc 2060 requires that the server send a BYE untagged response before the (tagged) OK response. With our implementation it was vice-versa.
Sergey Poznyakoff authored -
-
-
-
-
-
-
"sendmail contains a command, possibly with options, that mailx invokes to send mail. You must manually set the default for this environment variable by editing ROOTDIR/etc/mailx.rc to specify the mail agent of your choice. The default is sendmail, but it can be any command that takes addresses on the command line and message contents on standard input." * mail/mail.c (main): Register smtp_record too as a mailer. Set variable sendmail to _PATH_SENDMAIL as the default mailer. * mail/mail.h: New proto util_setenv(), util_find_env() change to be const char *. * mail/send.c (msg_to_pipe): New function, open a pipe() and write a message to it. (mail_send0): Now create the mailer according to util_find_env("sendmail")->value. Use a pipe() if mailer_create() fails. * mail/set.c (mail_set): After free(entry->value) set the value to NULL. * mail/util.c (util_find_env): Change the prototype to be const. Remove hack about need_free and use a static variable to hold "asksub". * mail/util.c (util_setenv): New function to set environment model on libc call setenv(). * mailbox/message.c (message_sender): Set the default sender base on the passwd entry.
Alain Magloire authored
-
- 05 Jul, 2001 3 commits
-
-
the message is pipe to the cmd and if starts with '/' it is save to a file. mailx ghislaine '|cat >save' mails a message to ghislaine and also copies the message into a file called save. * mail/mail.h: Change struct send_environ to contain two new fields char **outfiles and int nfiles. * mail/send.c: Look for '/' and '|' when parsing the addresses and add them to struct send_environ outfiles. (mail_send0): Memory overflow, we were free(buf) twice. made char *buf local where it is needed. Save the message to outfiles when set. (isfilename): New function. * mail/followup.c: Initialise the struct send_environ new fields. * mail/reply.c: Initialise the struct send_environ new fields. * lib/argcv.c: Add support to consider string between single quote like one word(same as double quotes).
Alain Magloire authored -
change prototype to be void * instead of char *. * mailbox2/bstream.c: Adjust bstream_{read,write} to the new prototypes. * mailbox2/pop3/pop3_stream.c: Likewised. * mailbox2/Makefile.am: New file. * mailbox2/pop3/Makefile.am: New file. * mailbox2/mstream.c: Mapfile stream Implementation. * mailbox2/fstream.c: File stream implementation. * mailbox2/include/mailutils/sys/fstream.h: New file. * mailbox2/include/mailutils/sys/mstream.h: New file. * mailbox2/tcp.c: rename to tcpstream.c. * mailbox2/include/mailutils/sys/tcp.h: Rename to tcpstream.h
Alain Magloire authored
-
- 04 Jul, 2001 1 commit
-
-
reseting the number of lines to default screen lines. * mail/mail.c (main): Add a "summary" call also for the initial commands on startup(in interactive). * mail.h: Proto for mail_summary() and mail_version(). * table.c: Add mail_summary() and mail_version() in the cmd table. * util.c (util_getcols): First try an ioctl(TIOCGWINSZ,..) call not all shells set the COLUMNS environ. (util_getlines): Likewised. Also take to account the prompt in the lines number. * z.c (mail_z): Change the behaviour of "z." to show a screenfull when the lastpage is reach. This is very practical when starting mail, since "z." is the initial command to show the header summary. * mail/version.c: New file, show mail version, mail_version(). * mail/summary.c: New file, display a short summary of the mailbox. mail_summary(). * mail/Makefile.am: add summary.c and version.c * mailbox2/include/mailutils/mbox.h: Proto for Unix-Mbox.
Alain Magloire authored
-
- 03 Jul, 2001 16 commits
-
-
- 02 Jul, 2001 4 commits
-
-
it will save the attribute flags. * imap4d/close.c: Typo. * imap4d/logout: Remove the mailbox_close() and mailbox_destroy() it is being call imap4d_bye (). * imap4d/select.c (imapr3d_select0): call mailbox_save_attributes() if a mailbox was already selected. Feedback from Sergey for the need of saving the attribute flags without expunging. Note, this is a hack, the code is taken from mbox_expunge(mbx_mbox.c) and there is lot of duplication. But since we are moving toward a new mailbox API, the code will be rewritten more cleanly in the new API. * include/mailutils/mailbox.h: Add proto mailbox_save_attributes() * mailbox/include/mailbox0.h: New field in struct _mailbox _save_attributes (mailbox_t); * mailbox/mailbox.c: New function mailbox_save_attributes (). * mailbox/mbx_mbox.c: New function mbox_save_attributes (), implement saving the attribute flags in header field "Status:"
Alain Magloire authored -
-
The problem is monitor.h, we will probably end up doing a monitor.h.in and set at compile time if threading is enable or not.
Alain Magloire authored
-
- 01 Jul, 2001 3 commits
-
-
by moving some code in util_strupper(), the comparison must be case insensitive. (util_strupper): Convert the string to uppercase.
Alain Magloire authored -
-
-