1 # this is an example warnquota.conf
3 ; ; and # type comments are allowed
6 # values can be quoted:
7 MAIL_CMD = "/usr/my/sendmail/instead/sendmail -t"
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,
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
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|
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
44 #Here you can set a charset for emails sent by warnquota (e.g. UTF-8)
46 # If you are using LDAP mail lookups.
47 # host, port, tls, binddn, and bindpw are straight forward.
48 # LDAP_BASEDN is your search base dn
49 # LDAP_SEARCH_ATTRIBUTE is the attr for the value you are looking for
50 # LDAP_MAIL_ATTRIBUTE is the attribute you want used for the mail address
51 # LDAP_DEFAULT_MAIL_DOMAIN is the default domain
52 # if the attribute isn't found
53 # if binddn and bindpw are blank or left out, an anonymous bind is used
55 # LDAP_MAIL = false # or false if you don't want to use it
56 # If you have at least LDAP 2.3 installed, you can use LDAP_URI
57 # LDAP_URI = ldaps://my.server:389
58 # Otherwise you can specify LDAP_HOST and LDAP_PORT
61 # LDAP_BINDDN = uid=ReadOnlyUser,o=YourOrg
62 # LDAP_BINDPW = YourReadOnlyUserPassword
63 # LDAP_BASEDN = YourSearchBase
64 # LDAP_SEARCH_ATTRIBUTE = uid
65 # LDAP_MAIL_ATTRIBUTE = mailLocalAddress
66 # LDAP_DEFAULT_MAIL_DOMAIN = YourDefaultMailDomain.com
68 # end of example warnquota.conf file