- 09 Jul, 2001 13 commits
-
-
-
-
-
-
-
-
-
Check for interrupt in (both versions of) ml_reread(). Use util_[cm]alloc() instead of [cm]alloc().
Sergey Poznyakoff authored -
Issue diagnostics if mailbox cannot be opened. Display mailbox summary when called without arguments.
Sergey Poznyakoff authored -
-
-
- 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 10 commits
-
-