[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [RFR] templates://mysqmail/{mysqmail.templates}



Thomas Goirand wrote:
>>> + Please enter the name of the database where MySQmail will store data
>>> + from POP3, SMTP and FTP servers as well as POP3 authentication credentials.
>> 
>> If I'm installing mysqmail-postfix I don't want it to start asking
>> me questions about data from POP3 and FTP servers.
>
> The fact is that there's one central mysqmail package that holds the
> configuration file /etc/mysqmail.conf and that all the small daemons are
> using that config file. So it makes sense that the template is telling
> about all of them.

But for somebody who only knows or cares about (for instance) the
Courier-IMAP logger this is an alarming claim - I don't want it to
store any of these sorts of data, and especially not passwords!
Fortunately it's untrue - it won't do that unless I install the rest
of the suite.
 
>>> -Description: Use MySQL accouting and auth for most used MTA
>>> +Description: mail and FTP accounting and authentication in MySQL
[...]
> Description: real time traffic-logging system in MySQL

Okay.  Wait, is the modifier form "real time" or "real-time" or
"realtime"?  Here we go again... I'll back the hyphenated compromise
candidate.   (Thinks: why do they call them real-time strategy
wargames when they don't need real-time scheduling privileges and
only take a few minutes to run?)

>> That's the packagename; the "brand name" is Pure-FTPd.  Wouldn't a
>> dependency on "pure-ftpd | pure-ftpd-mysql" be satisfied by
>> pure-ftpd-postgresql?  I suppose you could make that work, though,
>> so it's not actually a bug.
> 
> Are you saying it shall be changed by "pure-ftpd | pure-ftpd-mysql |
> pure-ftpd-postgresql"? To me, best would be to just use "pure-ftpd" as
> there are some Replaces: and Provides:. Maybe the control file of
> pure-ftpd itself changed, because I remember I quite needed to have this |.
> 
> Feel free to incorporate that change and use just pure-ftpd instead.

No, I was saying that I could install mysqmail-pureftpd and let it
pull in pure-ftpd-postgresql (which provides pure-ftpd, satisfying
"pure-ftpd | pure-ftpd-mysql").  That would be a bizarre setup, but
I don't think you need to do anything to stop people doing it.
 
>> (A last-minute thought: if the formula was
>>    Description: logging system in MySQL - Dovecot traffic-logger
>> that would make it easier in future to introduce a
>>    Description: logging system in MySQL - Qmail auth and traffic logger
>> Worth doing?)
> 
> Shall I insist in the realtime feature? :)

Let's see:

 Description: real-time logging system in MySQL - Dovecot traffic-logger

That still fits easily within an 80-column display, but this:

 Description: real-time logging system in MySQL - Qmail authentication and traffic logger

would probably need to be trimmed to just:

 Description: real-time logging system in MySQL - Qmail logger

Revised patch attached.
-- 
JBR	with qualifications in linguistics, experience as a Debian
	sysadmin, and probably no clue about this particular package
--- ../mysqmail-0.4.7.pristine/debian/mysqmail.templates	2009-09-09 20:26:01.000000000 +0100
+++ debian/mysqmail.templates	2009-09-14 16:12:32.000000000 +0100
@@ -1,30 +1,33 @@
 Template: mysqmail/conf_mysqlautoconfig
 Type: boolean
 Default: true
-_Description: Reuse MySQL auth information from DTC?
- MySQMail can reuse the login and password that DTC will use. This way, you
- will not have to enter any login and passord to configure MySQMail.
+_Description: Reuse MySQL authentication information from DTC?
+ MySQMail can use the same MySQL credentials as DTC.
+ .
+ If you choose this option, you will not be prompted for a login
+ and password to configure MySQMail.
 
 Template: mysqmail/conf_mysqlhost
 Type: string
 Default: localhost
 _Description: MySQL hostname:
- Please enter the hostname or IP address of the MySQL server.
+ Please enter the hostname or IP address of the MySQL server for MySQMail.
 
 Template: mysqmail/conf_mysqllogin
 Type: string
 Default: root
-_Description: MySQL Login:
- Enter your MySQL login. MySQMail needs it to access to your MySQL table.
+_Description: MySQL login:
+ Please enter the MySQL login needed to create (and later, access) the MySQMail
+ database.
 
 Template: mysqmail/conf_mysqlpass
 Type: password
