The following script retrieves the password of a mailname given the mail account name as input
This is version.2.0 of the same
.The previous one i had written was very complex and created many files in /tmp which was useless.Version 2.0 is an elegant approach and will not create any stale files!
wget http://gnusys.net/downloads/psamailpass.bash
bash psamailpass.bash
This post was written by Anoop Alias on May 15, 2008

what would it be required to modify in order to have the script return the accounts that are in a “mail group” ?