7 lines
126 B
Bash
Executable file
7 lines
126 B
Bash
Executable file
#!/bin/bash
|
|
|
|
echo remove frozen mails from mailq
|
|
|
|
sudo bash <<"EOF"
|
|
exim -Mrm $(mailq|awk '$0 ~ /.*frozen.*/ {print $3}')
|
|
EOF
|