apr 19 update
This commit is contained in:
12
jails/config/mail/pkg-list-details.txt
Normal file
12
jails/config/mail/pkg-list-details.txt
Normal file
@ -0,0 +1,12 @@
|
||||
pkgp122____openldap24-client-2.4.59_4
|
||||
pkgp123____dcc-dccd-2.3.168
|
||||
pkgp123____dovecot-2.3.18_1
|
||||
pkgp123____dovecot-pigeonhole-0.5.18
|
||||
pkgp123____pkg-1.17.5_1
|
||||
pkgp123____postfix-3.7.0_2,1
|
||||
pkgp123____rspamd-3.2_1
|
||||
pkgp-freebsd-pkg____apache-solr-8.11.1
|
||||
pkgp-freebsd-pkg____bash-5.1.16
|
||||
pkgp-freebsd-pkg____bash-completion-2.11_1,2
|
||||
pkgp-freebsd-pkg____nano-6.0
|
||||
pkgp-freebsd-pkg____redis-6.2.6
|
1
jails/config/mail/pkg-list.txt
Normal file
1
jails/config/mail/pkg-list.txt
Normal file
@ -0,0 +1 @@
|
||||
apache-solr bash bash-completion dcc-dccd dovecot dovecot-pigeonhole nano openldap24-client pkg postfix redis rspamd
|
@ -10,8 +10,8 @@ pkgp-freebsd-pkg: {
|
||||
priority: 10
|
||||
}
|
||||
|
||||
pkgp122: {
|
||||
url: "http://pkgp.ahlawat.com/packages/pj122-default/",
|
||||
pkgp123: {
|
||||
url: "http://pkgp.ahlawat.com/packages/pj123-default",
|
||||
mirror_type: "http",
|
||||
signature_type: "pubkey",
|
||||
pubkey: "/mnt/certs/poudriere.cert",
|
||||
|
14
jails/config/mail/postfix-reload.sh
Executable file
14
jails/config/mail/postfix-reload.sh
Executable file
@ -0,0 +1,14 @@
|
||||
#! /bin/sh
|
||||
certfiles=$(postconf -n | awk -F " = " '$1 ~ /(cert|key)_file/ {print $2}' | sort -u)
|
||||
reload=false
|
||||
for f in $certfiles; do
|
||||
if [ -f "$f" ]; then
|
||||
if [ /var/spool/postfix/pid/master.pid -ot "$f" ]; then
|
||||
reload=true
|
||||
fi
|
||||
fi
|
||||
done
|
||||
if $reload; then
|
||||
echo "postfix master.pid file older than certificates; restart required!"
|
||||
service postfix restart
|
||||
fi
|
Reference in New Issue
Block a user