]> git.hoellein.online Git - vserver/commitdiff
daily autocommit
authormhoellein <mario@hoellein.online>
Tue, 26 Mar 2024 05:26:23 +0000 (06:26 +0100)
committermhoellein <mario@hoellein.online>
Tue, 26 Mar 2024 05:26:23 +0000 (06:26 +0100)
.etckeeper
myssl/dh2048.pem
systemd/system/dovecot-cleanup.service [new file with mode: 0644]
systemd/system/dovecot-cleanup.timer [new file with mode: 0644]

index b1f159a8b2944853e121fe2b0de6b59f6b174fff..ac8df2fa94ff126f72deba31f0d8b7b7e91f12d0 100755 (executable)
@@ -19663,6 +19663,8 @@ maybe chmod 0644 'systemd/system.conf'
 maybe chmod 0755 'systemd/system/clamav-daemon.service.d'
 maybe chmod 0644 'systemd/system/clamav-daemon.service.d/extend.conf'
 maybe chmod 0755 'systemd/system/default.target.wants'
+maybe chmod 0644 'systemd/system/dovecot-cleanup.service'
+maybe chmod 0644 'systemd/system/dovecot-cleanup.timer'
 maybe chmod 0755 'systemd/system/emergency.target.wants'
 maybe chmod 0755 'systemd/system/getty.target.wants'
 maybe chmod 0755 'systemd/system/graphical.target.wants'
index b5182196bd6b9ccfd969db3c5128ed6bf52da92c..c73ae9f8cc8908a2c677e3ac398a46e3bdbc468e 100644 (file)
@@ -1,8 +1,8 @@
 -----BEGIN DH PARAMETERS-----
-MIIBCAKCAQEA18tnvg0eJlq3QI+t+lPsY0TDbno79yOeAXS9qU2FaJHuEWUrINPg
-CvexR4+vagUgEKmLOwGx+2lQcGDyWgOnFY1Ea6fLRT0kRxUJ+iVmesHnWJMegCJb
-VXBOiIXZqJSTs6G2gQQP03rm9XZ4Wxd6Br+oTudT/hQIwHM3SVu0V/qmxKNzgMyv
-zeX/7p7cUn8vGli0vyd6URkBs6nkUjVfSB5PYGbvGTyvZ1PCTSSYVcJ9aRrh3K4A
-YZBHA0NIvLyHgftKcVbK1ceiQc/HUt8LiH5Paxuf5ICTUWmSSp/0fK9wSw1AvjwH
-K9oBeJssSdclHmBquyIE4stOQ5VuJtGXswIBAg==
+MIIBCAKCAQEAndLmMN1spl0NZhMLV5dCZapmMdCkHWMzPo5YeQEUFhHlkQ1HTkVD
+lCpFgnsTX+AFusjIrtGu+K4IYS9L7wbY+E2SEFO9KdHiKSyteDQJM6E/l1P2CFTC
+cag9KJuD5Avvie2BZoGOgiqpcaZrQr5wrVugTXevjmeu0cwYEq5w0NaR1Hj3E/xI
+vXFVCbs7k6ldOnNXw4icMlyX6VzZbWAsAlXilSenVXP/cprKJBHWaI0NKy0iwt0J
++p7gj14JJOa80rlwqavFzTPZcBsut7c01BXrYb+83ifdz/7otoRqA5ksLVhMd542
+B+YvCEEKyE1I1kOaTRcaIVxaGU+bScyYAwIBAg==
 -----END DH PARAMETERS-----
diff --git a/systemd/system/dovecot-cleanup.service b/systemd/system/dovecot-cleanup.service
new file mode 100644 (file)
index 0000000..4b911ab
--- /dev/null
@@ -0,0 +1,10 @@
+[Unit]
+Description=Dovecot cleanup Service
+Wants=network.target
+
+[Service]
+Type=oneshot
+ExecStart=/bin/sh -c '\
+       for i in "Unsere Auswahl beli" "schaffe mit deinen" "24/7 für" "Aktuelle Prospekte" "100% sorglos" "100% gebührenfreie Kredi" "1 neue Benachrichtigung für Nex" DOWNTIMEEND DOWNTIMESTART PROBLEM RECOVERY Gutschein Haustier; do\
+               /usr/bin/doveadm expunge -u mario@hoellein.online mailbox Papierkorb SUBJECT $$i;\
+       done'
diff --git a/systemd/system/dovecot-cleanup.timer b/systemd/system/dovecot-cleanup.timer
new file mode 100644 (file)
index 0000000..8140fe9
--- /dev/null
@@ -0,0 +1,12 @@
+[Unit]
+Description=Dovecot cleanup Service
+
+[Timer]
+# config durch: man systemd.time
+OnCalendar=daily
+RandomizedDelaySec=6hours
+Persistent=true
+
+[Install]
+WantedBy=timers.target
+