Re: SRS sendmail integration

"Stuart D. Gathman" <[email protected]>
Newsgroups gmane.mail.spam.srs.general
Message-ID <[email protected]>
On Wed, 24 Mar 2004, Mark wrote:

> Yes, I figured out the LOCAL_RULESET_0 too -- a very fortunate hook (one
> that exists for ruleset 1, 2, and 3 too). I am impressed you solved the
> EnvFromSMTP thingy. With your permission, I'd like to create an m4 of my
> own, including your trick (for which I will accredite you, of course).

No problem.  I am shamelessly incorporating stuff into pysrs.  That's
what open source is for.

One more m4 change.  To reduce places where it is configured, I am
passing the forwarding domain as a command line argument to envfrom2srs.py:

ifelse(defn(`_ARG_'),`',,`define(`SRS_DOMAIN',_ARG_)')

LOCAL_CONFIG
# Forward SRS program map
Kmake_srs program /usr/bin/envfrom2srs.py ifdef(`SRS_DOMAIN',SRS_DOMAIN)
# Reverse SRS program map
Kreverse_srs program /usr/bin/srs2envtol.py

-- 
			Stuart D. Gathman <[email protected]>
      Business Management Systems Inc.  Phone: 703 591-0911 Fax: 703 591-6154
      "Very few of our customers are going to have a pure Unix
      or pure Windows environment." - Dennis Oldroyd, Microsoft Corporation
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.