How to test Inbound mail if it´s working

cancel
Showing results for 
Search instead for 
Did you mean: 
iphost_zan
Active Member

How to test Inbound mail if it´s working

Jump to solution

Hi Everyone

 

I have configured inbound and outbound mail for the last version of alfresco "201701 GA Release"

For outbound configuration works well because the email goes to my account but i dont know how i can test the email inbound ?? any idea?

 

The firewall is desabled

 

The purpose is to have all replicated alfresco folders in thunderbird.


This is my configuration: ( alfresco-global.properties )

 

######## Outbound Email Configuration #########

######### Sample SMTP settings ###########

mail.host=smtp.gmail.com
mail.port=465
mail.username=paul@gmail.com
mail.password=*******
mail.protocol=smtps
mail.smtps.starttls.enable=true
mail.smtps.auth=true
mail.encoding=UTF-8

### Test message when Alfresco starts ###
mail.testmessage.send=true
mail.testmessage.to=paul@gmail.com
mail.testmessage.subject=Outbound mail from Alfresco, server started.
mail.testmessage.text=Outbound SMTP email subsystem is working. Installed on ${dir.root}

 

######### Inbound email configuration #########

email.inbound.enabled=true
# Inbound email server settings

email.server.enabled=true
email.server.port=993
email.server.domain=imap.gmail.com

email.server.hideTLS=false
email.server.enableTLS=true
email.server.requireTLS=false
email.inbound.unknownUser=anonymous

email.server.allowed.senders=.*

### E-mail site invitation setting ###
notification.email.siteinvite=true

 

Thank you!

Paul

1 Solution

Accepted Solutions
jpotts
Professional

Re: How to test Inbound mail if it´s working

Jump to solution

You made a comment about replicating the email folders in your Thunderbird client into Alfresco. That is not what inbound email is for. Inbound email is for sending email to the Alfresco server where the body of the email and the attachments are stored in the folder specified by the email. The functionality has nothing to do with whatever folder scheme you are using to organize emails in your mail client.

Regardless, here is how you test inbound email:

1. Find a folder and add the email alias aspect.

2. Edit the folder properties and set the email alias to something like "testfolder" or something more descriptive.

3. Make sure your test user has write access to the folder.

4. Make sure your test user has an email address in their profile.

5. Make sure your test user is in the EMAIL_CONTRIBUTORS group.

6. Make sure your test user email matches the pattern set in the "allowed senders" property in alfresco-global.properties.

7. Using your test user's email client, send an email to "testfolder@alfresco.somedomain.com". Of course this assumes that your corporate mail servers understand how to route email to the alfresco server based on that domain.

8. Go check the folder you added the alias to. Your email should be sitting in that folder.

If your email is not in the folder, then you are in troubleshooting mode and there are several threads in this community that can help you with that.

Jeff

View solution in original post

2 Replies
jpotts
Professional

Re: How to test Inbound mail if it´s working

Jump to solution

You made a comment about replicating the email folders in your Thunderbird client into Alfresco. That is not what inbound email is for. Inbound email is for sending email to the Alfresco server where the body of the email and the attachments are stored in the folder specified by the email. The functionality has nothing to do with whatever folder scheme you are using to organize emails in your mail client.

Regardless, here is how you test inbound email:

1. Find a folder and add the email alias aspect.

2. Edit the folder properties and set the email alias to something like "testfolder" or something more descriptive.

3. Make sure your test user has write access to the folder.

4. Make sure your test user has an email address in their profile.

5. Make sure your test user is in the EMAIL_CONTRIBUTORS group.

6. Make sure your test user email matches the pattern set in the "allowed senders" property in alfresco-global.properties.

7. Using your test user's email client, send an email to "testfolder@alfresco.somedomain.com". Of course this assumes that your corporate mail servers understand how to route email to the alfresco server based on that domain.

8. Go check the folder you added the alias to. Your email should be sitting in that folder.

If your email is not in the folder, then you are in troubleshooting mode and there are several threads in this community that can help you with that.

Jeff

gluck113
Established Member

Re: How to test Inbound mail if it´s working

Jump to solution

Like Jeff I am intrigued by the sentence "The purpose is to have all replicated alfresco folders in thunderbird."

Maybe you could look at having an IMAP endpoint on a folder in Alfresco and then set this endpoint in your Thunderbird?

Let us know how is it goes