05-05-2020 03:00 AM
when sending mails to alfresco, alfresco matches the Email adress of the sender to an adress of an alfresco user. If no user ist found, than an error "nouser" is not in the group of email_contributors. The problem is, that matching is strict (case sensitive), which means that if the sender adress is Mike.Test@test.com it will not match against mike.test@test.com (which is the mail adress of an existing Alfresco user) and an error is thrown.
Is there a way to configure the matching process, i.e. that the mail adress is first transformed to lowercase? Or has this always to be case sensitive?
05-05-2020 07:57 AM
I hope you have set all the following properties in alfresco-global.properties:
email.inbound.enabled=true
email.server.enabled=true
email.server.port=25
email.server.domain=your.domain.com
email.inbound.unknownUser=anonymous
email.server.allowed.senders=.*
You also will have to add an email alias aspect on the folder where you want to receive the email.
This has worked well for me.
05-05-2020 09:48 AM
Hi @uwe_wolfinger,
If I understand your issue correctly, you can setup Alfresco to do people lookups case-insensitive. Then, in this thread it's suggested that username/email should be lowercase by default.
HTH,
05-05-2020 10:02 AM
unfortunately this doesn't hit my problem exactly.
Let me giv an example:
Assuming an Alfresco User:
Name: John Doe
EMail: john.doe@alfresco.com
Within Alfresco, inbound email is setup correclty and works, also the email alias is set.
When Alfresco receives a mail with:
to: John.Doe@alfresco.com
then Alfresco will reject that mail, as the mail address John.Doe@alfresco.com (to address) does not match john.doe@alfresco.com (mail of the Alfresco user).
So it seems, that the comparison between the addresses is done case sensitive. The question is, if there is a point, where this can be configured to work in a case insensitive way.
Explore our Alfresco products with the links below. Use labels to filter content by product module.