diff options
| author | Chong Yidong | 2006-09-04 14:18:10 +0000 |
|---|---|---|
| committer | Chong Yidong | 2006-09-04 14:18:10 +0000 |
| commit | de4fbbe4ff7be8911738ba397086ff64487713e4 (patch) | |
| tree | 7462c9c72daf0cd149559932dc85b81605b7e1a3 | |
| parent | 82695714e8bf5c42f771dcb3e379944647012331 (diff) | |
| download | emacs-de4fbbe4ff7be8911738ba397086ff64487713e4.tar.gz emacs-de4fbbe4ff7be8911738ba397086ff64487713e4.zip | |
* message.el (message-send-mail-with-sendmail): Look for sendmail in
several common directories.
| -rw-r--r-- | lisp/gnus/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/gnus/message.el | 12 |
2 files changed, 14 insertions, 3 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index c46cc3d87f9..81d566fc856 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2006-09-04 Chong Yidong <cyd@stupidchicken.com> | ||
| 2 | |||
| 3 | * message.el (message-send-mail-with-sendmail): Look for sendmail in | ||
| 4 | several common directories. | ||
| 5 | |||
| 1 | 2006-09-04 Katsumi Yamaoka <yamaoka@jpl.org> | 6 | 2006-09-04 Katsumi Yamaoka <yamaoka@jpl.org> |
| 2 | 7 | ||
| 3 | * rfc2047.el (rfc2047-strip-backslashes-in-quoted-strings): Decode `\\' | 8 | * rfc2047.el (rfc2047-strip-backslashes-in-quoted-strings): Decode `\\' |
diff --git a/lisp/gnus/message.el b/lisp/gnus/message.el index 4ee87933967..f8d3a32a515 100644 --- a/lisp/gnus/message.el +++ b/lisp/gnus/message.el | |||
| @@ -3897,9 +3897,15 @@ If you always want Gnus to send messages in one piece, set | |||
| 3897 | 'call-process-region | 3897 | 'call-process-region |
| 3898 | (append | 3898 | (append |
| 3899 | (list (point-min) (point-max) | 3899 | (list (point-min) (point-max) |
| 3900 | (if (boundp 'sendmail-program) | 3900 | (cond ((boundp 'sendmail-program) |
| 3901 | sendmail-program | 3901 | sendmail-program) |
| 3902 | "/usr/lib/sendmail") | 3902 | ((file-exists-p "/usr/sbin/sendmail") |
| 3903 | "/usr/sbin/sendmail") | ||
| 3904 | ((file-exists-p "/usr/lib/sendmail") | ||
| 3905 | "/usr/lib/sendmail") | ||
| 3906 | ((file-exists-p "/usr/ucblib/sendmail") | ||
| 3907 | "/usr/ucblib/sendmail") | ||
| 3908 | (t "fakemail")) | ||
| 3903 | nil errbuf nil "-oi") | 3909 | nil errbuf nil "-oi") |
| 3904 | ;; Always specify who from, | 3910 | ;; Always specify who from, |
| 3905 | ;; since some systems have broken sendmails. | 3911 | ;; since some systems have broken sendmails. |