delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/01/10/01:39:34

Message-Id: <200501100639.j0A6dPHe025284@delorie.com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
From: "David Christensen" <dpchrist AT holgerdanske DOT com>
To: "'Cygwin List'" <cygwin AT cygwin DOT com>
Subject: FW: Is Cygwin cron supposed to send e-mail reports?
Date: Sun, 9 Jan 2005 22:39:31 -0800
MIME-Version: 1.0
X-IsSubscribed: yes

I wrote:
> Test it with Windows telnet:
>
>    C:\Documents and Settings\dpchrist>telnet cloud.he.net 25
>    Connecting To cloud.he.net...Could not open connection to the host, on port
25: Connect failed
>
> So, Cygwin exim and Windows telnet both can't connect to cloud.he.net on port
> 25, yet Outlook sends mail via that host... (?)

Googling on "Could not open connection to the host, on port 25: Connect failed"
provided the hint:

http://forums.msexchange.org/ultimatebb.cgi?ubb=get_topic;f=2;t=006596


I have McAfee VirusScan Enterprise 8.0i -- it's Access Protection (firewall)
blocks outgoing connections on port 25 except for Outlook, etc..  Here's some
log entries related to my Cygwin frustrations:

    11/22/2004  9:00:33 PM  Blocked by port blocking rule  telnet.exe  P
revent mass mailing worms from sending mail  127.0.0.1

    1/9/2005  9:52:52 PM  Blocked by port blocking rule  exim-4.43-1.exe
  Prevent mass mailing worms from sending mail  65.19.145.2


Adding "telnet.exe" and "exim-4.43-1.exe" to the list of excluded processes
allows them to get out.  :-)


The last step to get Cygwin cron to send messages is to adjust /etc/aliases:

dpchrist AT p42800e:~$ vi /etc/aliases
dpchrist AT p42800e:~$ cat /etc/aliases
dpchrist: dpchrist AT holgerdanske DOT com
postmaster: dpchrist
root: dpchrist
dpchrist AT p42800e:~$ cygrunsrv --stop exim
dpchrist AT p42800e:~$ cygrunsrv --start exim
dpchrist AT p42800e:~$ runq


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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019