delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/04/18/02:12:20

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
X-Sent: 18 Apr 2003 06:11:59 GMT
Message-ID: <004901c30571$6808b3f0$0200a8c0@abackusdell2>
From: "Abraham Backus" <abraham AT backus DOT com>
To: "Cygwin" <cygwin AT cygwin DOT com>
References: <Xns935FDC42667E8lucianoavgmxnet AT 80 DOT 91 DOT 224 DOT 249> <012101c3047a$d58091c0$abf9a8c0 AT xypoint DOT com> <Xns935FE83484E22lucianoavgmxnet AT 80 DOT 91 DOT 224 DOT 249> <006101c30492$6858eb20$0200a8c0 AT abackusdell2> <3E9EEADC DOT 6060703 AT Salira DOT com> <00d001c30511$0a2844e0$cd8a9dc0 AT uk DOT aonix DOT com> <Xns93611D67B1B1lucianoavgmxnet AT 80 DOT 91 DOT 224 DOT 249>
Subject: Re: IMAP server, anyone?
Date: Thu, 17 Apr 2003 23:11:52 -0700
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106

To make it "silent and invisible", I run inetd as an NT service and I have
the following line in /etc/inetd.conf:
imap stream tcp nowait root /usr/sbin/imapd

To have inetd run as a service, do the following after installing the
inetutils package:
/usr/sbin/inetd --install-as-service

Now you shouldn't have any useless console windows hanging around :)

Of course you may already be doing this and there's a different issue that's
forcing you to have the console window?

In my case, I use fetchmail running as an NT service under cygrunsrv with my
user credentials to grab all my email from a few ISP accounts.  Fetchmail
then invokes procmail, and procmail calls the appropriate UW imap tool to
inject each email into the imap system.

I don't know a whole lot about procmail, just enough to use it for sorting
mail... here's an example of a section in my ~/procmail/rc.filtering file:

:0 wr
* ^TO_cygwin AT cygwin DOT com
|/usr/bin/tmail Abe+cygwin

:0 wr
* ^TO_cygwin AT sources DOT redhat DOT com
|/usr/bin/tmail Abe+cygwin


----- Original Message -----

> a) more Unix like
> b) more silent and invisible
> c) more prone to let me point to any directory
>
> Hamster only works with folders inside its own directory. Sure, I can
> have Exim or Procmail store mail there, but I want to keep everything
> inside my Cygwin directory structure, and my mail in my $HOME
> directory.
>
> But I am having two problems with UW imapd:
>
> 1: It's not "silent and invisible" enough. It won't disconnect from
> the terminal, say, like Exim, so you always have that useless console
> window hanging about. It therefore fails requirement B.
>
> 2: I still haven't been able to make it work. Not too easy. Way to
> pass requirement A!  :-)



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