Before using SquirrelMail, the user should first fill in at least the name and email address in the Personal Information option. But we can eliminate this step by using the RetrieveUserData plugin to retrieve this information from a variety of sources and automatically update this information.

Install the RetrieveUserData Plugin

SquirrelMail1. Download the retrieveuserdata plugin.
SquirrelMail2. Extract the downloaded file and put it into the /usr/share/squirrelmail/plugins directory.
SquirrelMail Configuration3. From a Terminal window, type in /usr/share/squirrelmail/config/conf.pl and press Enter. This will launch the SquirrelMail Configuration utility.

NoteIf your Terminal window has a white background, make sure that the colors are off by looking for the command Turn color on. If the command is Turn color off, type in C and press Enter to turn the colors off. This will ensure that you will be able to read all of the text.

SquirrelMail Configuration4. Type in 8 and press Enter to list the Plugins submenu.
SquirrelMail Configuration5. Install the retrieveuserdata plugin by typing in the number corresponding to it and press Enter.
SquirrelMail Configuration
6. Return to the Main Menu by typing in 9 and press Enter. Go to the General Options by typing in 4 and press Enter. In the General Options, type in 9 and press Enter to configure the editing of identity. This option will allow you to disable editing of the name and email address since this will be automatically updated. Save your changes when you are done.
SquirrelMail7. Login to SquirrelMail and go to the Options page and click Personal Information. The Full Name and E-mail Address should have been automatically filled up.

NoteBy default, RetrieveUserData will retrieve the name and email address from the Linux system accounts, but you can configure this by editing the file /usr/share/squirrelmail/plugins/retrieveuserdata/config.php. If you will be retrieving user information from an Active Directory or LDAP server, it will be easier if you setup the LDAP addressbook first so that the plugin can use the LDAP connection details there. Then all you have to do is comment the line $SQRUD_RETRIEVE_DATA_FROM = “passwd.php” and uncomment the line $SQRUD_RETRIEVE_DATA_FROM = “ldap.php” in the configuration file.

***
Posted on 12/24/2007 and last updated on 12/25/2007
Filed under Active Directory , LDAP , SquirrelMail


Share This