From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/82444 Path: news.gmane.org!not-for-mail From: "Sebastian P. Luque" Newsgroups: gmane.emacs.gnus.general Subject: Re: starttls for gmail SMTP doesn't start Date: Thu, 25 Oct 2012 15:38:57 -0500 Organization: University of Manitoba Message-ID: <873912b82m.fsf@kolob.subpolar.dyndns.org> References: <87fwd8w7qa.fsf@kolob.subpolar.dyndns.org> <87ty1am222.fsf@kolob.subpolar.dyndns.org> <87hax97s3b.fsf@dod.no> <87k3uyjevd.fsf@kolob.subpolar.dyndns.org> <87ehkv23ou.fsf@ucl.ac.uk> <87k3ulmlmw.fsf@gmail.com> <87lieus8r8.fsf@kolob.subpolar.dyndns.org> <87objq49wg.fsf@ucl.ac.uk> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1351197576 18230 80.91.229.3 (25 Oct 2012 20:39:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 25 Oct 2012 20:39:36 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M30710@lists.math.uh.edu Thu Oct 25 22:39:43 2012 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TRUDO-00031e-LL for ding-account@gmane.org; Thu, 25 Oct 2012 22:39:42 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1TRUCt-0006Ni-4x; Thu, 25 Oct 2012 15:39:11 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1TRUCr-0006NT-FY for ding@lists.math.uh.edu; Thu, 25 Oct 2012 15:39:09 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1TRUCp-0002QK-Kc for ding@lists.math.uh.edu; Thu, 25 Oct 2012 15:39:09 -0500 Original-Received: from mail-ie0-f172.google.com ([209.85.223.172]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1TRUCo-0004qr-1F for ding@gnus.org; Thu, 25 Oct 2012 22:39:06 +0200 Original-Received: by mail-ie0-f172.google.com with SMTP id 9so3740722iec.17 for ; Thu, 25 Oct 2012 13:38:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:references:date:message-id:user-agent:organization :mime-version:content-type; bh=OOLIbCTpCvcpDxcJbQ9mPq4LPE0/VPKqOvDCg57ZGQA=; b=Y822WL5bQLF8hVrPVcRFOZ7Xtyb/QYNc4FbtF8q2SEXv9gv9lLusEHhZ+osGCmYBNV PJ50MAFuKBFGlfRAh72ZJ2a0mMF1O3QKGg2Ook6TljYiD0FgbMrvQORymMSTq5gYdAMS /4VWq4MHCSzRCPXJTUYvTMRg4TN/VeGAmDRoIXEHHUEdlDL49i/9XEQI32nPPMuKPYrv Uy6LYo1b+vOZuXUujsblcs9orQLQJLPoK1Zj7rk7NkKHMHqVODtjF4p1gwb/Vb/6j/ut 6a4UpOnntfpLSVkYkzei+T7BuEbrX8hvGi1GJaGFNbxSad/oH1qlY0TZnv9LR6bEZeDj x43g== Original-Received: by 10.50.188.136 with SMTP id ga8mr2624igc.24.1351197539831; Thu, 25 Oct 2012 13:38:59 -0700 (PDT) Original-Received: from smtp.gmail.com (S0106c8d719636840.wp.shawcable.net. [24.77.168.104]) by mx.google.com with ESMTPS id x7sm5426068igk.8.2012.10.25.13.38.58 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 25 Oct 2012 13:38:59 -0700 (PDT) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) X-Spam-Score: -3.0 (---) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:82444 Archived-At: On Thu, 25 Oct 2012 20:41:19 +0100, Eric S Fraga wrote: > "Sebastian P. Luque" writes: >> Thanks so much. For GNU/Linux users, is it really necessary to: >> (setq message-send-mail-function 'message-send-mail-with-sendmail) >> (setq sendmail-program "c:/gnu/bin/msmtp.exe") >> The latter would obviously be different, but I'm not sure I >> understand why the former is necessary anyway. > The first is because the variable could be set to one of many > different options and this just makes sure sendmail. It's probably > not necessary in that I think it's the default (or at least I cannot > see where I have set this in my configuration). According to 'C-h v message-send-mail-function' the default is system dependent, which for me it was 'smtpmail-send-it'. It seems like this automagically uses exim4 in my system, which in turn uses my default ISP smtp server. > The second, by the way, is probably not at all necessary on some, > maybe all, GNU/Linux systems. On Debian/Ubuntu, msmtp automatically > links /usr/lib/sendmail to /usr/bin/msmtp. In my Debian sid, I have: ,-----[ ls -alh /usr/lib/sendmail ] | lrwxrwxrwx 1 root root 13 Sep 23 06:04 /usr/lib/sendmail -> ../sbin/exim4 `----- Using: (setq message-send-mail-function 'message-send-mail-with-sendmail sendmail-program "/usr/bin/msmtp" message-sendmail-extra-arguments '("-a" "gmail") mail-host-address "gmail.com") works smoothly. Thanks, -- Seb