Index: dovecot_ident.php
--- dovecot_ident.php.orig
+++ dovecot_ident.php
@@ -17,7 +17,7 @@ class dovecot_ident extends rcube_plugin 
 
   function add_ident($args)
   {
-    $args['preauth_ident'] = $args['preauth_ident'] ? array_merge($args['preauth_ident'], array('x-originating-ip' => $_SERVER['REMOTE_ADDR']))
+    $args['preauth_ident'] = isset($args['preauth_ident']) ? array_merge($args['preauth_ident'], array('x-originating-ip' => $_SERVER['REMOTE_ADDR']))
 									: array('x-originating-ip' => $_SERVER['REMOTE_ADDR']);
     return $args;
   }
