|
| 1 | +# CDDL HEADER START |
| 2 | +# |
| 3 | +# The contents of this file are subject to the terms of the |
| 4 | +# Common Development and Distribution License, Version 1.0 only |
| 5 | +# (the "License"). You may not use this file except in compliance |
| 6 | +# with the License. |
| 7 | +# |
| 8 | +# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
| 9 | +# or http://www.opensolaris.org/os/licensing. |
| 10 | +# See the License for the specific language governing permissions |
| 11 | +# and limitations under the License. |
| 12 | +# |
| 13 | +# When distributing Covered Code, include this CDDL HEADER in each |
| 14 | +# file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
| 15 | +# If applicable, add the following below this CDDL HEADER, with the |
| 16 | +# fields enclosed by brackets "[]" replaced with your own identifying |
| 17 | +# information: Portions Copyright [yyyy] [name of copyright owner] |
| 18 | +# |
| 19 | +# CDDL HEADER END |
| 20 | +# |
| 21 | +# |
| 22 | +# Copyright 2017 OmniOS Community Edition. All rights reserved. |
| 23 | +# Use is subject to license terms. |
| 24 | +user username=dma uid=26 group=mail gcos-field="DragonFly Mail Agent" \ |
| 25 | + home-dir=/ password=NP |
| 26 | + |
| 27 | +<transform dir path=var/mail$ -> drop> |
| 28 | +<transform file path=etc/dma/ -> set preserve renamenew> |
| 29 | +<transform file dir path=etc/dma -> set group mail> |
| 30 | +<transform file path=usr/lib/smtp/dma -> set group mail> |
| 31 | +<transform file path=usr/lib/smtp/dma/dma -> set mode 2755> |
| 32 | +<transform file path=usr/lib/smtp/dma/dma-mbox-create -> set mode 4754> |
| 33 | +<transform dir path=var/spool/dma -> set mode 0770> |
| 34 | +<transform dir path=var/spool/dma -> set group mail> |
| 35 | + |
| 36 | +# Mediated symlinks |
| 37 | +link path=usr/bin/mailq mediator=mta mediator-implementation=dma \ |
| 38 | + mediator-priority=vendor target=../lib/smtp/dma/dma |
| 39 | +link path=usr/lib/sendmail mediator=mta mediator-implementation=dma \ |
| 40 | + mediator-priority=vendor target=../lib/smtp/dma/dma |
| 41 | +link path=usr/sbin/sendmail mediator=mta mediator-implementation=dma \ |
| 42 | + mediator-priority=vendor target=../lib/smtp/dma/dma |
| 43 | +link path=usr/sbin/newaliases mediator=mta mediator-implementation=dma \ |
| 44 | + mediator-priority=vendor target=../lib/smtp/dma/dma |
| 45 | +link path=etc/aliases mediator=mta mediator-implementation=dma \ |
| 46 | + mediator-priority=vendor target=./dma/aliases |
| 47 | + |
| 48 | +license LICENSE license=BSD |
0 commit comments