You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

72 lines
3.0 KiB

  1. # this is an example warnquota.conf
  2. #
  3. ; ; and # type comments are allowed
  4. # and even blank lines
  5. # values can be quoted:
  6. #MAIL_CMD = "/usr/my/sendmail/instead/sendmail -t"
  7. MAIL_CMD = "/bin/echo"
  8. FROM = "bas@example.com"
  9. # but they don't have to be:
  10. SUBJECT = Hey, user, clean up your account!
  11. CC_TO = "sysadm@example.com"
  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@example.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,|\
  31. your group %i is using too much disk space at %h.|\
  32. I suggest you to clean up group files on the following filesystems:|
  33. # Text in the end of the mail to the group (if not specified, default text using SUPPORT
  34. # and PHONE is created).
  35. GROUP_SIGNATURE = See you!| Your admin|
  36. #
  37. #If you are running warnquota on a mail server, and don't want bounces
  38. #because clients cannot receive mail setting this to "any" will cause
  39. #warnquota to not send them mail for all devices. If you set this to the
  40. #device name (for example /dev/hdb1) then they will not be sent mail if they
  41. #are overquota on that device only, and will be sent mail for all other
  42. #devices.
  43. #MAILDEV =
  44. #
  45. #Here you can set a charset for emails sent by warnquota (e.g. UTF-8)
  46. #CHARSET =
  47. # If you are using LDAP mail lookups.
  48. # host, port, tls, binddn, and bindpw are straight forward.
  49. # LDAP_BASEDN is your search base dn
  50. # LDAP_SEARCH_ATTRIBUTE is the attr for the value you are looking for
  51. # LDAP_MAIL_ATTRIBUTE is the attribute you want used for the mail address
  52. # LDAP_DEFAULT_MAIL_DOMAIN is the default domain
  53. # if the attribute isn't found
  54. # if binddn and bindpw are blank or left out, an anonymous bind is used
  55. #
  56. # LDAP_MAIL = false # or true if you want to use it
  57. # If you have at least LDAP 2.3 installed, you should use LDAP_URI
  58. # LDAP_URI = ldaps://my.server:389
  59. # Otherwise you should specify LDAP_HOST and LDAP_PORT
  60. # LDAP_HOST = ldap
  61. # LDAP_PORT = 389
  62. # LDAP_BINDDN = uid=ReadOnlyUser,o=YourOrg
  63. # LDAP_BINDPW = YourReadOnlyUserPassword
  64. # LDAP_BASEDN = YourSearchBase
  65. # LDAP_SEARCH_ATTRIBUTE = uid
  66. # LDAP_MAIL_ATTRIBUTE = mailLocalAddress
  67. # LDAP_DEFAULT_MAIL_DOMAIN = YourDefaultMailDomain.com
  68. #
  69. # end of example warnquota.conf file
  70. #