-_Description: MySQL Password:
- Enter your MySQL password.
+_Description: MySQL password:
+ Please enter the MySQL password needed to create (and later, access) the MySQMail
+ database.
 
 Template: mysqmail/conf_mysqldb
 Type: string
 Default: dtc
 _Description: MySQL database name:
- MySQmail will use it to save trafic for pop3, smtp ftp, and pop3 login
- auth.
+ Please enter the name of the database where MySQMail will store its data.
--- ../mysqmail-0.4.7.pristine/debian/control	2009-09-09 20:26:01.000000000 +0100
+++ debian/control	2009-09-14 16:19:24.000000000 +0100
@@ -12,54 +12,54 @@
 Package: mysqmail
 Architecture: all
 Depends: ${misc:Depends}, debconf, libdotconf1.0, ${shlibs:Depends}
-Description: Use MySQL accouting and auth for most used MTA
- MySQMail is a set of tiny daemon loggers for Qmail, Postfix,
- Pure-ftpd and Courier that will save trafic informations in database.
- It's also a replacement for the qmail standard checkpasswd that
- does the auth via a MySQL table. When done, it setups 2 more
- environment variables: MYSQMAIL_USERNAME MYSQMAIL_DOMAINNAME
- that the mysqmail's qmail-pop3d replacement will use to do
- the traffic accounting in the MySQL table for this account.
- This package holds the configuration file management for
- the other packages which share the same /etc/mysqmail.conf:
- mysqmail-qmail-logger mysqmail-qmail-pop3d
- mysqmail-postfix-logger and mysqmail-courier-logger
+Description: real-time logging system in MySQL
+ MySQMail is a set of tiny daemon loggers for mail and FTP servers that
+ save traffic information in a MySQL database. The information is split
+ by domain and by user so that it's easy to measure all the traffic for
+ a given domain name in real time.
+ .
+ This package provides the configuration infrastructure.
 
 Package: mysqmail-pure-ftpd-logger
 Architecture: any
 Depends: ${misc:Depends}, libdotconf1.0, lsb-base, pure-ftpd | pure-ftpd-mysql, mysqmail, ${shlibs:Depends}
-Description: A MySQL traffic logger for the pure-ftpd transfer.log
- This is a (very small) daemon will log all pure-ftpd traffic
- to SQL, splitting the information by domains and
- users so it's then very easy to count all the ftp traffic for
+Description: real-time logging system in MySQL - Pure-FTPd traffic-logger
+ MySQMail is a set of tiny daemon loggers for mail and FTP servers that
+ save traffic information in a MySQL database. The information is split
+ by domain and by user so that it's easy to measure all the traffic for
  a given domain name in real time.
+ .
+ This package provides a logger for FTP traffic handled by Pure-FTPd.
 
 Package: mysqmail-postfix-logger
 Architecture: any
 Depends: ${misc:Depends}, libdotconf1.0, lsb-base, postfix, mysqmail, ${shlibs:Depends}
-Description: A MySQL traffic logger for the Postfix SMTP
- This is a (very small) daemon will log all SMTP traffic
- to SQL, splitting the information by domains and
- users for the from and to field, so it's then very
- easy to count all the SMTP traffic for a given
- domain name. This package is the postfix version.
+Description: real-time logging system in MySQL - Postfix traffic-logger
+ MySQMail is a set of tiny daemon loggers for mail and FTP servers that
+ save traffic information in a MySQL database. The information is split
+ by domain and by user so that it's easy to measure all the traffic for
+ a given domain name in real time.
+ .
+ This package provides a logger for SMTP traffic handled by Postfix.
 
 Package: mysqmail-courier-logger
 Architecture: any
 Depends: ${misc:Depends}, courier-imap-ssl | courier-imap | courier-pop | courier-pop-ssl, libdotconf1.0, lsb-base, mysqmail, ${shlibs:Depends}
-Description: MySQL accouting for courier-imap and courier-pop
- This is a (ver small) traffic logger for the C courier-imap,
- courier-imaps, courier-pop and courier-pops daemons to SQL,
- splitting the information by domains and users, so it's then very
- easy to count all the pop and imap traffic for a given
- domain name.
+Description: real-time logging system in MySQL - Courier traffic-logger
+ MySQMail is a set of tiny daemon loggers for mail and FTP servers that
+ save traffic information in a MySQL database. The information is split
+ by domain and by user so that it's easy to measure all the traffic for
+ a given domain name in real time.
+ .
+ This package provides a logger for POP/IMAP traffic handled by Courier.
 
 Package: mysqmail-dovecot-logger
 Architecture: any
 Depends: ${misc:Depends}, dovecot-pop3d, dovecot-imapd, libdotconf1.0, lsb-base, mysqmail, ${shlibs:Depends}
