No with each login, only with the first login the Address Book is not imported, then additional modifications are overwritten and are not put on not doubly contacts. A small fast solution is like that without large checking of the input.
If the data base server is the same and the Squirrelmail tables should be appropriate in another railways it also to function the railways before the name to indicate… so long the RoundCube entrance also for vintage right in the Squirrelmail table has.
if ($user_id = $dbh->insert_id(get_sequence_name('users')))
{
//Import Users Squirrelmail Address Book on first login start
//Insert for squirrelmail the name of the squirrelmail DB
if($rcmail->config->get('import_squirrel_addresses')) {
$dbh->query(
"INSERT INTO ".get_table_name('contacts')."
(name, firstname, surname, email, user_id)
SELECT nickname, firstname, lastname, email, '".$user_id."'
FROM squirrelmail.address
WHERE owner = '".strip_newlines($user)."'
ORDER BY lastname ASC");
}
//Import Users Squirrelmail Address Book on first login end