Show
Ignore:
Timestamp:
11/19/03 00:43:12 (20 years ago)
Author:
jalet
Message:

Mailto can be any external command now, as usual.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/conf/pykota.conf.sample

    r1188 r1192  
    185185# 
    186186# Who should we send an email to in case a quota is reached ? 
    187 # possible values are : DevNull, User, Admin, Both 
     187# possible values are : DevNull, User, Admin, Both, External(some command) 
    188188# The Both value means that the User and the Admin will receive  
    189189# an email message. 
     
    192192# If both are defined, the printer option has priority. 
    193193# If the value is not set, then the default BOTH applies. 
     194# 
     195#   For mailto: external(/usr/bin/mycommand) 
     196# 
     197#   You can use : 
     198# 
     199#       '%(action)s'            will contain either WARN or DENY 
     200#       '%(username)s'          will contain the user's name 
     201#       '%(printername)s'       will contain the printer's name 
     202#       '%(email)s'             will contain the user's email address 
     203#       '%(message)s'           will contain the message if you want  
     204#                               use it. 
     205# 
     206#   On your command line, to pass arguments to your command. 
     207#   Example : 
     208# 
     209#       mailto: external(/usr/bin/callpager %(username)s "Quota problem on %(printername)s") 
     210# 
    194211mailto: both 
    195212