Month: May 2020
Removing Messages with Zmmailbox based on the Subject
Berikut Script untuk menghapus email berdasarkan akun dan Subject Email. Copy Script berikut : #!/bin/bash # rm_message.sh user@domain.com subject if [ -z "$2" ]; then echo "usage: rm_message.sh user@domain.com <subject>" exit 0 else addr=$1 subject=$2 echo "Searching $addr for Subject: $subject" for msg in `zmmailbox -z -m "$addr" s -l…