Age | Commit message (Collapse) | Author | Files |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
not call the observers, the callback function, on the mbox_scan()
does.
* frm/frm.c (main): call mailbox_scan () instead of
mailbox_messages_count () since we want to be notified.
|
|
|
|
|
|
|
|
|
|
for somce C compiler i.e. Watcomm C, rename it to "interrupted".
* mail/util.c: The macros O_CREAT etc needs <sys/fnct.h>.
|
|
fails at startup.
* doc/Makefile.am: Add the missing *.texi in the list of EXTRA_DIST.
|
|
|
|
if util_find_env("verbose")->set, good for debuging.
|
|
"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.
|
|
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).
|
|
the size is not zero before making the memcpy().
|
|
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.
|
|
|
|
|
|
|
|
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:"
|
|
buggy, corrected.
|
|
|
|
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.
|
|
by moving some code in util_strupper(), the comparison must be
case insensitive.
(util_strupper): Convert the string to uppercase.
|
|
|
|
|
|
:d All deleted messages
:n All new messages
:o All old messages
:r All messages that have already been read
:u All unread messages
/string All messages with string in the subject line
(the case of characters in string is ignored)
|
|
|