/[smeserver]/rpms/smeserver-qpsmtpd/sme10/smeserver-qpsmtpd-2.6.0-init_dmarc_report_db.patch
ViewVC logotype

Contents of /rpms/smeserver-qpsmtpd/sme10/smeserver-qpsmtpd-2.6.0-init_dmarc_report_db.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (show annotations) (download)
Wed Dec 16 16:49:22 2020 UTC (3 years, 10 months ago) by jcrisp
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
Initial import

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 \

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed