cancel
Showing results for 
Search instead for 
Did you mean: 

Re: How to setup Inbound Mails in alfresco.

mhmmderen
Champ on-the-rise
Champ on-the-rise

Hi, I want to establish a connection between Alfresco and Ldap mail server and keep mail in Alfresco. I'm using Imap for this but it doesn't work. does not write anything as an error in logs. 

 \n\
    mail.host=smtp.gmail.com\n\
    mail.port=465\n\
    mail.username=mail address@gmail.com\n\
    mail.password=*******\n\
    mail.protocol=smtps\n\
    mail.smtps.starttls.enable=true\n\
    mail.smtps.auth=true\n\
    \n\
    mail.testmessage.send=true\n\
    mail.testmessage.to=mail address@gmail.com\n\
    mail.testmessage.subject=test outbound\n\
    mail.testmessage.text=The Outbound testing.\n\
    \n\
    email.inbound.enabled=true\n\
    \n\
    email.server.enabled=true\n\
    email.server.port=25\n\
    email.server.domain=ip address\n\
    email.inbound.unknownUser=anonymous\n\
    email.server.allowed.senders=.*\n\
    \n\
    email.inbound.enabled=true\n\
    email.server.enabled=true\n\
    email.server.port=465\n\
    email.server.domain=stmp.gmail.com\n\
    email.server.hideTLS=true\n\
    email.server.enableTLS=true\n\
    email.server.requireTLS=true\n\
    email.inbound.unknownUser=anonymous\n\
    notification.email.siteinvite=true\n\
    \n\
    notification.email.siteinvite=true\n\
    \n\
    imap.server.enabled=true\n\
    imap.server.port=143\n\
    imap.server.host=localhost\n\
    \n\

I configuration settings not working not error . can you help me with this

Thanks and Regards 

1 REPLY 1

kintu_barot
Star Collaborator
Star Collaborator

You need to follow some more steps.

1. Create one folder at Repository/Inbound-email.

2. Add the aspect "Email Alias" to it.

3. Edit the properties of Inbound-email folder and add the alias name(existing username) to it

4. Create a group "EMAIL CONTRIBUTORS"

5. Add the user (alias) in the EMAIL CONTRIBUTORS group along with other users.

Then you can test by sending an email.

Note: additional configuration might require for the email server setup if you don't have done it.

Regards,
Kintu