# Bugs #1854: felamimail error when delete a user and recreate the same one

**URL:** <http://discourse.egroupware.org/t/bugs-1854-felamimail-error-when-delete-a-user-and-recreate-the-same-one/29017>\
**Category:** eGW-tracker\
**Created:** [November 27, 2008, 1:04pm UTC](http://discourse.egroupware.org/t/bugs-1854-felamimail-error-when-delete-a-user-and-recreate-the-same-one/29017 "2008-11-27T13:04:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tracker-3](http://discourse.egroupware.org/letter_avatar_proxy/v4/letter/t/d07c76/32.png) [@tracker-3](http://discourse.egroupware.org/u/tracker-3)\
**Post date:** [November 27, 2008, 1:04pm UTC](http://discourse.egroupware.org/t/bugs-1854-felamimail-error-when-delete-a-user-and-recreate-the-same-one/29017/1 "2008-11-27T13:04:40Z")

</div>

Ticket modified by Valerio Capoccia at 2008/11/27 14:06  
Tracking System: Bugs  
Category: FelamiMail  
Version: Version 1.4.004  
Status: Open  
Completed: 0%  
Priority: 5 - medium  
Created By: Valerio Capoccia  
Assigned to: Klaus Leithoff  
Summary: #1854 - felamimail error when delete a user and recreate the same one  
I’ve encountered the error described in subject because i had to delete some users from egroupware and recreate them. When i recreate them, they couldn’t visualize their maildir yet.  
instead of their mail home was displayed this error

Fatal error: Call to a member function getIncomingServer() on a non-object in /var/www/egroupware/felamimail/inc/class.bofelamimail.inc.php on line 67

i try to look better on that line and it seems like a reference to some preferences that seem to be lost

$this-\>icServer = $this-\>mailPreferences-\>getIncomingServer(0);

any suggestion? anyone encountered the same error?  
Comment by Valerio Capoccia at 2008/11/27 14:06:  
Hi,

i’ve read on a forum of a disperate man like me (i’ll try to find again the web address and post it there) that with a simply parameter change everything gonna works fine like before…

by going on modify configuration, in setup panel you’ve to change

Authentication / Accounts\*  
Select which type of authentication you are using\*:

from

SQL

to

mail

and everything goes good. The readed post said something like “…i ignore why it happens, but felamimail works fine after this change…”

i try to search on browser history to find again that forum post.

Can u explain us better why the system does this trick?

thx in advance and again my compliments for the great, unbelievable work!

Valerio Capoccia

Comment by Klaus Leithoff at 2008/11/27 13:47:  
Any news, more questions?  
I put that on pending.  
Comment by Klaus Leithoff at 2008/11/24 15:34:  
If you delete a user, its preferences, and settings will get deleted too.  
This is the fact for personal mail accounts as well.

Linked entries:  
[http://www.egroupware.org/egroupware/index.php?menuaction=tracker.tracker\_ui.edit&tr\_id=1854&no\_popup=1](http://www.egroupware.org/egroupware/index.php?menuaction=tracker.tracker_ui.edit&tr_id=1854&no_popup=1)
