diff options
author | pettai <pettai> | 2010-03-09 21:20:24 +0000 |
---|---|---|
committer | pettai <pettai> | 2010-03-09 21:20:24 +0000 |
commit | 782d8db3132f82a47dce5266ec9b52ea090b695b (patch) | |
tree | 7ac53e6660d1ac41dc572d3950983fdc4c882bb0 /mail | |
parent | 454f2d21545c13d3752e96bc22792cdea145ecff (diff) | |
download | pkgsrc-782d8db3132f82a47dce5266ec9b52ea090b695b.tar.gz |
This package provides two scripts that can help administer a mail server
that uses the sendmail Mail Transport Agent (MTA).
* mailqs reads the output from sendmail's mailq(8) command and summarizes
each queue entry, one entry per line. As such, its output is more easily
consumed by other scripts.
* rmmq is a convenience command for removing items from a sendmail queue.
When you run mailq(8) or mailqs, you get a list of sendmail queue IDs.
These queue IDs map to several files in a sendmail queue directory. This
command automatically maps the queue IDs to the files and removes them for you.
(imported from pkgsrc-wip)
Diffstat (limited to 'mail')
-rw-r--r-- | mail/py-sendmail-admin/DESCR | 10 | ||||
-rw-r--r-- | mail/py-sendmail-admin/Makefile | 22 | ||||
-rw-r--r-- | mail/py-sendmail-admin/PLIST | 3 | ||||
-rw-r--r-- | mail/py-sendmail-admin/distinfo | 5 |
4 files changed, 40 insertions, 0 deletions
diff --git a/mail/py-sendmail-admin/DESCR b/mail/py-sendmail-admin/DESCR new file mode 100644 index 00000000000..f5711560f01 --- /dev/null +++ b/mail/py-sendmail-admin/DESCR @@ -0,0 +1,10 @@ +This package provides two scripts that can help administer a mail server +that uses the sendmail Mail Transport Agent (MTA). + +* mailqs reads the output from sendmail's mailq(8) command and summarizes +each queue entry, one entry per line. As such, its output is more easily +consumed by other scripts. +* rmmq is a convenience command for removing items from a sendmail queue. +When you run mailq(8) or mailqs, you get a list of sendmail queue IDs. +These queue IDs map to several files in a sendmail queue directory. This +command automatically maps the queue IDs to the files and removes them for you. diff --git a/mail/py-sendmail-admin/Makefile b/mail/py-sendmail-admin/Makefile new file mode 100644 index 00000000000..25d5474ef78 --- /dev/null +++ b/mail/py-sendmail-admin/Makefile @@ -0,0 +1,22 @@ +# $NetBSD: Makefile,v 1.1 2010/03/09 21:20:24 pettai Exp $ +# + +VER= 1.0 +DISTNAME= sendmail-admin-${VER} +PKGNAME= ${PYPKGPREFIX}-sendmail-admin-${VER} +CATEGORIES= mail +MASTER_SITES= http://www.clapper.org/software/python/sendmail-admin/ + +MAINTAINER= pettai@NetBSD.org +HOMEPAGE= http://www.clapper.org/software/python/sendmail-admin/ +COMMENT= Mailqs and rmmq, two scripts that ease Sendmail administration + +USE_LANGUAGES= # none + +PKG_DESTDIR_SUPPORT= user-destdir + +PYDISTUTILSPKG= yes + +.include "../../lang/python/extension.mk" +.include "../../lang/python/application.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/mail/py-sendmail-admin/PLIST b/mail/py-sendmail-admin/PLIST new file mode 100644 index 00000000000..a099f63366a --- /dev/null +++ b/mail/py-sendmail-admin/PLIST @@ -0,0 +1,3 @@ +@comment $NetBSD: PLIST,v 1.1 2010/03/09 21:20:24 pettai Exp $ +bin/mailqs +bin/rmmq diff --git a/mail/py-sendmail-admin/distinfo b/mail/py-sendmail-admin/distinfo new file mode 100644 index 00000000000..52bca88e07a --- /dev/null +++ b/mail/py-sendmail-admin/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1 2010/03/09 21:20:24 pettai Exp $ + +SHA1 (sendmail-admin-1.0.tar.gz) = 4b1ab5077130e509cf682bb939509e015ed74cc5 +RMD160 (sendmail-admin-1.0.tar.gz) = 04507d24df674bd96706b283eadedca96ac2b503 +Size (sendmail-admin-1.0.tar.gz) = 4698 bytes |