diff options
author | Jonas Smedegaard <dr@jones.dk> | 2002-12-31 13:38:42 +0000 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2002-12-31 13:38:42 +0000 |
commit | ec01b24de93ce4f1e32306fabad31e404c08e3c1 (patch) | |
tree | 67edf8e5ce2f54d523d000c2cab736ec1ffeeea8 /postfix/purge-spam-from-queue.sh | |
parent | f8881765f9162afc15b9942b9bf8efdf3a255b23 (diff) |
Add comments and copyright.
Diffstat (limited to 'postfix/purge-spam-from-queue.sh')
-rwxr-xr-x | postfix/purge-spam-from-queue.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/postfix/purge-spam-from-queue.sh b/postfix/purge-spam-from-queue.sh index b03eac3..13b0a60 100755 --- a/postfix/purge-spam-from-queue.sh +++ b/postfix/purge-spam-from-queue.sh @@ -1,4 +1,14 @@ #!/bin/sh +# +# /etc/local-COMMON/postfix/purge-spam-from-queue.sh +# Copyright 2002 Jonas Smedegaard <dr@jones.dk> +# +# $Id: purge-spam-from-queue.sh,v 1.2 2002-12-31 13:38:42 jonas Exp $ +# +# Purge non-important mails hanging in the queue (probably because of bounce to full mailbox) +# +# TODO: Improve filter! +# badmails=`mailq | egrep -v '^( |$)' | egrep '@(earthlink\.net|yahoo\.com|excite\.com|hotmail\.com)' | sed 's/[^[:alnum:]].*//'` |