pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/mail/qtools
Module Name: pkgsrc
Committed By: schmonz
Date: Sat Jul 18 13:31:44 UTC 2020
Modified Files:
pkgsrc/mail/qtools: Makefile PLIST
Added Files:
pkgsrc/mail/qtools/files: 822addr.1 822body.1 822bodyfilter.1
822fields.1 822headerfilter.1 822headerok.1 822headers.1
checkaddr.1 checkdomain.1 condtomaildir.1 filterto.1 ifaddr.1
iftoccfrom.1 replier-config.1 replier.1 tomaildir.1
Removed Files:
pkgsrc/mail/qtools: MESSAGE
Log Message:
Remove outdated MESSAGE. Add local copies of online manpages. Bump PKGREVISION.
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r0 pkgsrc/mail/qtools/MESSAGE
cvs rdiff -u -r1.18 -r1.19 pkgsrc/mail/qtools/Makefile
cvs rdiff -u -r1.1.1.1 -r1.2 pkgsrc/mail/qtools/PLIST
cvs rdiff -u -r0 -r1.1 pkgsrc/mail/qtools/files/822addr.1 \
pkgsrc/mail/qtools/files/822body.1 \
pkgsrc/mail/qtools/files/822bodyfilter.1 \
pkgsrc/mail/qtools/files/822fields.1 \
pkgsrc/mail/qtools/files/822headerfilter.1 \
pkgsrc/mail/qtools/files/822headerok.1 \
pkgsrc/mail/qtools/files/822headers.1 \
pkgsrc/mail/qtools/files/checkaddr.1 \
pkgsrc/mail/qtools/files/checkdomain.1 \
pkgsrc/mail/qtools/files/condtomaildir.1 \
pkgsrc/mail/qtools/files/filterto.1 pkgsrc/mail/qtools/files/ifaddr.1 \
pkgsrc/mail/qtools/files/iftoccfrom.1 \
pkgsrc/mail/qtools/files/replier-config.1 \
pkgsrc/mail/qtools/files/replier.1 pkgsrc/mail/qtools/files/tomaildir.1
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/mail/qtools/Makefile
diff -u pkgsrc/mail/qtools/Makefile:1.18 pkgsrc/mail/qtools/Makefile:1.19
--- pkgsrc/mail/qtools/Makefile:1.18 Thu Jun 25 05:42:37 2020
+++ pkgsrc/mail/qtools/Makefile Sat Jul 18 13:31:44 2020
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.18 2020/06/25 05:42:37 schmonz Exp $
+# $NetBSD: Makefile,v 1.19 2020/07/18 13:31:44 schmonz Exp $
#
DISTNAME= qtools-0.56
+PKGREVISION= 1
CATEGORIES= mail
MASTER_SITES= ${HOMEPAGE}
@@ -17,5 +18,12 @@ DJB_CONFIG_CMDS= ${ECHO} ${LOCALBASE:Q}
SUBST_CLASSES+= djberrno
+INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
+
+post-install:
+ cd ${FILESDIR} && for i in *.1; do \
+ ${INSTALL_MAN} $$i ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/$$i; \
+ done
+
.include "../../mk/djbware.mk"
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/mail/qtools/PLIST
diff -u pkgsrc/mail/qtools/PLIST:1.1.1.1 pkgsrc/mail/qtools/PLIST:1.2
--- pkgsrc/mail/qtools/PLIST:1.1.1.1 Thu Nov 29 19:11:04 2001
+++ pkgsrc/mail/qtools/PLIST Sat Jul 18 13:31:44 2020
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2001/11/29 19:11:04 zuntum Exp $
+@comment $NetBSD: PLIST,v 1.2 2020/07/18 13:31:44 schmonz Exp $
bin/822addr
bin/822body
bin/822bodyfilter
@@ -15,3 +15,19 @@ bin/iftoccfrom
bin/replier
bin/replier-config
bin/tomaildir
+man/man1/822addr.1
+man/man1/822body.1
+man/man1/822bodyfilter.1
+man/man1/822fields.1
+man/man1/822headerfilter.1
+man/man1/822headerok.1
+man/man1/822headers.1
+man/man1/checkaddr.1
+man/man1/checkdomain.1
+man/man1/condtomaildir.1
+man/man1/filterto.1
+man/man1/ifaddr.1
+man/man1/iftoccfrom.1
+man/man1/replier-config.1
+man/man1/replier.1
+man/man1/tomaildir.1
Added files:
Index: pkgsrc/mail/qtools/files/822addr.1
diff -u /dev/null pkgsrc/mail/qtools/files/822addr.1:1.1
--- /dev/null Sat Jul 18 13:31:44 2020
+++ pkgsrc/mail/qtools/files/822addr.1 Sat Jul 18 13:31:44 2020
@@ -0,0 +1,40 @@
+.TH 822addr 1
+.SH NAME
+.PP
+\fB\fC822addr\fR \- extract email addresses from messages
+.SH SYNOPSIS
+.PP
+.RS
+.nf
+822addr _field_ ...
+.fi
+.RE
+.SH DESCRIPTION
+.PP
+The \fB\fC822addr\fR program reads an 822\-format email message from standard input.
+For each input header \fB\fC_field_\fR, \fB\fC822addr\fR parses the value of the header as
+one or more email addresses and prints the result to standard output. If no
+\fB\fC_field_\fR appears, \fB\fC822addr\fR looks for \fB\fC_to_\fR and \fB\fC_cc_\fR\&.
+.PP
+Output records are null terminated. The first character of each output record
+indicates the address type, and the remainder is the value. A delivery address
+begins with a \fB\fC+\fR character, and a comment begins with a \fB\fC(\fR character. When
+paired, a comment precedes an address.
+.PP
+The end of the message or the first line that cannot be part of an 822\-format
+header field terminates the search.
+.SH EXIT STATUS
+.PP
+If it encounters an error while processing a message, \fB\fC822addr\fR exits 111\&. If
+\fB\fC822addr\fR finds any matching headers, it exits 0\&. Otherwise, \fB\fC822addr\fR exits
+100.
+.SH BUGS
+.PP
+No formatting options.
+.SH AUTHOR
+.PP
+William Baxter <sst%superscript.com@localhost>
+.PP
+Version 0.56
+.br
+Last updated 2015\-08\-23 23:24:43 CDT
Index: pkgsrc/mail/qtools/files/822body.1
diff -u /dev/null pkgsrc/mail/qtools/files/822body.1:1.1
--- /dev/null Sat Jul 18 13:31:44 2020
+++ pkgsrc/mail/qtools/files/822body.1 Sat Jul 18 13:31:44 2020
@@ -0,0 +1,30 @@
+.TH 822body 1
+.SH NAME
+.PP
+\fB\fC822body\fR \- extract the body from a message
+.SH SYNOPSIS
+.PP
+.RS
+.nf
+822body
+.fi
+.RE
+.SH DESCRIPTION
+.PP
+The \fB\fC822body\fR program reads an 822\-format email message from standard input
+and prints the body of the message to standard output.
+.PP
+The end of the message or the first line that cannot be part of an 822\-format
+header field terminates the message headers. A nonblank line that terminates
+the headers is part of the message body.
+.SH EXIT STATUS
+.PP
+If it encounters an error processing a message, \fB\fC822body\fR exits 111\&.
+Otherwise, \fB\fC822body\fR exits 0.
+.SH AUTHOR
+.PP
+William Baxter <sst%superscript.com@localhost>
+.PP
+Version 0.56
+.br
+Last updated 2015\-08\-23 23:24:43 CDT
Index: pkgsrc/mail/qtools/files/822bodyfilter.1
diff -u /dev/null pkgsrc/mail/qtools/files/822bodyfilter.1:1.1
--- /dev/null Sat Jul 18 13:31:44 2020
+++ pkgsrc/mail/qtools/files/822bodyfilter.1 Sat Jul 18 13:31:44 2020
@@ -0,0 +1,34 @@
+.TH 822bodyfilter 1
+.SH NAME
+.PP
+\fB\fC822bodyfilter\fR \- filter a message body
+.SH SYNOPSIS
+.PP
+.RS
+.nf
+822bodyfilter _prog_
+.fi
+.RE
+.SH DESCRIPTION
+.PP
+The \fB\fC822bodyfilter\fR program reads an 822\-format email message from standard
+input. It executes \fB\fC_prog_\fR with the body of the message on standard input,
+and prints the message headers followed by the output from \fB\fC_prog_\fR to
+standard output.
+.PP
+The end of the message or the first line that cannot be part of an 822\-format
+header field terminates the message headers. A nonblank line that terminates
+the headers is part of the message body.
+.SH EXIT STATUS
+.PP
+If \fB\fC822bodyfilter\fR encounters a temporary error in executing \fB\fC_prog_\fR, it
+exits 111\&. If \fB\fC822bodyfilter\fR encounters a permanent error in executing
+\fB\fC_prog_\fR, it exits 100\&. Normally, \fB\fC822bodyfilter\fR yields the same exit code
+as \fB\fC_prog_\fR\&. The standard input to \fB\fC822bodyfilter\fR must be seekable.
+.SH AUTHOR
+.PP
+William Baxter <sst%superscript.com@localhost>
+.PP
+Version 0.56
+.br
+Last updated 2015\-08\-23 23:24:43 CDT
Index: pkgsrc/mail/qtools/files/822fields.1
diff -u /dev/null pkgsrc/mail/qtools/files/822fields.1:1.1
--- /dev/null Sat Jul 18 13:31:44 2020
+++ pkgsrc/mail/qtools/files/822fields.1 Sat Jul 18 13:31:44 2020
@@ -0,0 +1,32 @@
+.TH 822fields 1
+.SH NAME
+.PP
+\fB\fC822fields\fR \- extract headers from a message
+.SH SYNOPSIS
+.PP
+.RS
+.nf
+822fields _field_ ...
+.fi
+.RE
+.SH DESCRIPTION
+.PP
+The \fB\fC822fields\fR program reads an 822\-format email message from standard input.
+For each input header \fB\fC_field_\fR, \fB\fC822fields\fR prints one line containing the
+value of the field to standard output. If no \fB\fC_field_\fR appears, \fB\fC822fields\fR
+looks for \fB\fC_subject_\fR\&.
+.PP
+The end of the message or the first line that cannot be part of an 822\-format
+header field terminates the message message body.
+.SH EXIT STATUS
+.PP
+If it encounters an error while processing a message, \fB\fC822fields\fR exits 111.
+If \fB\fC822fields\fR finds any matching headers, it exits 0\&. Otherwise, \fB\fC822fields\fR
+exits 100.
+.SH AUTHOR
+.PP
+William Baxter <sst%superscript.com@localhost>
+.PP
+Version 0.56
+.br
+Last updated 2015\-08\-23 23:24:43 CDT
Index: pkgsrc/mail/qtools/files/822headerfilter.1
diff -u /dev/null pkgsrc/mail/qtools/files/822headerfilter.1:1.1
--- /dev/null Sat Jul 18 13:31:44 2020
+++ pkgsrc/mail/qtools/files/822headerfilter.1 Sat Jul 18 13:31:44 2020
@@ -0,0 +1,31 @@
+.TH 822headerfilter 1
+.SH NAME
+.PP
+\fB\fC822headerfilter\fR \- filter a message header
+.SH SYNOPSIS
+.PP
+.RS
+.nf
+822headerfilter _prog_
+.fi
+.RE
+.SH DESCRIPTION
+.PP
+The \fB\fC822headerfilter\fR program reads an 822\-format email message from standard
+input. It executes \fB\fC_prog_\fR with the header of the message on standard input.
+.PP
+The end of the message or the first line that cannot be part of an 822\-format
+header field terminates the headers.
+.SH EXIT STATUS
+.PP
+If it encounters a permanent error in reading input or executing \fB\fC_prog_\fR,
+\fB\fC822headerfilter\fR exits 100\&. If it encounters a temporary error in reading
+input or executing \fB\fC_prog_\fR, \fB\fC822headerfilter\fR exits 111\&. Otherwise,
+\fB\fC822headerfilter\fR yields the same exit code as \fB\fC_prog_\fR\&.
+.SH AUTHOR
+.PP
+William Baxter <sst%superscript.com@localhost>
+.PP
+Version 0.56
+.br
+Last updated 2015\-08\-23 23:24:43 CDT
Index: pkgsrc/mail/qtools/files/822headerok.1
diff -u /dev/null pkgsrc/mail/qtools/files/822headerok.1:1.1
--- /dev/null Sat Jul 18 13:31:44 2020
+++ pkgsrc/mail/qtools/files/822headerok.1 Sat Jul 18 13:31:44 2020
@@ -0,0 +1,32 @@
+.TH 822headerok 1
+.SH NAME
+.PP
+\fB\fC822headerok\fR \- FIXME
+.SH SYNOPSIS
+.PP
+.RS
+.nf
+822headerok
+.fi
+.RE
+.SH DESCRIPTION
+.PP
+The \fB\fC822headerok\fR program reads an 822\-format email message from standard
+input. In any case, \fB\fC822headerok\fR writes no output.
+.PP
+The end of the message or a blank line terminate the headers.
+.PP
+Note that the UUCP\-style \fB\fCFrom_\fR line placed before a message in an mbox file
+is not part of the message.
+.SH EXIT STATUS
+.PP
+If it encounters a read error, \fB\fC822headerok\fR exits 111\&. If it sees a nonblank
+line that cannot be part of an 822\-format header field, \fB\fC822headerok\fR exits
+100\&. Otherwise it exits 0.
+.SH AUTHOR
+.PP
+William Baxter <sst%superscript.com@localhost>
+.PP
+Version 0.56
+.br
+Last updated 2015\-08\-23 23:24:43 CDT
Index: pkgsrc/mail/qtools/files/822headers.1
diff -u /dev/null pkgsrc/mail/qtools/files/822headers.1:1.1
--- /dev/null Sat Jul 18 13:31:44 2020
+++ pkgsrc/mail/qtools/files/822headers.1 Sat Jul 18 13:31:44 2020
@@ -0,0 +1,32 @@
+.TH 822headers 1
+.SH NAME
+.PP
+\fB\fC822headers\fR \- FIXME
+.SH SYNOPSIS
+.PP
+.RS
+.nf
+822headers _field_ ...
+.fi
+.RE
+.SH DESCRIPTION
+.PP
+The \fB\fC822headers\fR program reads an 822\-format email message from standard
+input. For each input header \fB\fC_field_\fR, \fB\fC822headers\fR prints a full copy of the
+field, including name, to standard output. If no \fB\fC_field_\fR appears,
+\fB\fC822headers\fR looks for \fB\fC_subject_\fR\&.
+.PP
+The end of the message or the first line that cannot be part of an 822\-format
+header field terminates the message headers.
+.SH EXIT STATUS
+.PP
+If it encounters an error while processing a message, \fB\fC822headers\fR exits 111\&.
+If \fB\fC822headers\fR finds any matching headers, it exits 0\&. Otherwise,
+\fB\fC822headers\fR exits 100.
+.SH AUTHOR
+.PP
+William Baxter <sst%superscript.com@localhost>
+.PP
+Version 0.56
+.br
+Last updated 2015\-08\-23 23:24:43 CDT
Index: pkgsrc/mail/qtools/files/checkaddr.1
diff -u /dev/null pkgsrc/mail/qtools/files/checkaddr.1:1.1
--- /dev/null Sat Jul 18 13:31:44 2020
+++ pkgsrc/mail/qtools/files/checkaddr.1 Sat Jul 18 13:31:44 2020
@@ -0,0 +1,29 @@
+.TH checkaddr 1
+.SH NAME
+.PP
+\fB\fCcheckaddr\fR \- check input for matching address
+.SH SYNOPSIS
+.PP
+.RS
+.nf
+checkaddr _addr_ ...
+.fi
+.RE
+.SH DESCRIPTION
+.PP
+The \fB\fCcheckaddr\fR program reads email addresses from standard input, and
+compares them with each \fB\fC_addr_\fR without regard to case. If no \fB\fC_addr_\fR
+appears, \fB\fC822addr\fR uses the environment variable \fB\fC$RECIPIENT\fR as \fB\fC_addr_\fR\&. The
+\fB\fCcheckaddr\fR program reads addresses in the form output by
+\fB\fC822addr\fR \[la]822addr.html\[ra]\&. It considers only delivery addresses and ignores
+address comments.
+.SH EXIT STATUS
+.PP
+If it finds a match, \fB\fCcheckaddr\fR exits 0\&. Otherwise, \fB\fCcheckaddr\fR exits 100.
+.SH AUTHOR
+.PP
+William Baxter <sst%superscript.com@localhost>
+.PP
+Version 0.56
+.br
+Last updated 2015\-08\-23 23:24:43 CDT
Index: pkgsrc/mail/qtools/files/checkdomain.1
diff -u /dev/null pkgsrc/mail/qtools/files/checkdomain.1:1.1
--- /dev/null Sat Jul 18 13:31:44 2020
+++ pkgsrc/mail/qtools/files/checkdomain.1 Sat Jul 18 13:31:44 2020
@@ -0,0 +1,30 @@
+.TH checkdomain 1
+.SH NAME
+.PP
+\fB\fCcheckdomain\fR \- check input for matching address domains
+.SH SYNOPSIS
+.PP
+.RS
+.nf
+checkdomain _dom_ ...
+.fi
+.RE
+.SH DESCRIPTION
+.PP
+The \fB\fCcheckdomain\fR program reads email addresses from standard input, and
+compares the domain portion with each \fB\fC_dom_\fR without regard to case. If no
+\fB\fC_addr_\fR appears, \fB\fCcheckdomain\fR uses the domain part of the environment
+variable \fB\fC$RECIPIENT\fR as \fB\fC_dom_\fR\&. The \fB\fCcheckdomain\fR program reads addresses in
+the form output by \fB\fC822addr\fR \[la]822addr.html\[ra]\&. It considers only delivery
+addresses and ignores address comments.
+.SH EXIT STATUS
+.PP
+If it finds a match, \fB\fCcheckdomain\fR exits 0\&. Otherwise, \fB\fCcheckdomain\fR exits
+100.
+.SH AUTHOR
+.PP
+William Baxter <sst%superscript.com@localhost>
+.PP
+Version 0.56
+.br
+Last updated 2015\-08\-23 23:24:43 CDT
Index: pkgsrc/mail/qtools/files/condtomaildir.1
diff -u /dev/null pkgsrc/mail/qtools/files/condtomaildir.1:1.1
--- /dev/null Sat Jul 18 13:31:44 2020
+++ pkgsrc/mail/qtools/files/condtomaildir.1 Sat Jul 18 13:31:44 2020
@@ -0,0 +1,34 @@
+.TH condtomaildir 1
+.SH NAME
+.PP
+\fB\fCcondtomaildir\fR \- conditionally deliver a message to a maildir
+.SH SYNOPSIS
+.PP
+In \fB\fC\&.qmail\fR:
+.PP
+.RS
+.nf
+| condtomaildir _dir_ _prog_
+.fi
+.RE
+.SH DESCRIPTION
+.PP
+The \fB\fCcondtomaildir\fR runs the program \fB\fC_prog_\fR with an email message on
+standard input. It expects \fB\fC_dir_\fR to be a Maildir\-format directory.
+.PP
+If \fB\fC_prog_\fR exits 0, \fB\fCcondtomaildir\fR writes the email message to the maildir
+\fB\fC_dir_\fR, and then exits 99\&. If \fB\fC_prog_\fR exits 111, \fB\fCcondtomaildir\fR exits
+111\&. If \fB\fC_prog_\fR exits anything else, or does not exist, \fB\fCcondtomaildir\fR
+exits 0.
+.SH EXIT STATUS
+.PP
+If it encounters a permanent error in handling a message, \fB\fCcondtomaildir\fR
+exits 100\&. If it encounters a temporary error in handling a message,
+\fB\fCcondtomaildir\fR exits 111.
+.SH AUTHOR
+.PP
+William Baxter <sst%superscript.com@localhost>
+.PP
+Version 0.56
+.br
+Last updated 2015\-08\-23 23:24:43 CDT
Index: pkgsrc/mail/qtools/files/filterto.1
diff -u /dev/null pkgsrc/mail/qtools/files/filterto.1:1.1
--- /dev/null Sat Jul 18 13:31:44 2020
+++ pkgsrc/mail/qtools/files/filterto.1 Sat Jul 18 13:31:44 2020
@@ -0,0 +1,36 @@
+.TH filterto 1
+.SH NAME
+.PP
+\fB\fCfilterto\fR \- conditionally forward a filtered message
+.SH SYNOPSIS
+.PP
+In \fB\fC\&.qmail\fR:
+.PP
+.RS
+.nf
+| filterto _address_ _prog_
+.fi
+.RE
+.PP
+where \fB\fC_address_\fR is an email address, and \fB\fC_prog_\fR is one or more arguments
+specifying a program to run for each message.
+.SH DESCRIPTION
+.PP
+The \fB\fCfilterto\fR program runs \fB\fC_prog_\fR with a message on standard input. If
+\fB\fC_prog_\fR exits 0, \fB\fCfilterto\fR forwards the standard output from \fB\fC_prog_\fR to
+\fB\fC_address_\fR, and then exits 99\&. If \fB\fC_prog_\fR exits 111, \fB\fCfilterto\fR exits 111\&.
+If \fB\fC_prog_\fR exits with any other exit code, or does not exist, \fB\fCfilterto\fR
+exits 0.
+.PP
+\fBNB\fP : It is not safe for \fB\fC_prog_\fR to fork a child that reads the message in
+the background.
+.PP
+\fBNB\fP : If you use \fB\fCfilterto\fR in a \fB\fC\&.qmail\fR file, make sure to add a line
+specifying delivery to your normal mailbox.
+.SH AUTHOR
+.PP
+William Baxter <sst%superscript.com@localhost>
+.PP
+Version 0.56
+.br
+Last updated 2015\-08\-23 23:24:43 CDT
Index: pkgsrc/mail/qtools/files/ifaddr.1
diff -u /dev/null pkgsrc/mail/qtools/files/ifaddr.1:1.1
--- /dev/null Sat Jul 18 13:31:44 2020
+++ pkgsrc/mail/qtools/files/ifaddr.1 Sat Jul 18 13:31:44 2020
@@ -0,0 +1,53 @@
+.TH ifaddr 1
+.SH NAME
+.PP
+\fB\fCifaddr\fR \- match addresses in headers
+.SH SYNOPSIS
+.PP
+.RS
+.nf
+ifaddr [ _field_ ... : ] [ _addr_ ... ]
+.fi
+.RE
+.SH DESCRIPTION
+.PP
+The \fB\fCifaddr\fR program reads a message from standard input. It exits 0 if any
+\fB\fC_addr_\fR appears in a \fB\fC_field_\fR header, and exiting 100 if there is no match.
+Invoked with no \fB\fC_addr_\fR arguments, \fB\fCifaddr\fR looks for the address in the
+environment variable \fB\fC$RECIPIENT\fR\&. Address comparisons are case insensitive.
+If no \fB\fC_field_\fR arguments appear, then \fB\fCifaddr\fR uses \fB\fCTo\fR and \fB\fCCc\fR\&.
+.PP
+If an \fB\fC_addr_\fR begins with \fB\fC@\fR, then \fB\fCifaddr\fR compares it to the domain
+portion of addresses from each field.
+.SH EXIT STATUS
+.PP
+If it encounters a temporary error while reading input, \fB\fCifaddr\fR exits 111.
+.SH EXAMPLES
+.PP
+The \fB\fC\&.qmail\fR line
+.PP
+.RS
+.nf
+| condtomaildir _dir_ ifaddr to cc from : _myfriend_
+.fi
+.RE
+.PP
+writes correspondence with \fB\fC_myfriend_\fR to \fB\fC_dir_\fR\&.
+.PP
+The \fB\fC\&.qmail\fR line
+.PP
+.RS
+.nf
+| condtomaildir _dir_ ifaddr @example.com
+.fi
+.RE
+.PP
+writes a message with a \fB\fCTo\fR or \fB\fCCc\fR address in the domain \fB\fCexample.com\fR to
+\fB\fC_dir_\fR\&.
+.SH AUTHOR
+.PP
+William Baxter <sst%superscript.com@localhost>
+.PP
+Version 0.56
+.br
+Last updated 2015\-08\-23 23:24:43 CDT
Index: pkgsrc/mail/qtools/files/iftoccfrom.1
diff -u /dev/null pkgsrc/mail/qtools/files/iftoccfrom.1:1.1
--- /dev/null Sat Jul 18 13:31:44 2020
+++ pkgsrc/mail/qtools/files/iftoccfrom.1 Sat Jul 18 13:31:44 2020
@@ -0,0 +1,40 @@
+.TH iftoccfrom 1
+.SH NAME
+.PP
+\fB\fCiftoccfrom\fR \- look for addresses in standard message headers
+.SH SYNOPSIS
+.PP
+.RS
+.nf
+iftoccfrom [ _addr_ ... ]
+.fi
+.RE
+.SH DESCRIPTION
+.PP
+The \fB\fCiftoccfrom\fR program reads an 822\-format message from standard input and
+matches address in the \fB\fCTo\fR, \fB\fCCc\fR, or \fB\fCFrom\fR headers against \fB\fC_addr_\fR\&. If it
+finds a match, \fB\fCiftoccfrom\fR exits 0\&. Otherwise it exits 100\&. If no \fB\fC_addr_\fR
+argument is present, then \fB\fCiftoccfrom\fR uses the address in the environment
+variable \fB\fC$RECIPIENT\fR as \fB\fC_addr_\fR\&.
+.SH EXIT STATUS
+.PP
+If it encounters a temporary error while reading input, \fB\fCiftoccfrom\fR exits
+111.
+.SH EXAMPLES
+.PP
+The \fB\fC\&.qmail\fR line
+.PP
+.RS
+.nf
+| condtomaildir _dir_ iftoccfrom _afriend_
+.fi
+.RE
+.PP
+writes correspondence with \fB\fC_afriend_\fR to \fB\fC_dir_\fR\&.
+.SH AUTHOR
+.PP
+William Baxter <sst%superscript.com@localhost>
+.PP
+Version 0.56
+.br
+Last updated 2015\-08\-23 23:24:43 CDT
Index: pkgsrc/mail/qtools/files/replier-config.1
diff -u /dev/null pkgsrc/mail/qtools/files/replier-config.1:1.1
--- /dev/null Sat Jul 18 13:31:44 2020
+++ pkgsrc/mail/qtools/files/replier-config.1 Sat Jul 18 13:31:44 2020
@@ -0,0 +1,139 @@
+.TH replier\-config 1
+.SH NAME
+.PP
+\fB\fCreplier\-config\fR \- configure an instance of replier
+.SH SYNOPSIS
+.PP
+.RS
+.nf
+replier\-config _dir_ _dot_ _local_ _host_ [ _outlocal_ [ _outhost_ ]]
+.fi
+.RE
+.SH DESCRIPTION
+.PP
+The \fB\fCreplier\-config\fR program configures an instance of
+\fB\fCreplier\fR \[la]replier.html\[ra], the qtools auto\-responder. It creates \fB\fC_dir_\fR and
+populates it with configuration files. It creates two qmail files called
+\fB\fC_dot_ \-help\fR and \fB\fC_dot_ \-return\-default\fR\&. The \fB\fC_local_\fR, \fB\fC_host_\fR arguments
+together determine the local delivery address configured for auto\-response.
+The \fB\fC_outlocal_\fR, \fB\fC_outhost_\fR arguments are used in the responses.
+.PP
+The directory \fB\fC_dir_\fR must begin with a slash. If \fB\fC_outlocal_\fR is not present,
+\fB\fCreplier\-config\fR sets it to \fB\fC_local_\fR\&. If \fB\fC_outhost_\fR is not present,
+\fB\fCreplier\-config\fR sets it to \fB\fC_host_\fR\&.
+.PP
+If \fB\fC_outlocal_\fR is not empty, \fB\fCreplier\-config\fR creates a new email replier at
+the address
+.PP
+.RS
+.nf
+_outlocal_ \-help@ _outhost_
+.fi
+.RE
+.PP
+If \fB\fC_outlocal_\fR is empty, \fB\fCreplier\-config\fR creates a new email replier at the
+address
+.PP
+.RS
+.nf
+help@ _outhost_
+.fi
+.RE
+.PP
+In either case, \fB\fCreplier\-config\fR sets up two \fB\fC\&.qmail\fR files to control the
+help\-address replier: \fB\fC_dot_ \-help\fR and \fB\fC_dot_ \-return\-default\fR\&. These files
+should control messages to the addresses \fB\fC_outlocal_ \-help@ _outhost_\fR and
+\fB\fC_outlocal_ \-return\-@ _outhost_\fR, respectively (or \fB\fChelp@ _outhost_\fR and
+\fB\fCreturn\-@ _outhost_\fR if \fB\fC_outlocal_\fR is empty).
+.PP
+Within \fB\fC_dir_\fR, \fB\fCreplier\-config\fR creates several configuration files for
+\fB\fCreplier\fR\&.
+.PP
+The first line of \fB\fC_dir_ /inlocal\fR consists of \fB\fC_local_\fR\&.
+.PP
+The first line of \fB\fC_dir_ /inhost\fR consists of \fB\fC_host_\fR\&.
+.PP
+The first line of \fB\fC_dir_ /outlocal\fR consists of \fB\fC_outlocal_\fR\&.
+.PP
+The first line of \fB\fC_dir_ /outhost\fR consists of \fB\fC_outhost_\fR\&.
+.PP
+The first line of \fB\fC_dir_ /mailinglist\fR consists of \fB\fCcontact _helpaddress_ ;
+run by replier\fR, where \fB\fC_helpaddress_\fR is the help address created by
+\fB\fCreplier\-config\fR as described above.
+.PP
+The \fB\fC_dir_ /headerremove\fR file contains
+.PP
+.RS
+.nf
+return\-path
+return\-receipt\-to
+content\-length
+.fi
+.RE
+.PP
+The \fB\fC_dir_ /headeradd\fR file contains
+.PP
+.RS
+.nf
+Precedence: bulk
+.fi
+.RE
+.PP
+The \fB\fC_dir_ /text/help\fR file contains text sent in response to messages
+received at the help address.
+.SH EXAMPLES
+.PP
+To configure a replier at the address \fB\fCjoe\-replier\-help%example.com@localhost\fR, the user
+\fB\fCjoe\fR issues the command
+.PP
+.RS
+.nf
+replier\-config $HOME/replier $HOME/.qmail\-replier joe\-replier example.com
+.fi
+.RE
+.PP
+If email to \fB\fCjoe%example.com@localhost\fR is delivered to \fB\fCjoe%joehost.example.com@localhost\fR, the
+following command may be appropriate to configure a replier at \fB\fCjoe\-replier\-
+help%example.com@localhost\fR:
+.PP
+.RS
+.nf
+replier\-config $HOME/replier $HOME/.qmail\-replier joe\-replier joehost.example.com joe\-replier example.com
+.fi
+.RE
+.PP
+If the user \fB\fCreplier\fR handles mail for the virtual domain
+\fB\fCreplier.example.com\fR, then the following command creates a replier at
+\fB\fChelp%replier.example.com@localhost\fR:
+.PP
+.RS
+.nf
+replier\-config $HOME/replier $HOME/.qmail replier example.com ""
+.fi
+.RE
+.SS Adding replier addresses
+.PP
+To add a new replier address that filters only the body of a message, edit the
+\fB\fC_dir_ /bodyfilter\fR shell script and add a new case corresponding to the new
+address. Then create a symbolic link from \fB\fC_dir_ /qmail\-bodyfilter\fR to the
+\fB\fC\&.qmail\fR file that controls the new address. That's it!
+.PP
+Adding a command to filter the message header is entirely analagous, but use
+\fB\fC_dir_ /headerfilter\fR and \fB\fC_dir_ /qmail\-headerfilter\fR, while entire\-message
+filters use \fB\fC_dir_ /msgfilter\fR and \fB\fC_dir_ /qmail\-msgfilter\fR\&.
+.SS Bounce handling
+.PP
+By default, a replier created with \fB\fCreplier\-config\fR silently throws away
+bounce messages. The \fB\fC\&.qmail\fR file controlling bounces is a symbolic link
+pointing to \fB\fC_dir_ /bouncer\fR\&. Edit \fB\fC_dir_ /bouncer\fR to change the treatment of
+bounce messages.
+.SH BUGS
+.PP
+The very existence of this program is a bug.
+.SH AUTHOR
+.PP
+William Baxter <sst%superscript.com@localhost>
+.PP
+Version 0.56
+.br
+Last updated 2015\-08\-23 23:24:43 CDT
Index: pkgsrc/mail/qtools/files/replier.1
diff -u /dev/null pkgsrc/mail/qtools/files/replier.1:1.1
--- /dev/null Sat Jul 18 13:31:44 2020
+++ pkgsrc/mail/qtools/files/replier.1 Sat Jul 18 13:31:44 2020
@@ -0,0 +1,72 @@
+.TH replier 1
+.SH NAME
+.PP
+\fB\fCreplier\fR \- automatically respond to messages
+.SH SYNOPSIS
+.PP
+In \fB\fC\&.qmail\fR:
+.PP
+.RS
+.nf
+| replier _dir_ _address_ _prog_
+.fi
+.RE
+.SH DESCRIPTION
+.PP
+The \fB\fCreplier\fR program changes the working directory to \fB\fC_dir_\fR, executes
+\fB\fC_prog_\fR with a message on standard input, and forwards the standard output
+from \fB\fC_prog_\fR to \fB\fC_address_\fR\&. It adds a \fB\fCMailing\-List\fR field to the message
+headers with the contents of \fB\fC_dir_ /mailinglist\fR\&. It rejects the message if
+there is already a \fB\fCMailing\-List\fR field. It adds to the message all fields
+listed in \fB\fC_dir_ /headeradd\fR, followed by an appropriate \fB\fCDelivered\-To\fR line.
+It deletes from the message any fields with names listed in \fB\fC_dir_
+/headerremove\fR\&. It performs its header editing on the output from \fB\fC_prog_\fR\&.
+.PP
+If \fB\fC_prog_\fR exits 0, then \fB\fCreplier\fR forwards the message to \fB\fC_address_\fR and
+exits 99\&. If \fB\fCprog\fR exits 111, \fB\fCreplier\fR exits 111\&. If \fB\fCprog\fR exits anything
+else, or does not exist, \fB\fCreplier\fR exits 0.
+.PP
+The \fB\fCreplier\fR program does not distribute bounce messages: if the environment
+variable \fB\fC$SENDER\fR is set, and is either empty or \fB\fC#@[]\fR, then \fB\fCreplier\fR
+rejects the message.
+.SS Environment variables
+.PP
+The \fB\fCreplier\fR program supplies several environment variables to \fB\fCprog\fR\&. The
+recipient address that caused message processing by \fB\fCreplier\fR has one of two
+forms: \fB\fC_inlocal_ \- _request_ @ _domain_\fR, where \fB\fC_inlocal_\fR matches the first
+line of \fB\fC_dir_ /inlocal\fR, or \fB\fC_request_ @ _domain_\fR, when \fB\fC_dir_ /inlocal\fR has
+an empty first line. In either case, \fB\fCreplier\fR sets the following environment
+variables:
+.PP
+\fBNB\fP : These environment variables are not quoted. They are under the
+control of the sender.
+.PP
+\fB\fC$REQUEST\fR
+.PP
+The \fB\fC_request_\fR portionh of the recipient address.
+.PP
+\fB\fC$REQUEST2\fR
+.PP
+The portion of \fB\fC_request_\fR in the recipient address that follows the first
+hyphen.
+.PP
+\fB\fC$REQUEST3\fR
+.PP
+The portion of \fB\fC_request_\fR in the recipient address that follows the second
+hyphen.
+.PP
+\fB\fC$REQUEST4\fR
+.PP
+The portion of \fB\fC_request_\fR in the recipient address that follows the third
+hyphen.
+.SH EXIT STATUS
+.PP
+If it encounters a permanent error in handling a message, \fB\fCreplier\fR exits
+100\&. If it encounters a temporary error a message, \fB\fCreplier\fR exits 111.
+.SH AUTHOR
+.PP
+William Baxter <sst%superscript.com@localhost>
+.PP
+Version 0.56
+.br
+Last updated 2015\-08\-23 23:24:43 CDT
Index: pkgsrc/mail/qtools/files/tomaildir.1
diff -u /dev/null pkgsrc/mail/qtools/files/tomaildir.1:1.1
--- /dev/null Sat Jul 18 13:31:44 2020
+++ pkgsrc/mail/qtools/files/tomaildir.1 Sat Jul 18 13:31:44 2020
@@ -0,0 +1,25 @@
+.TH tomaildir 1
+.SH NAME
+.PP
+\fB\fCtomaildir\fR \- deliver a message to a maildir
+.SH SYNOPSIS
+.PP
+In \fB\fC\&.qmail\fR:
+.PP
+.RS
+.nf
+| tomaildir _dir_
+.fi
+.RE
+.SH DESCRIPTION
+.PP
+For each email message it processes, \fB\fCtomaildir\fR writes the message to
+\fB\fC_dir_\fR\&. If the write succeeds, \fB\fCtomaildir\fR exits 0\&. If it encounters a
+permanent error, \fB\fCtomaildir\fR exits 100\&. Otherwise, \fB\fCtomaildir\fR exits 111.
+.SH AUTHOR
+.PP
+William Baxter <sst%superscript.com@localhost>
+.PP
+Version 0.56
+.br
+Last updated 2015\-08\-23 23:24:43 CDT
Home |
Main Index |
Thread Index |
Old Index