Debian Bug report logs -
#298832
A method for passing arguments with spaces to postgrey
Reported by: Robert Waldner <waldner+bug@waldner.priv.at>
Date: Thu, 10 Mar 2005 09:33:05 UTC
Severity: wishlist
Tags: patch
Merged with 309515
Found in versions 1.17-2, 1.21-1
Fixed in version postgrey/1.21-2
Done: Adrian von Bidder <cmot@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded to debian-bugs-dist@lists.debian.org, Adrian von Bidder <avbidder@fortytwo.ch>:
Bug#298832; Package postgrey.
(full text, mbox, link).
Acknowledgement sent to Robert Waldner <waldner+bug@waldner.priv.at>:
New Bug report received and forwarded. Copy sent to Adrian von Bidder <avbidder@fortytwo.ch>.
(full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: postgrey
Version: 1.17-2
Severity: wishlist
Hi!
At the moment it doesn't seem possible to pass an argument with spaces
via /etc/default/postgrey to postgrey, because the shell doesn't expand
an argument multiple times.
To be more specifix, I'm unable to find a way to pass
--greylist-text="Text with blanks" to postgrey in a workable manner.
I think a good way around all this would be a bit of shuffling around,
and to use an array for the options. For example, moving the options in
/etc/init.d/postgrey further up:
POSTGREY_OPTS="--pidfile=$PIDFILE --daemonize"
# Read config file if it is present.
if [ -r /etc/default/$NAME ]
then
. /etc/default/$NAME
fi
change the call from start-stop-daemon:
start-stop-daemon --start --quiet --pidfile $PIDFILE \
--exec $DAEMON -- "${POSTGREY_OPTS[@]}"
and, finally, have /etc/default/postgrey contain:
POSTGREY_OPTS=($POSTGREY_OPTS --inet=127.0.0.1:60000 --delay=10
"--greylist-text=Text with blanks.")
This way, one can make use of all of postgrey's options in a clean manner.
cheers,
&rw
-- System Information:
Debian Release: 3.1
APT prefers testing
APT policy: (500, 'testing')
Architecture: sparc (sparc64)
Kernel: Linux 2.4.27-1-sparc64
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Versions of packages postgrey depends on:
ii debconf 1.4.30.11 Debian configuration management sy
ii libberkeleydb-perl 0.26-3 use Berkeley DB 4 databases from P
ii libnet-dns-perl 0.48-1 Perform DNS queries from a Perl sc
ii libnet-server-perl 0.87-2 An extensible, general perl server
ii perl 5.8.4-5 Larry Wall's Practical Extraction
-- debconf information:
postgrey/1.13-5_move-db:
postgrey/1.14-1_lookup-by-subnet:
postgrey/1.13-5_old-config:
Reply sent to Adrian von Bidder <cmot@debian.org>:
You have taken responsibility.
(full text, mbox, link).
Notification sent to Robert Waldner <waldner+bug@waldner.priv.at>:
Bug acknowledged by developer.
(full text, mbox, link).
Message #12 received at 309515-close@bugs.debian.org (full text, mbox, reply):
Source: postgrey
Source-Version: 1.21-2
We believe that the bug you reported is fixed in the latest version of
postgrey, which is due to be installed in the Debian FTP archive:
postgrey_1.21-2.diff.gz
to pool/main/p/postgrey/postgrey_1.21-2.diff.gz
postgrey_1.21-2.dsc
to pool/main/p/postgrey/postgrey_1.21-2.dsc
postgrey_1.21-2_all.deb
to pool/main/p/postgrey/postgrey_1.21-2_all.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 309515@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Adrian von Bidder <cmot@debian.org> (supplier of updated postgrey package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Sun, 12 Jun 2005 13:42:15 +0200
Source: postgrey
Binary: postgrey
Architecture: source all
Version: 1.21-2
Distribution: unstable
Urgency: low
Maintainer: Adrian von Bidder <cmot@debian.org>
Changed-By: Adrian von Bidder <cmot@debian.org>
Description:
postgrey - greylisting implementation for Postfix
Closes: 265856 308381 309515 313140
Changes:
postgrey (1.21-2) unstable; urgency=low
.
* Debconf translations:
* cz, thanks to Miroslav Kure (closes: #308381)
* ru, thanks to Yuriy Talakan (closes: #313140)
* sarge has postfix 2.1, and Conflicts: wasn't strictly necessary anyway
(closes: #265856)
* allow passing --greylist-text with spaces (closes: #309515)
thanks to Sven Müller for providing an easy solution
Files:
11270262b87381cfb3aeec24be33decb 681 mail optional postgrey_1.21-2.dsc
714083753ad5918735dde641d696d546 13958 mail optional postgrey_1.21-2.diff.gz
5b63ec7546b6bca19923a62c404fc76d 43002 mail optional postgrey_1.21-2_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: get my key from http://fortytwo.ch/gpg/92082481
iEYEARECAAYFAkKsIGUACgkQi6Qxi+Wn99aDxQCgo1r0FXJdsutrcww8aQfVOhVe
nygAoJuWvoU7C2lwUplUor7LHYyBcAa3
=PSF2
-----END PGP SIGNATURE-----
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Tue Jul 16 08:16:39 2024;
Machine Name:
bembo
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.