From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/60401 Path: news.gmane.org!not-for-mail From: "Steven E. Harris" Newsgroups: gmane.emacs.gnus.general Subject: Re: Gnus with Exim Date: Fri, 03 Jun 2005 15:28:23 -0700 Organization: SEH Labs Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1117837777 1072 80.91.229.2 (3 Jun 2005 22:29:37 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 3 Jun 2005 22:29:37 +0000 (UTC) Cc: ding@gnus.org Original-X-From: ding-owner+M8928@lists.math.uh.edu Sat Jun 04 00:29:33 2005 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DeKeH-0002cn-Co for ding-account@gmane.org; Sat, 04 Jun 2005 00:28:17 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1DeKeb-0002yY-00; Fri, 03 Jun 2005 17:28:37 -0500 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1DeKeX-0002yT-00 for ding@lists.math.uh.edu; Fri, 03 Jun 2005 17:28:33 -0500 Original-Received: from quimby.gnus.org ([80.91.224.244]) by util2.math.uh.edu with esmtp (Exim 4.30) id 1DeKeR-0006LW-0n for ding@lists.math.uh.edu; Fri, 03 Jun 2005 17:28:27 -0500 Original-Received: from [204.193.55.129] (helo=W003275.na.alarismed.com) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1DeKeP-0007yM-00 for ; Sat, 04 Jun 2005 00:28:26 +0200 Original-Received: from sharris by W003275.na.alarismed.com with local (Exim 4.50) id IHJ53C-000054-4N; Fri, 03 Jun 2005 15:28:24 -0700 Original-To: David Abrahams Mail-Followup-To: David Abrahams , ding@gnus.org In-Reply-To: (David Abrahams's message of "Fri, 03 Jun 2005 16:37:49 -0400") User-Agent: Gnus/5.110004 (No Gnus v0.4) XEmacs/21.4.13 (cygwin32) X-Spam-Score: -4.9 (----) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:60401 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:60401 David Abrahams writes: > I installed Cygwin's Exim on my machine. However, I'm not sure how > to get Gnus to use it or how to set it up to send mail > asynchronously, so any hints would be much appreciated. I can help you with this. Do you send all your outgoing messages through a "smart host" -- meaning your ISP's SMTP server -- or can you send mail by connecting directly to your recipient's SMTP server? The former is a more typical configuration for dial-up and most broadband accounts. Somewhere in your Gnus configuration, you should set the variable `sendmail-program' to "exim", because even though exim can impersonate sendmail, no such symlink is set up in Cygwin by default. (Debian Linux does provide such a symlink, so calling "sendmail" works just fine, with exim acting in its place.) Have you changed the variable `message-send-mail-function' from its default? To send mail through your local MTA you'll want the value to be message-send-mail-with-sendmail. Much of the difficulty I've had with exim on Cygwin relates to getting the permission on /etc/exim.conf straight. At least as several months ago, the file /etc/exim.conf must be owned by the SYSTEM account and not be writable by anyone else. That makes trial-and-error editing of the file a little frustrating. My bash history would accumulate alternating entries like: $ F=/etc/exim.conf; chown seh.Users $F && chmod u+w $F # Edit... $ F=/etc/exim.conf; chown SYSTEM.Administrators $F && chmod a-w $F # Try it again... If you don't need to exchange mail locally on your computer among different users, the setup is really quite simple. Have you tried running "exim-config"? You can read the script at /usr/bin/exim-config. I just noticed that it will offer to set up the sendmail symlink I mentioned above. It doesn't appear to set up the routers and transports that you'll need to tweak for your particular situation. Let me know what you need help on next. -- Steven E. Harris