summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUltrabug <ultrabug@ultrabug.net>2010-10-28 18:06:35 +0200
committerUltrabug <ultrabug@ultrabug.net>2010-10-28 18:06:35 +0200
commit6b00c6e24f978d7d81aca71122af92cd4ce03334 (patch)
tree24106b480353d6599e0e065bc3f5d93913aed3c2 /mail-filter
parentrsyslog version bump (diff)
downloadscarabeus-6b00c6e24f978d7d81aca71122af92cd4ce03334.tar.gz
scarabeus-6b00c6e24f978d7d81aca71122af92cd4ce03334.tar.bz2
scarabeus-6b00c6e24f978d7d81aca71122af92cd4ce03334.zip
dkimproxy: have the dkfilter user run the daemon
Diffstat (limited to 'mail-filter')
-rw-r--r--mail-filter/dkimproxy/Manifest6
-rw-r--r--mail-filter/dkimproxy/dkimproxy-1.2.ebuild6
-rw-r--r--mail-filter/dkimproxy/files/dkimproxy.in-confd2
-rw-r--r--mail-filter/dkimproxy/files/dkimproxy.out-confd2
4 files changed, 11 insertions, 5 deletions
diff --git a/mail-filter/dkimproxy/Manifest b/mail-filter/dkimproxy/Manifest
index 02a1ee9..43b5ac0 100644
--- a/mail-filter/dkimproxy/Manifest
+++ b/mail-filter/dkimproxy/Manifest
@@ -1,8 +1,8 @@
-AUX dkimproxy.in-confd 238 RMD160 94cccdc715ba801335c06e2068682bc329beeeb3 SHA1 422f49d587fde1aa1335795ed3e4e05dd3556412 SHA256 953ace5f7ef4daae02956ffa162c8b71fdce79166297a981d894e3a78429303e
+AUX dkimproxy.in-confd 270 RMD160 9d53c14f809e32036bf1557bd6d7e8263676a13c SHA1 562e93cfb7823a730cecb0017bd5d80ba40a0164 SHA256 412164bf750e7b0971471c066b430f670d0bb34e55af1e673c3b3a4197419952
AUX dkimproxy.in-initd 702 RMD160 0121cd313f70041a9ca475c52ec9791000bb8b2b SHA1 4b2bc557a27f668ed24937b93b39170970c9b0eb SHA256 ffd12776c7841f86fbbd7909edeccf0ade26dafa41b0ed39b70ba35d02838b54
-AUX dkimproxy.out-confd 177 RMD160 6ec8cd0b98718f8aa2445ce33ffee277040b41cf SHA1 31902bbd7af77aa22f09c5e20eef989c1c98316d SHA256 46e336adb2858a2e898c0e3c7d31cb11e1f3c48273a4f5cd888139a3a6823b53
+AUX dkimproxy.out-confd 209 RMD160 f7d09fbf163bed7f787c0e6d9422d3fefd4e1ee0 SHA1 6da1683681541265ae07631e5f7bc3982d3d2021 SHA256 bd2ce38b91e1cc9a0d6549065cf061a7a6779c81c5a9a2ec15ccf3be960fe0bc
AUX dkimproxy.out-initd 708 RMD160 4016db07277e1c6e5c8b0bf95b02880b9a8889b6 SHA1 8a5fc96c4bf86273e4de7d795ac6d868934a1042 SHA256 c0485d0c2400f5a9fa2810ef92dcbcac99ffe488ffecd4e92c15fdcd890fc83f
AUX dkimproxy_in.conf.gentoo 256 RMD160 74a36587c20a5e3e32a57c89d11c9441b72d6044 SHA1 f53f6ba805499fdd7e22cc96e2aa5ca5763798b8 SHA256 3b1668d76b5e0d623bfd803d86b0a3f042d51b365c7355ff082502ce537ad07c
AUX dkimproxy_out.conf.gentoo 733 RMD160 1f5f6320adf042ee2914bcd8ec4fce14dc9c0503 SHA1 5749ee03ca0e6d0919dc5dfd7d101b9dfbaaac1f SHA256 e753ea1daa686d73b4523ac65ccfbd3a3f08d58a139112dfceb06ca5f6f6deff
DIST dkimproxy-1.2.tar.gz 96971 RMD160 4e4f2ec6f350186000c06d302867626e91c7d0a8 SHA1 470a6cd1f12213f10a6db86ae5340b72940a47f8 SHA256 4ae76367e2cecc85c3bce15513bf110b96251acd3d5e4278fbf6c9c5f9d3b7be
-EBUILD dkimproxy-1.2.ebuild 1448 RMD160 8e6337b2a042f6e781c4421931824f4ce92745f6 SHA1 853deb1bc6b63bbac8d657a9fcfcad965041c189 SHA256 9e821de5f4d8dec4633d00be75fae1eeb10c43d763652e1a4c2b2ef5b340e759
+EBUILD dkimproxy-1.2.ebuild 1577 RMD160 24bede68b764291722b6b5607b9953b2cf549675 SHA1 d2d01df83e976b73a8773d2f1805ada2119b64f9 SHA256 54342e6b93cab8eb685c124dce0eed59d56eb071df2513fe7539162794932508
diff --git a/mail-filter/dkimproxy/dkimproxy-1.2.ebuild b/mail-filter/dkimproxy/dkimproxy-1.2.ebuild
index 8d48fc1..eba700e 100644
--- a/mail-filter/dkimproxy/dkimproxy-1.2.ebuild
+++ b/mail-filter/dkimproxy/dkimproxy-1.2.ebuild
@@ -21,6 +21,12 @@ RDEPEND="dev-perl/Mail-DKIM
"
DEPEND="${RDEPEND}"
+pkg_setup() {
+ # create a dkfilter user for enhanced security
+ enewgroup dkfilter
+ enewuser dkfilter -1 -1 /dev/null dkfilter
+}
+
src_install() {
base_src_install
diff --git a/mail-filter/dkimproxy/files/dkimproxy.in-confd b/mail-filter/dkimproxy/files/dkimproxy.in-confd
index b9d588e..c609384 100644
--- a/mail-filter/dkimproxy/files/dkimproxy.in-confd
+++ b/mail-filter/dkimproxy/files/dkimproxy.in-confd
@@ -3,4 +3,4 @@
# DKIMPROXY_IN_OPTS="--reject-error" # reject email if the verification process fails
# DKIMPROXY_IN_OPTS="--reject-fail" # reject email if the signature is incorrect
-DKIMPROXY_IN_OPTS="" \ No newline at end of file
+DKIMPROXY_IN_OPTS="--user=dkfilter --group=dkfilter" \ No newline at end of file
diff --git a/mail-filter/dkimproxy/files/dkimproxy.out-confd b/mail-filter/dkimproxy/files/dkimproxy.out-confd
index f02f842..0599b6f 100644
--- a/mail-filter/dkimproxy/files/dkimproxy.out-confd
+++ b/mail-filter/dkimproxy/files/dkimproxy.out-confd
@@ -2,4 +2,4 @@
# Example to soft bounce emails if an error occurs during the signing process:
# DKIMPROXY_OUT_OPTS="--reject-error"
-DKIMPROXY_OUT_OPTS="" \ No newline at end of file
+DKIMPROXY_OUT_OPTS="--user=dkfilter --group=dkfilter" \ No newline at end of file