syntax of different dbtypes

From: Andreas Schulze <sca_at_andreasschulze.de>
Date: Sat, 18 Jun 2011 12:32:58 +0200

Hello,

today I trapped one again into the implicit declaration of database types.

the following syntax is equivalent
 - opendkim-atps example.com
 - opendkim-atps csl:example.com
 - echo 'example.com' > flatfile; opendkim-atpszone file:flatfile
BUT NOT
 - opendkim-atpszone flatfile

It don't use the 'content' of ./flatfile but meens implicit "csl:flatfile"

This behavier is consitent over all programs. It is documented in the opendkim
DATABASE Section. But I think, it's possibility for *many people* the make
the *same* mistake again and again.

Therefore I suggest to REQUIRE a databasetype for all commandline-paramaters
and configfiles.

Maybe there could be a option to configure (--enable_requiredbtype)
where one can select:
- strong and clear
- weak, compatible with possible missinterpretation and pitfalls

Andreas

-- 
########################################################################
#
# Andreas Schulze
# https://andreasschulze.de
# 
# GnuPG Key-ID: A7DBA67F, https://andreasschulze.de/sca.asc
# GnuPG Fingerprint: 14C1 39A8 CE6D 6BE0 28C6 5652 03B5 6793 A7DB A67F
#
# $Id: .signature,v 1.3 2007-12-27 21:13:36 sca Exp $
########################################################################
Received on Sat Jun 18 2011 - 10:33:21 PST

This archive was generated by hypermail 2.3.0 : Mon Oct 29 2012 - 23:33:10 PST