Your message dated Thu, 13 Jan 2005 01:58:02 +0100 (CET)
with message-id <[EMAIL PROTECTED]>
and subject line #271712: postfix-gld: wrong variable-name for main.cf in 
README.Debian
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 14 Sep 2004 18:18:19 +0000
>From [EMAIL PROTECTED] Tue Sep 14 11:18:19 2004
Return-path: <[EMAIL PROTECTED]>
Received: from mail.selfnet.de [141.70.124.2] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1C7Hsh-0004ad-00; Tue, 14 Sep 2004 11:18:19 -0700
Received: from patric.members.selfnet.de (patric.members.selfnet.de 
[141.70.124.195])
        by mail.selfnet.de (Postfix) with ESMTP
        id EC4357D9B; Tue, 14 Sep 2004 20:17:47 +0200 (CEST)
Received: by patric.members.selfnet.de (Postfix, from userid 1000)
        id AA01D3000970; Tue, 14 Sep 2004 20:17:47 +0200 (CEST)
Content-Type: multipart/mixed; boundary="===============0139168325=="
MIME-Version: 1.0
From: Patric Schenke <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: postfix-gld: wrong variable-name for main.cf in README.Debian
X-Mailer: reportbug 2.64
Date: Tue, 14 Sep 2004 20:17:47 +0200
Message-Id: <[EMAIL PROTECTED]>
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
        autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

This is a multi-part MIME message sent by reportbug.

--===============0139168325==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Package: postfix-gld
Version: 1.4-1
Severity: minor
Tags: patch

Hi,
I just wanted to note that there is an error in
/usr/share/doc/postfix-gld/README.Debian:
It states that one has to change the variable
smtpd_recipient_restrictions, but the correct variable-name is
smtpd_client_restrictions.

I attached a simple patch to correct this.


-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (900, 'testing'), (800, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-1-k7
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED]

Versions of packages postfix-gld depends on:
ii  libc6                       2.3.2.ds1-16 GNU C Library: Shared libraries an
ii  libmysqlclient12            4.0.20-11    mysql database client library
ii  psmisc                      21.5-1       Utilities that use the proc filesy

-- no debconf information

--===============0139168325==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="patch"

--- README.Debian       2004-07-20 18:11:19.000000000 +0200
+++ README.Debian.new   2004-09-14 20:10:24.000000000 +0200
@@ -68,7 +68,7 @@
 check_policy_service inet:127.0.0.1:2525

-to the smtpd_recipient_restrictions variable. For example:
+to the smtpd_client_restrictions variable. For example:

-smtpd_recipient_restrictions = reject_unauth_destination,
+smtpd_client_restrictions = reject_unauth_destination,
   check_policy_service inet:127.0.0.1:2525

patric:/usr/share/doc/postfix-gld# diff -U 4 README.Debian*
--- README.Debian       2004-07-20 18:11:19.000000000 +0200
+++ README.Debian.new   2004-09-14 20:10:24.000000000 +0200
@@ -66,11 +66,11 @@
 Edit /etc/postfix/main.cf and add a line like this:

 check_policy_service inet:127.0.0.1:2525

-to the smtpd_recipient_restrictions variable. For example:
+to the smtpd_client_restrictions variable. For example:

-smtpd_recipient_restrictions = reject_unauth_destination,
+smtpd_client_restrictions = reject_unauth_destination,
   check_policy_service inet:127.0.0.1:2525

 * After changing /etc/postfix/main.c, reload postfix:


--===============0139168325==--

---------------------------------------
Received: (at 271712-done) by bugs.debian.org; 13 Jan 2005 00:58:02 +0000
>From [EMAIL PROTECTED] Wed Jan 12 16:58:02 2005
Return-path: <[EMAIL PROTECTED]>
Received: from pizarro.unex.es [158.49.8.2] (postfix)
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1CotJJ-000064-00; Wed, 12 Jan 2005 16:58:02 -0800
Received: from localhost (almendralejo.unex.es [158.49.8.199])
        by pizarro.unex.es (Postfix/MJ-1.08) with ESMTP
        id 1C524A1C99; Thu, 13 Jan 2005 01:58:00 +0100 (CET)
Received: from pizarro.unex.es ([158.49.8.2])
        by localhost (emilio [158.49.17.20]) (amavisd-new, port 10024)
        with ESMTP id 24807-08; Thu, 13 Jan 2005 01:58:34 +0100 (CET)
Received: from guadiana.unex.es (guadiana.unex.es [158.49.17.23])
        by pizarro.unex.es (Postfix/MJ-1.08) with ESMTP
        id 56B47A1C67; Thu, 13 Jan 2005 01:57:59 +0100 (CET)
Received: from guadiana.unex.es
        ([158.49.17.23] helo=localhost ident=sanvila)
        by guadiana.unex.es with esmtp (Exim 3.35 #1 (Debian))
        id 1CotJH-0000M8-00; Thu, 13 Jan 2005 01:57:59 +0100
Date: Thu, 13 Jan 2005 01:58:02 +0100 (CET)
From: Santiago Vila <[EMAIL PROTECTED]>
To: Patric Schenke <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED]
Subject: Re: #271712: postfix-gld: wrong variable-name for main.cf in
 README.Debian
In-Reply-To: <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
 <[EMAIL PROTECTED]>
 <[EMAIL PROTECTED]>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at unex.es
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-3.0 required=4.0 tests=BAYES_00 autolearn=no 
        version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

[ sorry for the delay in replying to this ]

On Wed, 15 Sep 2004, Patric Schenke wrote:

> On Wed, Sep 15, 2004 at 12:06:22PM +0200, Santiago Vila wrote:
>
> > On Tue, 14 Sep 2004, Patric Schenke wrote:
> > 
> > > Package: postfix-gld
> > > Version: 1.4-1
> > > Severity: minor
> > > Tags: patch
> > > 
> > > Hi,
> > > I just wanted to note that there is an error in
> > > /usr/share/doc/postfix-gld/README.Debian:
> > > It states that one has to change the variable
> > > smtpd_recipient_restrictions, but the correct variable-name is
> > > smtpd_client_restrictions.
> > 
> > What do you mean by "the correct variable-name"?
> > 
> > Both variables exist, and AFAIK, both of them may be used.
>
> that is correct, both exist. but smtpd_recipient_restrictions cannot
> contain the expression "check_policy_service". according to the
> postfix-documentation that expression belongs to the variable
> smtpd_client_restrictions.

Well, I don't know what postfix docs are you reading, but in the file
SMTPD_POLICY_README.html which comes from postfix_2.1.4-5 I see that
*all* the examples of check_policy_service use smtpd_recipient_restrictions
and not smtpd_client_restrictions.

Therefore I can't consider smtpd_client_restrictions "more correct"
than smtpd_recipient_restrictions to contain "check_policy_service"
since it may be in both.

You are right that "check_policy_service" may not be alone in
smtpd_recipient_restrictions, but that's why I put this as an example:

smtpd_recipient_restrictions = reject_unauth_destination,
  check_policy_service inet:127.0.0.1:2525

The intelligent reader will be able to copy and paste the example or
read postfix documentation if they are unsure.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to