On Wed, Jul 07, 2004 at 02:57:55AM +1200, Sidney Markowitz wrote:
> Everything I've thought of about how to get a conditional in the test 
> seems kludgy to me.

I was thinking that right now "spamc -V" will return:

SpamAssassin Client version 3.0.0-pre1-r21475

for both SSL and non-SSL versions, and that perhaps we should make it:

SpamAssassin Client version 3.0.0-pre1-r21475 (SSL)

or something instead of the only way of telling being the addition of
the -S option.  Unfortunately, something like "spamc -V -S" doesn't
generate an error w/no SSL, so ...

So for right now, you could run "spamc -h" and look for the -S option,
but that's really klugy.  The arguably not-klugy version is to add SSL
info to the -V output, then just look for that in the test.

There'll have to be a metadata store somewhere that says SSL is enabled,
so we may as well just use the binary for that purpose IMO.

-- 
Randomly Generated Tagline:
Anything simple is stated in the most complicated manner.

Attachment: pgpJM4qp662ZK.pgp
Description: PGP signature

Reply via email to