summaryrefslogtreecommitdiff
path: root/mail/postfix-current
diff options
context:
space:
mode:
Diffstat (limited to 'mail/postfix-current')
-rw-r--r--mail/postfix-current/DESCR13
-rw-r--r--mail/postfix-current/INSTALL11
-rw-r--r--mail/postfix-current/MESSAGE11
-rw-r--r--mail/postfix-current/MESSAGE.NetBSD12
-rw-r--r--mail/postfix-current/MESSAGE.sasl7
-rw-r--r--mail/postfix-current/MESSAGE.tls13
-rw-r--r--mail/postfix-current/PLIST141
-rw-r--r--mail/postfix-current/PLIST.sasl2
-rw-r--r--mail/postfix-current/PLIST.tls6
-rw-r--r--mail/postfix-current/distinfo18
-rw-r--r--mail/postfix-current/files/postfix.sh41
11 files changed, 275 insertions, 0 deletions
diff --git a/mail/postfix-current/DESCR b/mail/postfix-current/DESCR
new file mode 100644
index 00000000000..dd023b67fac
--- /dev/null
+++ b/mail/postfix-current/DESCR
@@ -0,0 +1,13 @@
+Postfix aims to be an alternative to the widely-used sendmail
+program. Sendmail is responsible for 70% of all e-mail delivered
+on the Internet. With an estimated 100 million users, that's an
+estimated 10 billion (10^10) messages daily. A stunning number.
+
+Although IBM supported the Postfix development, it abstains from
+control over its evolution. The goal is to have Postfix installed
+on as many systems as possible. To this end, the software is given
+away with no strings attached to it, so that it can evolve with
+input from and under control by its users.
+
+In other words, IBM releases Postfix only once. I will be around
+to guide its development for a limited time.
diff --git a/mail/postfix-current/INSTALL b/mail/postfix-current/INSTALL
new file mode 100644
index 00000000000..abec8e6d155
--- /dev/null
+++ b/mail/postfix-current/INSTALL
@@ -0,0 +1,11 @@
+# $NetBSD: INSTALL,v 1.1.1.1 2004/03/06 15:04:12 grant Exp $
+#
+
+SHAREDIR=@SHAREDIR@
+
+case $STAGE in
+POST-INSTALL)
+ echo "===> Running postfix's post-install script"
+ @SHAREDIR@/post-install command_directory="@PREFIX@/sbin" first-install
+ ;;
+esac
diff --git a/mail/postfix-current/MESSAGE b/mail/postfix-current/MESSAGE
new file mode 100644
index 00000000000..96d5a8ce423
--- /dev/null
+++ b/mail/postfix-current/MESSAGE
@@ -0,0 +1,11 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1.1.1 2004/03/06 15:04:12 grant Exp $
+
+To activate postfix:
+
+- Check the configuration files in ${PKG_SYSCONFDIR}
+ (see ${SHAREDIR})
+- Modify /etc/mailer.conf (see ${SHAREDIR}/mailer.conf)
+- Set postfix=YES in /etc/rc.conf
+
+===========================================================================
diff --git a/mail/postfix-current/MESSAGE.NetBSD b/mail/postfix-current/MESSAGE.NetBSD
new file mode 100644
index 00000000000..710efa16242
--- /dev/null
+++ b/mail/postfix-current/MESSAGE.NetBSD
@@ -0,0 +1,12 @@
+===========================================================================
+$NetBSD: MESSAGE.NetBSD,v 1.1.1.1 2004/03/06 15:04:12 grant Exp $
+
+If you are running NetBSD 1.5 (or newer), the existing /etc/rc.d/postfix
+can be forced to start ${PREFIX}/sbin/postfix instead of /usr/sbin/postfix,
+by adding the following lines to /etc/rc.conf.d/postfix:
+ required_files='${PKG_SYSCONFDIR}/main.cf'
+ start_cmd='${PREFIX}/sbin/postfix start'
+ stop_cmd='${PREFIX}/sbin/postfix stop'
+ reload_cmd='${PREFIX}/sbin/postfix reload'
+
+===========================================================================
diff --git a/mail/postfix-current/MESSAGE.sasl b/mail/postfix-current/MESSAGE.sasl
new file mode 100644
index 00000000000..b097dd49cdc
--- /dev/null
+++ b/mail/postfix-current/MESSAGE.sasl
@@ -0,0 +1,7 @@
+===========================================================================
+$NetBSD: MESSAGE.sasl,v 1.1.1.1 2004/03/06 15:04:11 grant Exp $
+
+To enable SASL authentication, you might need to change permission
+of ${PKG_SYSCONFDIR}/sasldb.db so that smtpd can read it, and configure
+${PKG_SYSCONFDIR}/main.cf (See ${SHAREDIR}/sample-auth.cf.)
+===========================================================================
diff --git a/mail/postfix-current/MESSAGE.tls b/mail/postfix-current/MESSAGE.tls
new file mode 100644
index 00000000000..b78d36ab02a
--- /dev/null
+++ b/mail/postfix-current/MESSAGE.tls
@@ -0,0 +1,13 @@
+===========================================================================
+$NetBSD: MESSAGE.tls,v 1.1.1.1 2004/03/06 15:04:11 grant Exp $
+
+To enable TLS, you might need to reconfigure /etc/postfix/main.cf and
+${PKG_SYSCONFDIR}/master.cf (See ${SHAREDIR}/sample-tls.cf.)
+
+master.cf:
+----------
+ tlsmgr fifo - - y 300 1 tlsmgr
+ smtps inet n - y - - smtpd -o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes
+ submission inet n - y - - smtpd -o smtpd_enforce_tls=yes -o smtpd_sasl_auth_enable=yes
+
+===========================================================================
diff --git a/mail/postfix-current/PLIST b/mail/postfix-current/PLIST
new file mode 100644
index 00000000000..74f4dc11003
--- /dev/null
+++ b/mail/postfix-current/PLIST
@@ -0,0 +1,141 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/03/06 15:04:12 grant Exp $
+bin/mailq
+bin/newaliases
+libexec/postfix/anvil
+libexec/postfix/bounce
+libexec/postfix/cleanup
+libexec/postfix/error
+libexec/postfix/flush
+libexec/postfix/lmtp
+libexec/postfix/local
+libexec/postfix/master
+libexec/postfix/nqmgr
+libexec/postfix/oqmgr
+libexec/postfix/pickup
+libexec/postfix/pipe
+libexec/postfix/proxymap
+libexec/postfix/qmgr
+libexec/postfix/qmqpd
+libexec/postfix/showq
+libexec/postfix/smtp
+libexec/postfix/smtpd
+libexec/postfix/spawn
+libexec/postfix/trivial-rewrite
+libexec/postfix/verify
+libexec/postfix/virtual
+man/man1/mailq.1
+man/man1/newaliases.1
+man/man1/postalias.1
+man/man1/postcat.1
+man/man1/postconf.1
+man/man1/postdrop.1
+man/man1/postfix.1
+man/man1/postkick.1
+man/man1/postlock.1
+man/man1/postlog.1
+man/man1/postmap.1
+man/man1/postqueue.1
+man/man1/postsuper.1
+man/man1/sendmail.1
+man/man5/access.5
+man/man5/aliases.5
+man/man5/canonical.5
+man/man5/pcre_table.5
+man/man5/regexp_table.5
+man/man5/relocated.5
+man/man5/transport.5
+man/man5/virtual.5
+man/man8/bounce.8
+man/man8/cleanup.8
+man/man8/defer.8
+man/man8/error.8
+man/man8/flush.8
+man/man8/lmtp.8
+man/man8/local.8
+man/man8/master.8
+man/man8/pickup.8
+man/man8/pipe.8
+man/man8/proxymap.8
+man/man8/qmgr.8
+man/man8/qmqpd.8
+man/man8/showq.8
+man/man8/smtp.8
+man/man8/smtpd.8
+man/man8/spawn.8
+man/man8/trivial-rewrite.8
+man/man8/virtual.8
+sbin/postalias
+sbin/postcat
+sbin/postconf
+sbin/postdrop
+sbin/postfix
+sbin/postkick
+sbin/postlock
+sbin/postlog
+sbin/postmap
+sbin/postqueue
+sbin/postsuper
+sbin/sendmail
+share/doc/postfix/ADDRESS_CLASS_README
+share/doc/postfix/ADDRESS_VERIFICATION_README
+share/doc/postfix/DB_README
+share/doc/postfix/DEBUG_README
+share/doc/postfix/ETRN_README
+share/doc/postfix/FILTER_README
+share/doc/postfix/HOSTING_README
+share/doc/postfix/INSTALL
+share/doc/postfix/LDAP_README
+share/doc/postfix/LINUX_README
+share/doc/postfix/LMTP_README
+share/doc/postfix/LOCAL_RECIPIENT_README
+share/doc/postfix/MACOSX_README
+share/doc/postfix/MAILDROP_README
+share/doc/postfix/MYSQL_README
+share/doc/postfix/NFS_README
+share/doc/postfix/PACKAGE_README
+share/doc/postfix/PCRE_README
+share/doc/postfix/PGSQL_README
+share/doc/postfix/QMQP_README
+share/doc/postfix/SCHEDULER_README
+share/doc/postfix/RELEASE_NOTES
+share/doc/postfix/RESTRICTION_CLASS_README
+share/doc/postfix/SASL_README
+share/doc/postfix/SMTPD_POLICY_README
+share/doc/postfix/SMTPD_PROXY_README
+share/doc/postfix/ULTRIX_README
+share/doc/postfix/UUCP_README
+share/doc/postfix/VERP_README
+share/doc/postfix/VIRTUAL_README
+share/doc/postfix/XCLIENT_README
+share/doc/postfix/XFORWARD_README
+share/examples/postfix/mailer.conf
+share/examples/postfix/main.cf
+share/examples/postfix/master.cf
+share/examples/postfix/post-install
+share/examples/postfix/postfix-files
+share/examples/postfix/postfix-script
+share/examples/postfix/sample-aliases.cf
+share/examples/postfix/sample-auth.cf
+share/examples/postfix/sample-compatibility.cf
+share/examples/postfix/sample-debug.cf
+share/examples/postfix/sample-flush.cf
+share/examples/postfix/sample-ldap.cf
+share/examples/postfix/sample-lmtp.cf
+share/examples/postfix/sample-local.cf
+share/examples/postfix/sample-mime.cf
+share/examples/postfix/sample-misc.cf
+share/examples/postfix/sample-pgsql-aliases.cf
+share/examples/postfix/sample-qmqpd.cf
+share/examples/postfix/sample-rate.cf
+share/examples/postfix/sample-relocated.cf
+share/examples/postfix/sample-resource.cf
+share/examples/postfix/sample-rewrite.cf
+share/examples/postfix/sample-scheduler.cf
+share/examples/postfix/sample-smtp.cf
+share/examples/postfix/sample-smtpd.cf
+share/examples/postfix/sample-transport.cf
+share/examples/postfix/sample-verify.cf
+share/examples/postfix/sample-virtual.cf
+@dirrm share/examples/postfix
+@dirrm share/doc/postfix
+@dirrm libexec/postfix
diff --git a/mail/postfix-current/PLIST.sasl b/mail/postfix-current/PLIST.sasl
new file mode 100644
index 00000000000..11fb50bc238
--- /dev/null
+++ b/mail/postfix-current/PLIST.sasl
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST.sasl,v 1.1.1.1 2004/03/06 15:04:12 grant Exp $
+share/examples/postfix/smtpd.conf
diff --git a/mail/postfix-current/PLIST.tls b/mail/postfix-current/PLIST.tls
new file mode 100644
index 00000000000..e2c66eb863c
--- /dev/null
+++ b/mail/postfix-current/PLIST.tls
@@ -0,0 +1,6 @@
+@comment $NetBSD: PLIST.tls,v 1.1.1.1 2004/03/06 15:04:12 grant Exp $
+libexec/postfix/tlsmgr
+man/man8/tlsmgr.8
+share/doc/postfix/IPV6_README
+share/examples/postfix/sample-ipv6.cf
+share/examples/postfix/sample-tls.cf
diff --git a/mail/postfix-current/distinfo b/mail/postfix-current/distinfo
new file mode 100644
index 00000000000..79617eea534
--- /dev/null
+++ b/mail/postfix-current/distinfo
@@ -0,0 +1,18 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/03/06 15:04:12 grant Exp $
+
+SHA1 (postfix/postfix-2.0.18-20040209.tar.gz) = 053f88ca3ce04c1439523c478e907f79095b1169
+Size (postfix/postfix-2.0.18-20040209.tar.gz) = 1534600 bytes
+SHA1 (postfix/tls+ipv6-1.21-pf-2.0.18.patch.gz) = e2c29b3e6a00eb53120661d7e411d8e786a0bae6
+Size (postfix/tls+ipv6-1.21-pf-2.0.18.patch.gz) = 254862 bytes
+SHA1 (postfix/postfix-pg.postfix-2.0.0.2.patch) = 51498e624f9fc68f33384c2355803f0b181ca64a
+Size (postfix/postfix-pg.postfix-2.0.0.2.patch) = 27419 bytes
+SHA1 (patch-aa) = 39a89a28cec3fd264dbda97633e34695eaad01e9
+SHA1 (patch-ab) = ac4c75fb7a36491edf03b54915c7a47461748b4d
+SHA1 (patch-ac) = b0d26742fe8496b2fd4729a41fecadc275e71cf2
+SHA1 (patch-ad) = 60d98330d4b20508c03bb0bccebbe564ffea621f
+SHA1 (patch-ae) = 9ea314db37541a1a9c7765e000687c0fdef90d8e
+SHA1 (patch-af) = 9b0521751704fd1377d8215dc16a873c1d5ca032
+SHA1 (patch-ah) = 6beedd15ee3a7cfd46cf3ed0b9ee579b9906300b
+SHA1 (patch-ai) = 25af047b95fcdd9bf71ac853a291b2499230ad42
+SHA1 (patch-bd) = 652b96357164208e39d322e84ee9a2ad2bd4ccc4
+SHA1 (patch-be) = dd00235af79a8d5e46a7d393e18840241bb685a8
diff --git a/mail/postfix-current/files/postfix.sh b/mail/postfix-current/files/postfix.sh
new file mode 100644
index 00000000000..b732e4a060a
--- /dev/null
+++ b/mail/postfix-current/files/postfix.sh
@@ -0,0 +1,41 @@
+#!@RCD_SCRIPTS_DIR@
+#
+# $NetBSD: postfix.sh,v 1.1.1.1 2004/03/06 15:04:12 grant Exp $
+#
+
+# PROVIDE: mail
+# REQUIRE: LOGIN
+# we make mail start late, so that things like .forward's are not
+# processed until the system is fully operational
+
+. /etc/rc.subr
+
+name="postfix"
+rcvar=$name
+required_files="@PKG_SYSCONFDIR@/main.cf"
+start_precmd="postfix_precmd"
+start_cmd="${name} "'${rc_arg}'
+stop_cmd=$start_cmd
+reload_cmd=$start_cmd
+extra_commands="reload"
+spooletcdir="/var/spool/${name}/etc"
+required_dirs=$spooletcdir
+
+postfix_precmd()
+{
+ # As this is called after the is_running and required_dir checks
+ # are made in run_rc_command(), we can safely assume ${spooletcdir}
+ # exists and postfix isn't running at this point (unless forcestart
+ # is used).
+ #
+
+ for f in localtime resolv.conf services; do
+ if [ -f /etc/$f ]; then
+ cmp -s /etc/$f ${spooletcdir}/$f || \
+ cp -p /etc/$f ${spooletcdir}/$f
+ fi
+ done
+}
+
+load_rc_config $name
+run_rc_command "$1"