summaryrefslogtreecommitdiff
path: root/mail/mailwrapper/pkg
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>1999-04-12 21:19:32 +0000
committertron <tron@pkgsrc.org>1999-04-12 21:19:32 +0000
commit24f39bf15c7f9fc0eea940019415ed26537fe3ed (patch)
treebdece1b5cb0af36014c41eccdb55bcd80a86c828 /mail/mailwrapper/pkg
parent72ae85fcb412c297e1135f34676a29fe1e6e2786 (diff)
downloadpkgsrc-24f39bf15c7f9fc0eea940019415ed26537fe3ed.tar.gz
New "mailwrapper" package inspired by PR pkg/7158 by Greg A. Woods:
NetBSD 1.4's wrapper to support arbitrary Mail Transport Agents
Diffstat (limited to 'mail/mailwrapper/pkg')
-rw-r--r--mail/mailwrapper/pkg/COMMENT1
-rw-r--r--mail/mailwrapper/pkg/DESCR13
-rw-r--r--mail/mailwrapper/pkg/PLIST18
3 files changed, 32 insertions, 0 deletions
diff --git a/mail/mailwrapper/pkg/COMMENT b/mail/mailwrapper/pkg/COMMENT
new file mode 100644
index 00000000000..b381b0f644f
--- /dev/null
+++ b/mail/mailwrapper/pkg/COMMENT
@@ -0,0 +1 @@
+NetBSD 1.4's wrapper to support arbitrary Mail Transport Agents
diff --git a/mail/mailwrapper/pkg/DESCR b/mail/mailwrapper/pkg/DESCR
new file mode 100644
index 00000000000..04260bdddab
--- /dev/null
+++ b/mail/mailwrapper/pkg/DESCR
@@ -0,0 +1,13 @@
+At one time, the only Mail Transfer Agent (MTA) software easily available
+was sendmail(8). As a result of this, most Mail User Agents (MUAs) such
+as mail(1) had the path and calling conventions expected by sendmail(8)
+compiled in.
+
+Times have changed, however. On a modern NetBSD system, the administra-
+tor may wish to use one of several available MTAs.
+
+It would be difficult to modify all MUA software typically available on a
+system, so most of the authors of alternative MTAs have written their
+front end message submission programs so that they use the same calling
+conventions as sendmail(8) and may be put into place instead of
+sendmail(8) in /usr/sbin/sendmail.
diff --git a/mail/mailwrapper/pkg/PLIST b/mail/mailwrapper/pkg/PLIST
new file mode 100644
index 00000000000..35b5f969259
--- /dev/null
+++ b/mail/mailwrapper/pkg/PLIST
@@ -0,0 +1,18 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 1999/04/12 21:19:32 tron Exp $
+etc/mailer.conf.default
+@exec test -e /etc/mailer.conf || ln -sf %F /etc/mailer.conf
+man/cat5/mailer.conf.0.gz
+man/cat8/mailwrapper.0.gz
+man/man5/mailer.conf.5.gz
+man/man8/mailwrapper.8.gz
+sbin/mailwrapper
+@exec mkdir -p /usr/libexec/sendmail
+@exec mv /usr/sbin/sendmail /usr/libexec/sendmail
+@exec ln -fs %D/sbin/mailwrapper /usr/bin/mailq
+@exec ln -fs %D/sbin/mailwrapper /usr/bin/newaliases
+@exec ln -fs %D/sbin/mailwrapper /usr/sbin/sendmail
+@unexec rm /usr/bin/mailq /usr/bin/newaliases /usr/sbin/sendmail
+@unexec mv /usr/libexec/sendmail/sendmail /usr/sbin/sendmail
+@unexec ln /usr/sbin/sendmail /usr/bin/mailq
+@unexec ln /usr/sbin/sendmail /usr/bin/newaliases
+@unexec rmdir /usr/libexec/sendmail