diff options
Diffstat (limited to 'localusermailaddr')
| -rwxr-xr-x | localusermailaddr | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/localusermailaddr b/localusermailaddr deleted file mode 100755 index 6595a38..0000000 --- a/localusermailaddr +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/sh -# -# /usr/local/sbin/localusermailaddr -# Copyright 2002 Jonas Smedegaard <dr@jones.dk> -# -# $Id: localusermailaddr,v 1.1 2002-03-11 14:15:48 jonas Exp $ -# -# List mail addresses attached to an account -# - -for uid in $@; do - grep "[[:space:]]$uid\$" `ls /etc/postfix/virtual* | egrep -v '\.(bak|db|dpkg-new|dpkg-old|old)$'` | sed -e 's/.*://' -e 's/[[:space:]].*//' | sort - echo "$uid@`cat /etc/mailname`" -done |
