mirror of
https://github.com/DanWin/mail-hosting.git
synced 2024-11-28 10:30:30 +00:00
3 lines
183 B
Bash
Executable file
3 lines
183 B
Bash
Executable file
#!/bin/sh
|
|
(test "$1" != "") || (echo "Need email address to delete from queue" && exit 1)
|
|
for i in `mailq | grep "$1" | awk '{print $1;}' | sed -e 's/\*//'`; do postsuper -d $i; done
|