diff options
| author | cvs2svn <cvs2svn@FreeBSD.org> | 2002-08-10 04:35:27 +0000 |
|---|---|---|
| committer | cvs2svn <cvs2svn@FreeBSD.org> | 2002-08-10 04:35:27 +0000 |
| commit | 306a0595289a1660e82e229cd0db19e1ff4ef59d (patch) | |
| tree | 702199d3b5e34c9ba151483313d8c26565451c75 /mail/exim-old/pkg-install | |
| parent | 280725774faa4e3d91ff599cca3a1466c77d300e (diff) | |
Notes
Diffstat (limited to 'mail/exim-old/pkg-install')
| -rw-r--r-- | mail/exim-old/pkg-install | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/mail/exim-old/pkg-install b/mail/exim-old/pkg-install deleted file mode 100644 index 69539a8c560f..000000000000 --- a/mail/exim-old/pkg-install +++ /dev/null @@ -1,39 +0,0 @@ -#!/bin/sh -# -# Since FreeBSD does not supply a user for running an MTA in a sandbox -# by default, use user 'exim', adding it if it does not exist. Even -# if FreeBSD supplied an MTA user, it's neglected to do so for so long -# that every sandboxed MTA under the sun uses its own user, so user -# 'exim' should probably be used forever. -# -# Modern FreeBSD systems already have a group mail. -# -# $FreeBSD$ -# - -PKG_PREFIX=${PKG_PREFIX:=/usr/local} - -uid=26 -gid=6 -user=mailnull -group=mail - -if [ "$2" = "PRE-INSTALL" ]; then - # uid=26(mailnull) gid=26(mailnull) groups=26(mailnull) - if ! /usr/bin/id ${uid} | /usr/bin/grep -q "uid=${uid}(${user})"; then - echo "Exim requires user ${user} (UID ${uid}). Please update your system." 1>&2 - exit 1 - fi - if ! /usr/bin/grep -q "^${group}:[^:]*:${gid}:" < /etc/group; then - echo "Exim requires group ${group} (GID ${gid}). Please update your system." 1>&2 - exit 1 - fi -fi - -# This is naughty, since the directory we create won't be removed along -# with Exim. However, logfiles should probably stick around after Exim -# is removed, until the administrator is sure he doesn't want them -# any more. -# -mkdir -p /var/log/exim -chown ${user}:${group} /var/log/exim |
