summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorAlain Magloire <alainm@gnu.org>2001-07-06 02:36:12 +0000
committerAlain Magloire <alainm@gnu.org>2001-07-06 02:36:12 +0000
commitb3937510f35b02b746ba9e8be659b328da7400be (patch)
tree173eb67f5a493cfceb9b56fe9532998be079ccfd /ChangeLog
parent2f77683ca0420fd8574b801f662fa318b082ba2e (diff)
downloadmailutils-b3937510f35b02b746ba9e8be659b328da7400be.tar.gz
mailutils-b3937510f35b02b746ba9e8be659b328da7400be.tar.bz2
According to the man page:
"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.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog30
1 files changed, 30 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index fd3ff6f94..d62423449 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,35 @@
2001-07-05 Alain Magloire
+ According to the man page:
+ "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.
+
+2001-07-05 Alain Magloire
+
We can send a message and if the address starts with '|'
the message is pipe to the cmd and if starts with '/' it is
save to a file.

Return to:

Send suggestions and report system problems to the System administrator.