FW: Is Cygwin cron supposed to send e-mail reports?

David Christensen dpchrist@holgerdanske.com
Mon Jan 10 07:08:00 GMT 2005


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@p42800e:~$ vi /etc/aliases
dpchrist@p42800e:~$ cat /etc/aliases
dpchrist: dpchrist@holgerdanske.com
postmaster: dpchrist
root: dpchrist
dpchrist@p42800e:~$ cygrunsrv --stop exim
dpchrist@p42800e:~$ cygrunsrv --start exim
dpchrist@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/



More information about the Cygwin mailing list