find out email address from username
hello,
I am trying to generate a mailing list using the /etc/passwd file, going through the list of users, and appending @foo or @bar to the usernames. The problem is that I don't know how to find out what string I need to append because the users may have their email addresses on different servers.
Maybe there is a command that lets you find out a user's email address if you know their username (finger does not do that, it just gives the person's name)
thank you
|