hello misc! sometimes it is needed to manually remove multiple
messages from queue, based on some email address.

i'm using this trick to filter msgids and pipe them to smtpctl:

mailq | grep [email protected] | cut -d "|" -f 1 | xargs -n1 smtpctl remove

maybe there is some easier and proper way, which i don't know?

Reply via email to