feat: add nullmailer-send.

This commit is contained in:
Alexandre Pujol 2022-04-07 21:11:21 +01:00
parent 7479b595e9
commit 4702e8fdd3
No known key found for this signature in database
GPG Key ID: C5469996F0DF68EC

View 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>
}