From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: email ui choices? Date: Tue, 14 Jul 2015 14:01:06 +0200 Message-ID: <87egkbt0cd.fsf@gmx.us> References: <20150714084809.GB11584@unser.net> <87lhejvwox.fsf@ericabrahamsen.net> <87pp3vvunk.fsf@gmx.us> <87si8ruftt.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48095) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZEyty-00061Q-T2 for emacs-orgmode@gnu.org; Tue, 14 Jul 2015 08:01:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZEytu-0001GQ-Kz for emacs-orgmode@gnu.org; Tue, 14 Jul 2015 08:01:34 -0400 Received: from plane.gmane.org ([80.91.229.3]:38901) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZEytu-0001G2-9x for emacs-orgmode@gnu.org; Tue, 14 Jul 2015 08:01:30 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ZEyts-0003Q4-RN for emacs-orgmode@gnu.org; Tue, 14 Jul 2015 14:01:28 +0200 Received: from ip5b4025d5.dynamic.kabel-deutschland.de ([91.64.37.213]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 14 Jul 2015 14:01:28 +0200 Received: from rasmus by ip5b4025d5.dynamic.kabel-deutschland.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 14 Jul 2015 14:01:28 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Eric Abrahamsen writes: > Rasmus writes: > >> Eric Abrahamsen writes: >> >>> (setq message-send-mail-function 'message-send-mail-with-sendmail) >>> (setq sendmail-program "msmtp") >> >> Emacs is pretty good at talking to smtp servers. You can simply add a >> header like this to your message (e.g. via `gnus-posting-styles' or >> `message-default-headers'): >> >> X-Message-Smtp-Method: smtp smtp.email.com 465 rasmus >> >> For saving the sent mail, Gnus uses the GCC header. I don't know what >> you'd do in the case of plain message.el. > > I looked at my .gnus.el file, and found this: > > ;;; the following might be obviated by the X-SMTP-METHOD headers, > ;;; except I don't think it will work for my case: the header is > supposed to contain How very frustrating.... My guess is that you have got bit rot on your system. Better call a professional. In any case, I have moved ALL sending configuration to gnus-posting-style and it's brilliant. Before I was messing with hooks to change variables before dispatching. (setq gnus-posting-styles '(((lambda () (rasmus/gnus-posting-style-identify '(".*") '(("To". "mymail\\.net")) nil "mymail")) (GCC "nnimap+mail:mymail/sent") (X-Message-SMTP-Method "smtp mymail.net 465 rasmus") (signature (or (ignore-errors (cookie (concat user-emacs-directory "signatures") "" "")) "Send from my Emacs")) (Face (gnus-random-face)) (address "rasmus@mymail.net") (Organization nil) (eval (setq smtpmail-stream-type 'ssl))) ;; work email omitted ((lambda () (rasmus/gnus-posting-style-identify '("gmx\\|gmane\\|sunsite\\|emacs") '(("To" . "rasmus@gmx\\.us")) '(message-news-p) "gmx")) (name "Rasmus") (address "rasmus@gmx.us") (Organization nil) (GCC "nnimap+mail:gmx/sent") (X-Message-SMTP-Method "smtp mail.gmx.com 587 rasmus@gmx.us") (eval (setq smtpmail-stream-type nil))))) `gnus-configure-posting-styles' is handy when changing profile OTG. Rasmus -- The Kids call him Billy the Saint