# PyKota sample configuration file # # Copy this file in cups' configuration directory # usually /etc/cups under the name pykota.conf # # PyKota - Print Quotas for CUPS # # (c) 2003 Jerome Alet # You're welcome to redistribute this software under the # terms of the GNU General Public Licence version 2.0 # or, at your option, any higher version. # # You can read the complete GNU GPL in the file COPYING # which should come along with this software, or visit # the Free Software Foundation's WEB site http://www.fsf.org # # $Id$ # [global] # Storage backend for quotas # only PostgreSQL is supported # Ldap, MySQL, Berkeley are planned storagebackend: postgresql storageserver: localhost storagename: pykota storageadmin: pykotaadmin storageuser: pykotauser # storageadminpw: NOT YET SUPPORTED # storageuserpw: NOT YET SUPPORTED # Where to log ? # supported values : stderr, system (system means syslog, but don't use 'syslog' here) logger: system # Print Quota administrator admin: Jerome Alet adminmail: alet@librelogiciel.com # # Mail server to use to warn users smtpserver: localhost # # Accounting method # Only LAZY is currently supported, see documentation method: lazy # # Grace delay in days gracedelay: 7 # one section per printer [lp] # # How to query the lp printer for its page counter # Only snmp(community, oid) and external(command) are supported # e.g. : # external(snmpget -c public -Ov %(printer)s 43.10.2.1.4.1.1 | cut -f 2,2 -d " ") # and : # snmp(public, 43.10.2.1.4.1.1) # are equivalent # requester: snmp(public, 43.10.2.1.4.1.1) requester: external(snmpget -c public -Ov %(printer)s 43.10.2.1.4.1.1 | cut -f 2,2 -d " ") # # Default policy for inexistant users (e.g. root) # either allow or deny policy: allow