diff options
| author | Gregory Neil Shapiro <gshapiro@FreeBSD.org> | 2002-05-24 01:46:39 +0000 |
|---|---|---|
| committer | Gregory Neil Shapiro <gshapiro@FreeBSD.org> | 2002-05-24 01:46:39 +0000 |
| commit | 34925ba6f79e1071e608d07bb4abeb125150fa91 (patch) | |
| tree | 4924184f56b59988e34a4cdbd80af77808474832 /etc/mail | |
| parent | 519c4f18164a148151342a9312cc8c8a658b8631 (diff) | |
Notes
Diffstat (limited to 'etc/mail')
| -rw-r--r-- | etc/mail/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/etc/mail/Makefile b/etc/mail/Makefile index 8a5a7ff6266e..1212cf9d0fbd 100644 --- a/etc/mail/Makefile +++ b/etc/mail/Makefile @@ -101,6 +101,9 @@ SENDMAIL?= /usr/sbin/sendmail MAKEMAP?= /usr/sbin/makemap M4?= /usr/bin/m4 +# Permissions for generated maps +SENDMAIL_MAP_PERMS?= 0640 + # Set a reasonable default .MAIN: all @@ -134,10 +137,12 @@ ${_f}: ${_f}.sample ${_f}.db: ${_f} ${MAKEMAP} ${SENDMAIL_MAP_TYPE} ${.TARGET} < ${.OODATE} + chmod ${SENDMAIL_MAP_PERMS} ${.TARGET} .endfor userdb.db: userdb ${MAKEMAP} btree ${.TARGET} < ${.OODATE} + chmod ${SENDMAIL_MAP_PERMS} ${.TARGET} # @@ -160,6 +165,7 @@ M4FILES!= find ${SENDMAIL_CF_DIR} -type f -name '*.m4' -print # ${SENDMAIL_ALIASES}.db: ${SENDMAIL_ALIASES} ${SENDMAIL} -bi + chmod ${SENDMAIL_MAP_PERMS} ${.TARGET} # # ------------------------------------------------------------------------ |
