[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
system/3720: spamd command line parsing problem
- To: gnats@openbsd.org
- Subject: system/3720: spamd command line parsing problem
- From: Nikolay Sturm <sturm@sec-tud.de>
- Date: Thu, 18 Mar 2004 20:33:03 +0100
- Resent-Date: Thu, 18 Mar 2004 12:40:03 -0700 (MST)
- Resent-From: gnats@cvs.openbsd.org (GNATS Filer)
- Resent-Message-Id: <200403181940.i2IJe3ru017445@cvs.openbsd.org>
- Resent-Reply-To: gnats@cvs.openbsd.org, sturm@sec-tud.de
- Resent-To: bugs@cvs.openbsd.org
>Number: 3720
>Category: system
>Synopsis: it seems impossible to specify a version banner containing spaces with -n in rc.conf
>Confidential: yes
>Severity: non-critical
>Priority: medium
>Responsible: bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Mar 18 19:40:01 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: Nikolay Sturm
>Release: -current
>Organization:
net
>Environment:
System : OpenBSD 3.5
Architecture: OpenBSD.i386
Machine : i386
>Description:
Specifying an SMTP version banner containing spaces in rc.conf, like "-n foo bar"
breaks options parsing in spamd for all versions of quoting that I could think
of, i.e. "-n 'foo bar'", "-n \"foo bar\""... The bad thing is, that "-g" is added
as last command line option, thus in this case spamd will *not* do greylisting.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
>how-to-repeat:
in /etc/rc.conf set
spamd_flags="-n 'foo bar'"
spamd_grey=YES
kill spamd and (restart machine or run /etc/rc)