This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: /usr/bin/email causes error "sh: /usr/lib/sendmail: No such file or directory"

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):

<CVSENV>2006-05-21 22:39:02 dpchrist@p3533 ~
$ less /usr/share/doc/Cygwin/email-2.3.4.README

<CVSENV>2006-05-21 22:40:39 dpchrist@p3533 ~
$ less /usr/share/doc/Cygwin/exim-4.62-1.README

Make several attempts at email-config and exim-config.  Here are the final

<CVSENV>2006-05-21 23:25:41 dpchrist@p3533 ~
$ email-config
Please enter your From: name (e.g., John Doe) [David Christensen]:
Please enter your From: email address []:
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.

<CVSENV>2006-05-21 23:28:51 dpchrist@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
    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
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:

<CVSENV>2006-05-21 23:30:40 dpchrist@p3533 ~
$ email -s test < foo

E-Mail Sent

<CVSENV>2006-05-21 23:37:01 dpchrist@p3533 ~
$ tail -n 2 /var/log/exim/exim_main.log
2006-05-21 23:37:03 IZNLL0-0002VG-8I =>
R=dnslookup T=
remote_smtp []*
2006-05-21 23:37:03 IZNLL0-0002VG-8I Completed

Check e-mail client for messages -- yup.  Thanks!  :-)


Unsubscribe info:
Problem reports:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]