public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Jason Tishler <jason@tishler.net>
To: "C. Porter Bassett" <cporter@byu.edu>
Cc: Cygwin <cygwin@sources.redhat.com>
Subject: Re: procmail on cygwin
Date: Mon, 10 Dec 2001 12:00:00 -0000	[thread overview]
Message-ID: <20011210134958.A2088@dothill.com> (raw)
In-Reply-To: <017101c181a0$b47a29e0$738ffe0c@pwork>

[-- Attachment #1: Type: text/plain, Size: 982 bytes --]

In the future, please post to cygwin@cygwin.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
       "# <CR> /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

[-- Attachment #2: Type: message/rfc822, Size: 3104 bytes --]

[-- Attachment #2.1.1: Type: text/plain, Size: 194 bytes --]

mv INSTALL INSTALL.txt
apply autoconf patch
make LN=cp # <CR> /usr/sbin/ssmtp
make BASENAME=/tmp/procmail/usr/local BINS='new/procmail.exe new/lockfile.exe new/formail.exe new/mailstat' install

[-- Attachment #2.1.2: autoconf.diff --]
[-- Type: text/plain, Size: 678 bytes --]

--- ../../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 */

[-- Attachment #3: Type: text/plain, Size: 214 bytes --]

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

       reply	other threads:[~2001-12-10 18:46 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <017101c181a0$b47a29e0$738ffe0c@pwork>
2001-12-10 12:00 ` Jason Tishler [this message]
2001-12-31  1:22   ` procmail (and SmartList) " Greg Matheson
2002-01-03  6:07     ` Jason Tishler
2002-01-03 20:10       ` Greg Matheson
2002-01-04  5:03         ` Jason Tishler
2002-03-22  6:24   ` procmail locking problem warning (was Re: procmail on cygwin) Jason Tishler
2002-03-23 19:14     ` Greg Matheson
2002-03-25  8:41       ` Jason Tishler
2002-03-25  8:52         ` Jason Tishler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20011210134958.A2088@dothill.com \
    --to=jason@tishler.net \
    --cc=cporter@byu.edu \
    --cc=cygwin@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).