AnsweredAssumed Answered

Error receiving emails for some email aliases

Question asked by sebp on Aug 19, 2008
Latest reply on Sep 21, 2010 by sebp
I configured the inbuilt Alfresco SMTP server and it works fine for some Email Aliases and for some it doesn't. If I give a folder the Email Alias 123456 and send an Email to the Alfresco SMTP Server with To: 123456@mycompany.com it works and the Email ends up in the folder with the 123456 alias. If I rename the EMail Alias of the same folder to sebastian and send a mail to sebastian@mycompany.com it doesn't work and I get the error:
The email address 'sebastian@mycompany.com' does not reference a valid accessible node.

I tried a little bit and found out that e.g. the following aliases work:
1234
Inbox
Fred
These aliases don't work:
sebastian
Klaus

I debugged a little bit and found out that EmailServiceImpl line 280:
ResultSet resultSet = searchService.query(storeRef, SearchService.LANGUAGE_LUCENE, query);
does not return any result for some aliases even if the alias is set on a folder. Anyone having the same problem or even better a solution?

Outcomes