# TODO, get je to deliver the local mailbox: /m/md/INBOX
# dovecot appears to setup, i can t be sure.
# TODO, get je to deliver the local mailbox: /m/md/INBOX
# dovecot appears to setup, i can t be sure.
- froms=(testignore@je.b8.nz testignore@expertpathologyreview.com testignore@amnimal.ninja ian@iankelling.org z@zroe.org)
+ # save some cpu cycles
+ froms=(testignore@je.b8.nz ian@iankelling.org)
+ if (( maini % 10 == 0 )); then
+ froms=(testignore@je.b8.nz testignore@expertpathologyreview.com testignore@amnimal.ninja ian@iankelling.org z@zroe.org)
+ fi
if ! $int; then
### begin rsyncing fencepost email ###
# We dont want to exit if rsync fails, that will get caught by
if ! $int; then
### begin rsyncing fencepost email ###
# We dont want to exit if rsync fails, that will get caught by
# example line that sed is parsing:
# (-0.1 / 5.0 requ) DKIM_SIGNED=0.1,DKIM_VALID=-0.1,DKIM_VALID_AU=-0.1,SPF_HELO_PASS=-0.001,SPF_PASS=-0.001,TVD_SPACE_RATIO=0.001 autolearn=_AUTOLEARN
resultfile=$(mktemp)
# example line that sed is parsing:
# (-0.1 / 5.0 requ) DKIM_SIGNED=0.1,DKIM_VALID=-0.1,DKIM_VALID_AU=-0.1,SPF_HELO_PASS=-0.001,SPF_PASS=-0.001,TVD_SPACE_RATIO=0.001 autolearn=_AUTOLEARN
resultfile=$(mktemp)
# note: on some mail, its 1 line after the send-test-forward, on others its 2 with a blank inbetween.
# I use the sed -n to filter this.
# note: on some mail, its 1 line after the send-test-forward, on others its 2 with a blank inbetween.
# I use the sed -n to filter this.
if $doprom && [[ -e $dir ]]; then
for l in "${p_unexpected_spamd_results[@]}"; do
printf "%s\n" "$l" >>$path
if $doprom && [[ -e $dir ]]; then
for l in "${p_unexpected_spamd_results[@]}"; do
printf "%s\n" "$l" >>$path