mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-11-15 16:03:51 +01:00
feat: add nullmailer-send.
This commit is contained in:
parent
7479b595e9
commit
4702e8fdd3
27
apparmor.d/profiles-m-r/nullmailer-send
Normal file
27
apparmor.d/profiles-m-r/nullmailer-send
Normal file
@ -0,0 +1,27 @@
|
||||
# apparmor.d - Full set of apparmor profiles
|
||||
# Copyright (C) 2022 Alexandre Pujol <alexandre@pujol.io>
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
abi <abi/3.0>,
|
||||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = /{usr/,}{s,}bin/nullmailer-send
|
||||
profile nullmailer-send @{exec_path} {
|
||||
include <abstractions/base>
|
||||
include <abstractions/nameservice-strict>
|
||||
include <abstractions/ssl_certs>
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
/{usr/,}lib/nullmailer/smtp rix,
|
||||
|
||||
/etc/mailname r,
|
||||
/etc/nullmailer/{,*} r,
|
||||
|
||||
/var/spool/nullmailer/{,**} rw,
|
||||
|
||||
@{run}/resolvconf/resolv.conf r,
|
||||
|
||||
include if exists <local/nullmailer-send>
|
||||
}
|
Loading…
Reference in New Issue
Block a user