Files
ansible/roles/mkt-scripts/files/postgrey/generate_whitelist.sh

6 lines
262 B
Bash
Executable File

#!/bin/bash
mariadb --skip-ssl -h 10.201.0.4 -u maketank -pknatekam2007 \
-B --database=maketank_froxlor \
-e 'select email_full from mail_virtual where disablegreylist = 1' \
|grep -v email_full >/etc/postgrey/whitelist_recipients.local