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

Message-Id: <200508101701.j7AH1UBN015512@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: "Herb Martin" <HerbM AT learnquick DOT com>
To: <cygwin AT cygwin DOT com>
Subject: Anyone running spfd on Cygwin?
Date: Wed, 10 Aug 2005 12:01:26 -0500
MIME-Version: 1.0

Is anyone successfully running the full Mail::SPF perl module, SPECIFICALLY
the spfd (daemon)?

I can run it ONLY as a socket, and only if I leave it in the foreground.
(Otherwise Exim doesn't seem to be able to query it.)

Testing from the command line with NetCat "hangs"
when it is run as a foreground process listening on an INET socket (CPU went
to 100% until I killed it
too.)

Exim queries it successfully if it is left in the foreground AND run as a
Unix Socket:

	spfd -path=/var/run/spfd

Trying to naively put it in the background with:

	spfd -path=/var/run/spfd &

...seems to leave it non-responsive.

I can find no combination of switches that will put it into the background
and leave it functional.

$ spfd --help
usage: spfd ( -port=5970 | -path=/var/spfd ) [-setuser=(uid|username)]
[-setgroup=(gid|groupname)]
usage:      [ -pathuser=(uid|username)] [ -pathgroup=(gid|groupname)]
[-pathmode=mode]
usage: spfd assuming -port=5970
1452 will listen on 5970
1452: creating server with args Listen 1 LocalAddr 127.0.0.1 LocalPort 5970
ReuseAddr 1

The client version spfquery seems to work directly and does NOT appear to be
able to test the daemon's functionality.

--
Herb Martin


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