X-Spam-Check-By: sourceware.org From: "David Christensen" To: Subject: RE: /usr/bin/email causes error "sh: /usr/lib/sendmail: No such file or directory" Date: Sun, 21 May 2006 23:43:45 -0700 Message-ID: <003801c67d6b$129e6160$1e10a8c0@holgerdanske.local> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <20060521223922.GE26270@trixie.casa.cgf.cx> X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Christopher Faylor wrote: > How about reading /usr/share/doc/Cygwin/email*.README? Thanks for the RTFM pointer. :-) Here we go (blank lines edited for readability): 2006-05-21 22:39:02 dpchrist AT p3533 ~ $ less /usr/share/doc/Cygwin/email-2.3.4.README 2006-05-21 22:40:39 dpchrist AT p3533 ~ $ less /usr/share/doc/Cygwin/exim-4.62-1.README Make several attempts at email-config and exim-config. Here are the final runs: 2006-05-21 23:25:41 dpchrist AT p3533 ~ $ email-config Please enter your From: name (e.g., John Doe) [David Christensen]: Please enter your From: email address [dpchrist AT p3533 DOT holgerdanske DOT com]: Please enter your Reply-to: email address []: Enter 1 to use sendmail or 2 to use a SMTP server [1]: Please enter the sendmail command line [/usr/sbin/sendmail -t -i]: Please check the configuration file /etc/email/email.conf for correctness. 2006-05-21 23:28:51 dpchrist AT p3533 ~ $ exim-config ************************************************ This script sets some key parameters of the exim installation and starts the exim daemon. See the details in /usr/share/doc/Cygwin/exim-X-Y.README. Interrupt with ^D. Mobile User Tmpl:unused_by_nt/2000/xp:11124:10513: User Tmpl:unused_by_nt/2000/xp:11125:10513: Power User Tmpl:unused_by_nt/2000/xp:11126:10513: Administrator Tmpl:unused_by_nt/2000/xp:11127:10513: SBS Backup User:unused_by_nt/2000/xp:11128:10513: SBS STS Worker:unused_by_nt/2000/xp:11129:11119: WARNING: The usernames displayed above contain spaces. They cannot receive mail nor appear in /etc/aliases. Edit /etc/passwd and use identifiers without spaces. OK. The /etc/aliases file contains "postmaster". OK. The primary hostname p3533.holgerdanske.com is already defined in /etc/exim.conf. INFO: Some programs expect /usr/sbin/sendmail to handle mail. Currently it is a symbolic link to /usr/bin/exim. Exim is already installed as a service under account 'LocalSystem'. Do you want to remove or reinstall it? (yes/no) yes OK. The exim service was removed. Do you want to install the exim daemon as a service? (yes/no) yes Enter the period of the queue runner, in minutes: [15] Enter the value of CYGWIN for the daemon: [ntsec notraverse] Do you want to start the exim daemon as a service now? (yes/no) yes OK. The mail daemon is now accepting mail. You can test it with "telnet localhost 25". INFO: The exim log files are in /var/log/exim. When everything else fails, read /usr/share/doc/Cygwin/exim-X-Y.README, or look up the documentation on www.exim.org. Many happy mailings :) Adjust McAfee Virus Scan Enterprise 8.0i firewall to allow email.exe and exim-4.62-1.exe to send mail, then continue: 2006-05-21 23:30:40 dpchrist AT p3533 ~ $ email -s test dpchrist AT holgerdanske DOT com < foo E-Mail Sent 2006-05-21 23:37:01 dpchrist AT p3533 ~ $ tail -n 2 /var/log/exim/exim_main.log 2006-05-21 23:37:03 IZNLL0-0002VG-8I => dpchrist AT holgerdanske DOT com R=dnslookup T= remote_smtp H=holgerdanske.com [65.19.145.106]* 2006-05-21 23:37:03 IZNLL0-0002VG-8I Completed Check e-mail client for messages -- yup. Thanks! :-) David -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/