Blame SOURCES/quota-4.01-Add-warnquota.conf-5-manual-page.patch

dba0f0
From 91db972ea2f4065974811655847be4d52b7caee9 Mon Sep 17 00:00:00 2001
dba0f0
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
dba0f0
Date: Thu, 17 Oct 2013 17:01:07 +0200
dba0f0
Subject: [PATCH 3/4] Add warnquota.conf(5) manual page
dba0f0
MIME-Version: 1.0
dba0f0
Content-Type: text/plain; charset=UTF-8
dba0f0
Content-Transfer-Encoding: 8bit
dba0f0
dba0f0
Signed-off-by: Petr Písař <ppisar@redhat.com>
dba0f0
---
dba0f0
 warnquota.8      |   5 +-
dba0f0
 warnquota.conf.5 | 184 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
dba0f0
 2 files changed, 188 insertions(+), 1 deletion(-)
dba0f0
 create mode 100644 warnquota.conf.5
dba0f0
dba0f0
diff --git a/warnquota.8 b/warnquota.8
dba0f0
index b998f19..e675f4a 100644
dba0f0
--- a/warnquota.8
dba0f0
+++ b/warnquota.8
dba0f0
@@ -53,7 +53,9 @@ Use
dba0f0
 .I configfile
dba0f0
 instead of
dba0f0
 .I /etc/warnquota.conf
dba0f0
-as configuration file (see example file for syntax).
dba0f0
+as configuration file (see
dba0f0
+.BR warnquota.conf (5)
dba0f0
+for syntax).
dba0f0
 .TP
dba0f0
 .B -a, --admins-file=\f2adminsfile\f1
dba0f0
 Use
dba0f0
@@ -108,6 +110,7 @@ default set of users
dba0f0
 .BR quota (1),
dba0f0
 .BR quotatab (5),
dba0f0
 .BR quotagrpadmins (5),
dba0f0
+.BR warnquota.conf (5),
dba0f0
 .BR cron (8),
dba0f0
 .BR edquota (8).
dba0f0
 .SH AUTHORS
