summaryrefslogtreecommitdiff
path: root/scripts/qmail-alias2recipients.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/qmail-alias2recipients.sh')
-rw-r--r--scripts/qmail-alias2recipients.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/qmail-alias2recipients.sh b/scripts/qmail-alias2recipients.sh
new file mode 100644
index 0000000..60398d3
--- /dev/null
+++ b/scripts/qmail-alias2recipients.sh
@@ -0,0 +1,4 @@
+# Tx. Warren Odom (28 Apr 2005)
+
+cd HOME/alias
+ls -l .qmail-* | grep -v .qmail-default | tr -s " " | awk '{print $9}' | sed s/^\.qmail-// | awk '{print $2"@localhost"}' | sort -u >> HOME/users/recipients