1 |
vip-ire |
1.1 |
diff -Nur -x '*.orig' -x '*.rej' smeserver-qpsmtpd-2.6.0/root/var/service/qpsmtpd/run mezzanine_patched_smeserver-qpsmtpd-2.6.0/root/var/service/qpsmtpd/run |
2 |
|
|
--- smeserver-qpsmtpd-2.6.0/root/var/service/qpsmtpd/run 2016-04-27 20:50:24.718631383 +0200 |
3 |
|
|
+++ mezzanine_patched_smeserver-qpsmtpd-2.6.0/root/var/service/qpsmtpd/run 2016-04-27 20:49:58.279635045 +0200 |
4 |
|
|
@@ -43,6 +43,14 @@ |
5 |
|
|
chmod 400 /home/e-smith/dkim_keys/default/private |
6 |
|
|
) |
7 |
|
|
|
8 |
|
|
+# Init the DMARC report DB |
9 |
|
|
+[ -s /var/lib/qpsmtpd/dmarc/reports.sqlite ] || (\ |
10 |
|
|
+ SCHEMA=$(rpm -qd perl-Mail-DMARC | grep mail_dmarc_schema.sqlite) |
11 |
|
|
+ /usr/bin/sqlite3 /var/lib/qpsmtpd/dmarc/reports.sqlite < $SCHEMA |
12 |
|
|
+ chown qpsmtpd:qpsmtpd /var/lib/qpsmtpd/dmarc/reports.sqlite |
13 |
|
|
+ chmod 640 /var/lib/qpsmtpd/dmarc/reports.sqlite |
14 |
|
|
+) |
15 |
|
|
+ |
16 |
|
|
exec /usr/local/bin/softlimit -d ${SOFTLIMIT:-25000000} -s ${SOFTLIMIT:-25000000} -l ${SOFTLIMIT:-25000000} \ |
17 |
|
|
/usr/bin/qpsmtpd-forkserver \ |
18 |
|
|
-u qpsmtpd \ |