summaryrefslogtreecommitdiff
path: root/quota/warnquota.conf
blob: b7030231085fbe3cd5202d01e3906332f5b972f2 (plain)
    1 # /etc/warnquota.conf
    2 #
    3 ; ; and # type comments are allowed
    4 # and even blank lines
    5 
    6 # values can be quoted:
    7 MAIL_CMD 	= "/usr/sbin/sendmail -t"
    8 FROM 		= "bas@localhost"
    9 # but they don't have to be:
   10 SUBJECT 	= Hey, user, clean up your account!
   11 CC_TO 		= "sysadm@localhost"
   12 # If you set this variable CC will be used only when user has less than
   13 # specified grace time left (examples of possible times: 5 seconds, 1 minute,
   14 # 12 hours, 5 days)
   15 # CC_BEFORE = 2 days
   16 SUPPORT 	= "support@myhost.com"
   17 PHONE 		= "(123) 456-1111 or (222) 333-4444"
   18 # Text in the beginning of the mail (if not specified, default text is used)
   19 # This way text can be split to more lines
   20 # Line breaks are done by '|' character
   21 # The expressions %i, %h, %d, and %% are substituted for user/group name,
   22 # host name, domain name, and '%' respectively. For backward compatibility
   23 # %s behaves as %i but is deprecated.
   24 MESSAGE         = Hello user %i, I've noticed you use too much space\
   25  on my disk in %h.%d.|Delete your files on the following filesystems:|
   26 # Text in the end of the mail (if not specified, default text using SUPPORT and PHONE
   27 # is created)
   28 SIGNATURE	= See you!|			Your admin of %h|
   29 # Following text is used for mails about group exceeding quotas
   30 GROUP_MESSAGE	= Hello, a group '%i' you're member of use too much space at %h.|\
   31 I chose you to do the cleanup.|Delete group files on the following filesystems:|
   32 # Text in the end of the mail to the group (if not specified, default text using SUPPORT
   33 # and PHONE is created).
   34 GROUP_SIGNATURE	= See you!|			Your admin|
   35 #
   36 #If you are running warnquota on a mail server, and don't want bounces
   37 #because clients cannot receive mail setting this to "any" will cause
   38 #warnquota to not send them mail for all devices.  If you set this to the
   39 #device name (for example /dev/hdb1) then they will not be sent mail if they
   40 #are overquota on that device only, and will be sent mail for all other
   41 #devices.
   42 #MAILDEV        =
   43 #
   44 # If you are using LDAP mail lookups.
   45 # host, port, tls, binddn, and bindpw are straight forward.
   46 # LDAP_BASEDN is your search base dn
   47 # LDAP_SEARCH_ATTRIBUTE is the attr for the value you are looking for
   48 # LDAP_MAIL_ATTRIBUTE is the attribute you want used for the mail address
   49 # LDAP_DEFAULT_MAIL_DOMAIN is the default domain
   50 #    if the attribute isn't found
   51 # if binddn and bindpw are blank or left out, an anonymous bind is used
   52 # 
   53 # LDAP_MAIL = false # or false if you don't want to use it
   54 # If you have at least LDAP 2.3 installed, you can use LDAP_URI
   55 # LDAP_URI = ldaps://my.server:389
   56 # Otherwise you can specify LDAP_HOST and LDAP_PORT
   57 # LDAP_HOST = ldap
   58 # LDAP_PORT = 389
   59 # LDAP_BINDDN = uid=ReadOnlyUser,o=YourOrg
   60 # LDAP_BINDPW = YourReadOnlyUserPassword
   61 # LDAP_BASEDN = YourSearchBase
   62 # LDAP_SEARCH_ATTRIBUTE = uid
   63 # LDAP_MAIL_ATTRIBUTE = mailLocalAddress
   64 # LDAP_DEFAULT_MAIL_DOMAIN = YourDefaultMailDomain.com
   65 #
   66 # end of example warnquota.conf file
   67 #

Generated by cgit