Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Mon, 10 Dec 2001 13:49:58 -0500 From: Jason Tishler To: "C. Porter Bassett" Cc: Cygwin Subject: Re: procmail on cygwin Message-ID: <20011210134958.A2088@dothill.com> Mail-Followup-To: "C. Porter Bassett" , Cygwin Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="k2PObCxWJvo0Hd/m" Content-Disposition: inline In-Reply-To: <017101c181a0$b47a29e0$738ffe0c@pwork> User-Agent: Mutt/1.3.18i --k2PObCxWJvo0Hd/m Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In the future, please post to cygwin AT cygwin DOT com instead of sending private email, so others can benefit too. On Mon, Dec 10, 2001 at 10:32:56AM -0700, C. Porter Bassett wrote: > Did I understand from some of your cygwin posts that you have procmail > working with cygwin? Yes. > If so, would you be willing to help me set it up on my machine? You can find a pre-built procmail at: http://www.dd.iij4u.or.jp/~madokam/ Otherwise, you can try my attached build recipe. Note the following: 1. You will need BIND installed to build procmail -- search the archives for the Cygwin BIND patch. 2. Building procmail under Cygwin is a little touchy. Sometimes I have to restart the make part to get the build to complete. 3. You will be prompted during the make part -- this is indicated by "# /usr/sbin/ssmtp". I use fetchmail to retrieve my mail. Since fetchmail defaults to using procmail as its MDA, no extra setup is required. Jason --k2PObCxWJvo0Hd/m Content-Type: message/rfc822 Content-Disposition: inline Return-Path: Received: from mh15-tx.mail.home.com ([65.10.73.169]) by femail17.sdc1.sfba.home.com (InterMail vM.4.01.03.20 201-229-121-120-20010223) with ESMTP id <20010927203308 DOT DYHZ13463 DOT femail17 DOT sdc1 DOT sfba DOT home DOT com AT mh15-tx DOT mail DOT home DOT com> for ; Thu, 27 Sep 2001 13:33:08 -0700 Received: from mx14-tx.mail.home.com (mx14-tx.mail.home.com [65.10.73.164]) by mh15-tx.mail.home.com (8.9.3/8.9.0) with ESMTP id NAA05293 for ; Thu, 27 Sep 2001 13:33:07 -0700 (PDT) Received: from lmg01.affinity.com (lmg.ahnet.net [207.150.192.13]) by mx14-tx.mail.home.com (8.11.1/8.11.1) with ESMTP id f8RKWqS21961 for ; Thu, 27 Sep 2001 13:33:06 -0700 (PDT) Received: from mail.ahnet.net ([207.150.192.80]) by lmg.ahnet.net with ESMTP id <294736-17002>; Thu, 27 Sep 2001 13:32:15 -0700 Received: from lmg03.affinity.com (lmg.ahnet.net [207.150.192.13]) by mail.ahnet.net (Postfix) with ESMTP id 1D678A9E5 for ; Thu, 27 Sep 2001 13:31:37 -0700 (PDT) Received: from femail1.sdc1.sfba.home.com ([24.0.95.81]) by lmg.ahnet.net with ESMTP id <317348-19413>; Thu, 27 Sep 2001 13:31:36 -0700 Received: from althea.tishler.net ([24.3.200.94]) by femail1.sdc1.sfba.home.com (InterMail vM.4.01.03.20 201-229-121-120-20010223) with SMTP id <20010927203033 DOT QUFK12701 DOT femail1 DOT sdc1 DOT sfba DOT home DOT com AT althea DOT tishler DOT net> for ; Thu, 27 Sep 2001 13:30:33 -0700 Received: by althea.tishler.net (sSMTP sendmail emulation); Thu, 27 Sep 2001 16:31:52 -0400 Date: Thu, 27 Sep 2001 16:31:51 -0400 From: Jason Tishler To: jason AT tishler DOT net Subject: procmail build instructions Message-ID: <20010927163151 DOT O1356 AT dothill DOT com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="TeVq3dhW3AZaxsDe" Content-Disposition: inline User-Agent: Mutt/1.3.18i --TeVq3dhW3AZaxsDe Content-Type: text/plain; charset=us-ascii Content-Disposition: inline mv INSTALL INSTALL.txt apply autoconf patch make LN=cp # /usr/sbin/ssmtp make BASENAME=/tmp/procmail/usr/local BINS='new/procmail.exe new/lockfile.exe new/formail.exe new/mailstat' install --TeVq3dhW3AZaxsDe Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="autoconf.diff" --- ../../procmail-3.22.orig/src/autoconf Tue Sep 11 00:55:46 2001 +++ ./autoconf Thu Sep 27 16:01:19 2001 @@ -881,6 +881,7 @@ then else echo "#define NO_COMSAT" >>$ACONF fi +echo "#define NO_COMSAT" >>$ACONF $RM _autotst.$O @@ -1349,7 +1350,7 @@ openerr: envs=(char*)((nenv=nenviron)+diff); while(--diff) /* put in some colour */ sprintf(*nenviron++=envs,arg,diff),envs+=sizeof arg; - *(environ=nenv)="PATH=.";*nenviron=0;diff=argc; /* start doubling */ + *nenviron=0;diff=argc; /* start doubling */ } if(MAX_ARGMEM/sizeof arg<=argc) /* we are satisfied */ { einfo=" /* soft limit */"; /* no reason to hog memory */ --TeVq3dhW3AZaxsDe-- --k2PObCxWJvo0Hd/m Content-Type: text/plain; charset=us-ascii -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ --k2PObCxWJvo0Hd/m--