report (_SCORE_ / _REQD_ requ) _TESTSSCORES(,)_ autolearn=_AUTOLEARN
uridnsbl_skip_domain iankelling.org
uridnsbl_skip_domain amnimal.ninja
-uridnsbl_skip_domain expertpathologyreview.com
uridnsbl_skip_domain zroe.org
EOF
# Retry fast for my own domains
iankelling.org * F,1d,1m;F,14d,1h
amnimal.ninja * F,1d,1m;F,14d,1h
-expertpathologyreview.com * F,1d,1m;F,14d,1h
je.b8.nz * F,1d,1m;F,14d,1h
zroe.org * F,1d,1m;F,14d,1h
eximbackup.b8.nz * F,1d,1m;F,14d,1h
# afaik our retry doesnt need this, but just using everything
mx.amnimal.ninja * F,1d,1m;F,14d,1h
-mx.expertpathologyreview.com * F,1d,1m;F,14d,1h
mail.fsf.org * F,1d,15m;F,14d,1h
# * thunderbird autoconfig setup
-bkdomains=(expertpathologyreview.com amnimal.ninja)
+bkdomains=(amnimal.ninja)
if [[ $HOSTNAME == bk ]]; then
for domain in ${bkdomains[@]}; do
m /a/exe/web-conf apache2 autoconfig.$domain
pi php-zip apache2 php-fpm
phpver=$(dpkg-query -s php-fpm | sed -nr 's/^Depends:.* php([^ ]*)-fpm( .*|$)/\1/p')
fpm=$(dpkg-query -s php-fpm | sed -nr 's/^Depends:.* (php[^ ]*-fpm)( .*|$)/\1/p') # eg: php7.4-fpm
- ncdirs=(/var/www/ncexpertpath /var/www/ncninja)
+ ncdirs=(/var/www/ncninja)
### begin php setup for roundcube and nextcloud ###
# Enable PHP modules.
EOF
- rcdirs=(/usr/local/lib/rcexpertpath /usr/local/lib/rcninja)
+ rcdirs=(/usr/local/lib/rcninja)
for ((i=0; i < ${#bkdomains[@]}; i++)); do
domain=${bkdomains[i]}
m chmod 755 $f
;;
- # ** bk
- ## we use this host to monitor MAIL_HOST and host a mail server for someone
- bk)
+ # ** ! MAILHOST
+ *)
+# note: this depends on the previous section having ;; vs ;;&
+ # this router is only hit by je and bk, but it is defined on all hosts for convenience.
cat >>/etc/exim4/conf.d/router/900_exim4-config_local_user <<'EOF'
route_list = * 127.0.0.1
EOF
+ ;;&
+ # ** bk
+ ## we use this host to monitor MAIL_HOST and host a mail server for someone
+ bk)
# No clamav on je, it has 1.5g memory and clamav uses most of it.
#
echo bk.b8.nz > /etc/mailname
cat >>/etc/exim4/update-exim4.conf.conf <<EOF
# man page: is used to build the local_domains list, together with "localhost"
-dc_other_hostnames='amnimal.ninja;expertpathologyreview.com;bk.b8.nz'
+dc_other_hostnames='amnimal.ninja;bk.b8.nz'
EOF
;;
;;&
$MAIL_HOST)
test_froms=(ian@iankelling.org z@zroe.org iank@gnu.org)
- test_tos=(testignore@expertpathologyreview.com testignore@je.b8.nz testignore@amnimal.ninja jtuttle@gnu.org)
+ test_tos=(testignore@je.b8.nz testignore@amnimal.ninja jtuttle@gnu.org)
cat >>/etc/cron.d/mailtest <<EOF
# 10 am friday
EOF
;;&
bk)
- test_froms=(testignore@amnimal.ninja testignore@expertpathologyreview.com)
+ test_froms=(testignore@amnimal.ninja)
test_tos=(testignore@iankelling.org testignore@je.b8.nz)
# We dont need to send from different addresses to the same
# address. this breaks down our nice elegant logic of building up
- # froms and tos , so I just handle expertpath in a special case
+ # froms and tos , so I just handle amnimal.ninja in a special case
# below and set the to: to be testignore@zroe.org. If we did sent
# that way, it would also mess up our mailtest-check logic that
# finds which messages to check.
;;&
je)
test_froms=(testignore@je.b8.nz)
- test_tos=(testignore@iankelling.org testignore@zroe.org testignore@expertpathologyreview.com testignore@amnimal.ninja)
+ test_tos=(testignore@iankelling.org testignore@zroe.org testignore@amnimal.ninja)
;;&
$MAIL_HOST|bk|je)
#!/bin/bash
# we remove from the queue older than 4.3 minutes since we send every 5 minutes.
olds=(
-$(/usr/sbin/exiqgrep -o 260 -i -r '^(testignore@(iankelling\.org|zroe\.org|expertpathologyreview\.com|amnimal\.ninja|je\.b8\.nz)|jtuttle@gnu\.org)$')
+$(/usr/sbin/exiqgrep -o 260 -i -r '^(testignore@(iankelling\.org|zroe\.org|amnimal\.ninja|je\.b8\.nz)|jtuttle@gnu\.org)$')
)
if (( ${#olds[@]} )); then
/usr/sbin/exim -Mrm "${olds[@]}" >/dev/null
fi
test_to+=", $t"
done
- if [[ $test_from == testignore@expertpathologyreview.com ]]; then
+ if [[ $test_from == testignore@amnimal.ninja ]]; then
test_to=testignore@zroe.org
fi