emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/mail/feedmail.el,v


From: Chong Yidong
Subject: [Emacs-diffs] Changes to emacs/lisp/mail/feedmail.el,v
Date: Mon, 04 Sep 2006 14:17:13 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Chong Yidong <cyd>      06/09/04 14:17:12

Index: mail/feedmail.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/mail/feedmail.el,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -b -r1.26 -r1.27
--- mail/feedmail.el    3 Nov 2005 21:34:54 -0000       1.26
+++ mail/feedmail.el    4 Sep 2006 14:17:12 -0000       1.27
@@ -1340,7 +1340,15 @@
   (set-buffer prepped)
   (apply 'call-process-region
         (append (list (point-min) (point-max)
-                      (if (boundp 'sendmail-program) sendmail-program 
"/usr/lib/sendmail")
+                      (cond ((boundp 'sendmail-program)
+                             sendmail-program)
+                            ((file-exists-p "/usr/sbin/sendmail")
+                             "/usr/sbin/sendmail")
+                            ((file-exists-p "/usr/lib/sendmail")
+                             "/usr/lib/sendmail")
+                            ((file-exists-p "/usr/ucblib/sendmail")
+                             "/usr/ucblib/sendmail")
+                            (t "fakemail"))
                       nil errors-to nil "-oi" "-t")
                 ;; provide envelope "from" to sendmail; results will vary
                 (list "-f" user-mail-address)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]