dba0f0
diff --git a/warnquota.conf.5 b/warnquota.conf.5
dba0f0
new file mode 100644
dba0f0
index 0000000..56e1439
dba0f0
--- /dev/null
dba0f0
+++ b/warnquota.conf.5
dba0f0
@@ -0,0 +1,184 @@
dba0f0
+.TH WARNQUOTA.CONF 5
dba0f0
+.SH NAME
dba0f0
+warnquota.conf \- configuration for warnquota
dba0f0
+.SH SYNOPSIS
dba0f0
+.B /etc/warnquota.conf
dba0f0
+.SH DESCRIPTION
dba0f0
+The
dba0f0
+.B warnquota.conf
dba0f0
+file stores a configuration for
dba0f0
+.BR warnquota (8)
dba0f0
+tool which is used to notify an user or a group who exceeds its disk quota
dba0f0
+limits.
dba0f0
+.P
dba0f0
+The syntax is an option name followed by a equal sign and the option value.
dba0f0
+White space characters surrounding the option names and values are allowed.
dba0f0
+.P
dba0f0
+Empty lines or lines starting with a hash sign or a semicolon are ignored.
dba0f0
+.P
dba0f0
+An option value can but does not have to be quoted. The value can span
dba0f0
+across multiple lines provided each previous line ends with a backslash.
dba0f0
+.P
dba0f0
+Some option values can contain formatting sequences which will be expanded to
dba0f0
+their respective values. Following sequences are recognizes:
dba0f0
+.P
dba0f0
+.PD 0
dba0f0
+.TP 20
dba0f0
+.B %d
dba0f0
+domain name
dba0f0
+.TP
dba0f0
+.B %h
dba0f0
+host name
dba0f0
+.TP
dba0f0
+.BR "%i" ", " "%s"
dba0f0
+user or group name
dba0f0
+.TP
dba0f0
+.B %%
dba0f0
+literal % character
dba0f0
+.TP
dba0f0
+.B |
dba0f0
+new-line character
dba0f0
+.PD
dba0f0
+.SH OPTIONS
dba0f0
+.PD 0
dba0f0
+.TP 20
dba0f0
+.B CC_BEFORE
dba0f0
+Send to copy-carbon address only when an user has less than specified grace time
dba0f0
+left. Value is a number followed by a time unit. Known units are
dba0f0
+.IR seconds ,
dba0f0
+.IR minutes ,
dba0f0
+.IR hours ", and"
dba0f0
+.IR days .
dba0f0
+Example:
dba0f0
+.I 5 days
dba0f0
+.TP
dba0f0
+.B CC_TO
dba0f0
+An e-mail address to put into copy-carbon (CC:) recipient header. Default
dba0f0
+value is
dba0f0
+.IR root .
dba0f0
+.TP
dba0f0
+.B CHARSET
dba0f0
+Defines character set for sent e-mails. Default value will be current locale
dba0f0
+character set used when executing warnquota command, if locale is not either
dba0f0
+.I C
dba0f0
+or
dba0f0
+.IR POSIX .
dba0f0
+Otherwise none character set will be specified in the e-mails.
dba0f0
+.TP
dba0f0
+.B FROM
dba0f0
+Defines From: e-email address. Default value is
dba0f0
+.IR "support@localhost" .
dba0f0
+.TP
dba0f0
+.B GROUP_MESSAGE
dba0f0
+A text sent as an e-mail body if a group exceeds its limits. This option
dba0f0
+recognizes formatting sequences.
dba0f0
+.TP
dba0f0
+.B GROUP_SIGNATURE
dba0f0
+A signature text appended to notification for a group. Default value is
dba0f0
+a general explanation utilizing
dba0f0
+.B SUPPORT
dba0f0
+and
dba0f0
+.B PHONE
dba0f0
+values. This option recognizes formatting sequences.
dba0f0
+.TP
dba0f0
+.B LDAP_BASEDN
dba0f0
+Base distinguished name for LDAP queries.
dba0f0
+.TP
dba0f0
+.B LDAP_BINDDN
dba0f0
+Bind distinguished name for LDAP queries.
dba0f0
+.TP
dba0f0
+.B LDAP_BINDPW
dba0f0
+Bind password for LDAP queries.
dba0f0
+.TP
dba0f0
+.B LDAP_DEFAULT_MAIL_DOMAIN
dba0f0
+Default e-mail address domain of searched user if given LDAP attribute does
dba0f0
+not specify any.
dba0f0
+.TP
dba0f0
+.B LDAP_HOST
dba0f0
+LDAP server name to connect to if
dba0f0
+.B LDAP_URI
dba0f0
+is not defined.
dba0f0
+.TP
dba0f0
+.B LDAP_MAIL
dba0f0
+A boolean controlling if LDAP has to be used to look up an user's e-mail
dba0f0
+address. Possible values are
dba0f0
+.I true
dba0f0
+and
dba0f0
+.IR false .
dba0f0
+Default value is
dba0f0
+.IR false .
dba0f0
+.TP
dba0f0
+.B LDAP_MAIL_ATTRIBUTE
dba0f0
+The LDAP attribute which holds user's e-mail address.
dba0f0
+.TP
dba0f0
+.B LDAP_PORT
dba0f0
+LDAP server port number to connect to if
dba0f0
+.B LDAP_URI
dba0f0
+is not defined.
dba0f0
+.TP
dba0f0
+.B LDAP_SEARCH_ATTRIBUTE
dba0f0
+The LDAP attribute which holds user's ID to look up.
dba0f0
+.TP
dba0f0
+.B LDAP_URI
dba0f0
+The URL of LDAP server to use to search user's e-mail addresses. This option
dba0f0
+takes preference over
dba0f0
+.B LDAP_HOST
dba0f0
+and
dba0f0
+.BR LDAP_PORT .
dba0f0
+Example:
dba0f0
+.I ldaps://example.com:389/
dba0f0
+.TP
dba0f0
+.B MESSAGE
dba0f0
+A beginning of text sent as an e-mail body if a user exceeds his limits. This
dba0f0
+option recognizes formatting sequences.
dba0f0
+.TP
dba0f0
+.B MAIL_CMD
dba0f0
+The command to execute to send an e-mail. The e-mail text including all
dba0f0
+headers is passed to the standard input of the command. Default value is
dba0f0
+.IR "/usr/lib/sendmail -t" .
dba0f0
+.TP
dba0f0
+.B MAILDEV
dba0f0
+The device with disk quotas to exclude from sending notifications if there are
dba0f0
+exceeded limits. This option should identify the device where mail boxes are
dba0f0
+stored to prevent from bouncing the warnquota notification by local MDA due to
dba0f0
+no space for storing new e-mails. Special value
dba0f0
+.I any
dba0f0
+denotes all devices.
dba0f0
+.TP
dba0f0
+.B PHONE
dba0f0
+The telephone contact to the user support. Default value is
dba0f0
+.IR "(xxx) xxx-xxxx or (yyy) yyy-yyyy" .
dba0f0
+.TP
dba0f0
+.B SIGNATURE
dba0f0
+The end of e-mail body if a user exceeds its limits. Default value is
dba0f0
+a general explanation utilizing
dba0f0
+.B SUPPORT
dba0f0
+and
dba0f0
+.B PHONE
dba0f0
+values. This option recognizes formatting sequences.
dba0f0
+.TP
dba0f0
+.B SUBJECT
dba0f0
+The text to put into Subject: header. Default value is
dba0f0
+.IR "Disk Quota usage on system" .
dba0f0
+.TP
dba0f0
+.B SUPPORT
dba0f0
+The contact to the user support. Default value is
dba0f0
+.IR "support@localhost" .
dba0f0
+.SH EXAMPLE
dba0f0
+.PP
dba0f0
+# comment
dba0f0
+.RS 0
dba0f0
+FROM = root@example.com
dba0f0
+.RS 0
dba0f0
+SUPPORT = support@example.com
dba0f0
+.RS 0
dba0f0
+PHONE = 1234
dba0f0
+.SH FILES
dba0f0
+.PD 0 
dba0f0
+.TP 20 
dba0f0
+.B /etc/warnquota.conf
dba0f0
+configuration for
dba0f0
+.BR warnquota (8)
dba0f0
+.PD 
dba0f0
+.SH SEE ALSO
dba0f0
+.BR warnquota (8).
dba0f0
-- 
dba0f0
1.8.3.1
dba0f0