Use 'sendmail-send-it' for 'send-mail-function' under Debian as
authorOleksandr Gavenko <gavenkoa@gmail.com>
Thu, 15 Dec 2011 22:16:25 +0200
changeset 843 2adc2d3542a4
parent 842 9da301f47799
child 844 5ddabbad047d
Use 'sendmail-send-it' for 'send-mail-function' under Debian as 'smtpmail-send-it' freeze with Emacs 23.3.1.
.emacs-my
--- a/.emacs-my	Mon Dec 12 23:04:55 2011 +0200
+++ b/.emacs-my	Thu Dec 15 22:16:25 2011 +0200
@@ -1247,7 +1247,7 @@
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 (message "smtp, smtpmail")
 
-(when (boundp 'smtpmail-smtp-server)
+(when (and (not (eq system-type 'gnu/linux)) (boundp 'smtpmail-smtp-server))
   (require 'smtpmail)
   (setq
    ;; If you use the default mail user agent.