-Description: MySQL accouting for dovecot-pop3d and dovecot-imapd
- This is a (ver small) traffic logger for the C courier-imap,
- courier-imaps, courier-pop and courier-pops daemons to SQL,
- splitting the information by domains and users, so it's then very
- easy to count all the pop and imap traffic for a given
- domain name.
+Description: real-time logging system in MySQL - Dovecot traffic-logger
+ MySQMail is a set of tiny daemon loggers for mail and FTP servers that
+ save traffic information in a MySQL database. The information is split
+ by domain and by user so that it's easy to measure all the traffic for
+ a given domain name in real time.
+ .
+ This package provides a logger for POP/IMAP traffic handled by Dovecot.
Source: mysqmail
Section: mail
Priority: extra
Maintainer: Thomas Goirand <thomas@goirand.fr>
Build-Depends: debhelper (>= 5), po-debconf, libdotconf-dev, libmysqlclient-dev | libmysqlclient15-dev
Standards-Version: 3.8.2
Dm-Upload-Allowed: yes
Vcs-Browser: http://git.gplhost.com/gitweb/?p=mysqmail.git
Vcs-Git: http://git.gplhost.com/mysqmail.git
Homepage: http://www.gplhost.com/software-mysqmail.html

Package: mysqmail
Architecture: all
Depends: ${misc:Depends}, debconf, libdotconf1.0, ${shlibs:Depends}
Description: real-time logging system in MySQL
 MySQMail is a set of tiny daemon loggers for mail and FTP servers that
 save traffic information in a MySQL database. The information is split
 by domain and by user so that it's easy to measure all the traffic for
 a given domain name in real time.
 .
 This package provides the configuration infrastructure.

Package: mysqmail-pure-ftpd-logger
Architecture: any
Depends: ${misc:Depends}, libdotconf1.0, lsb-base, pure-ftpd | pure-ftpd-mysql, mysqmail, ${shlibs:Depends}
Description: real-time logging system in MySQL - Pure-FTPd traffic-logger
 MySQMail is a set of tiny daemon loggers for mail and FTP servers that
 save traffic information in a MySQL database. The information is split
 by domain and by user so that it's easy to measure all the traffic for
 a given domain name in real time.
 .
 This package provides a logger for FTP traffic handled by Pure-FTPd.

Package: mysqmail-postfix-logger
Architecture: any
Depends: ${misc:Depends}, libdotconf1.0, lsb-base, postfix, mysqmail, ${shlibs:Depends}
Description: real-time logging system in MySQL - Postfix traffic-logger
 MySQMail is a set of tiny daemon loggers for mail and FTP servers that
 save traffic information in a MySQL database. The information is split
 by domain and by user so that it's easy to measure all the traffic for
 a given domain name in real time.
 .
 This package provides a logger for SMTP traffic handled by Postfix.

Package: mysqmail-courier-logger
Architecture: any
Depends: ${misc:Depends}, courier-imap-ssl | courier-imap | courier-pop | courier-pop-ssl, libdotconf1.0, lsb-base, mysqmail, ${shlibs:Depends}
Description: real-time logging system in MySQL - Courier traffic-logger
 MySQMail is a set of tiny daemon loggers for mail and FTP servers that
 save traffic information in a MySQL database. The information is split
 by domain and by user so that it's easy to measure all the traffic for
 a given domain name in real time.
 .
 This package provides a logger for POP/IMAP traffic handled by Courier.

Package: mysqmail-dovecot-logger
Architecture: any
Depends: ${misc:Depends}, dovecot-pop3d, dovecot-imapd, libdotconf1.0, lsb-base, mysqmail, ${shlibs:Depends}
Description: real-time logging system in MySQL - Dovecot traffic-logger
 MySQMail is a set of tiny daemon loggers for mail and FTP servers that
 save traffic information in a MySQL database. The information is split
 by domain and by user so that it's easy to measure all the traffic for
 a given domain name in real time.
 .
 This package provides a logger for POP/IMAP traffic handled by Dovecot.

Reply to: