cancel
Showing results for 
Search instead for 
Did you mean: 

Inbound storage mail

chicco0386
Champ on-the-rise
Champ on-the-rise
Hi,
I look for store my mail (myuser@gmail.com) into Alfresco space…

I have read the wiki but with no results.

I can send email with my account gmail, but I can't store my inbound mail into an Alfresco space…

CAN YOU HELP ME?

This is my email configuration:

For send (IT WORKS FINE)
mail.host=smtp.gmail.com
mail.port=465
mail.protocol=smtps
mail.username=user@gmail.com
mail.password=
mail.smtps.starttls.enable=true
mail.smtps.auth=true

For receive:
#
# Alfresco Email Service and Email Server
#

# Enable/Disable the inbound email service.  The service could be used by processes other than
# the Email Server (e.g. direct RMI access) so this flag is independent of the Email Service.
email.inbound.enabled=true
# The username to authenticate as when the sender address is not recognised
email.inbound.unknownUser=anonymous

# Email Server properties
email.server.enabled=true
#email.server.port=25
#email.server.domain=alfresco.com

email.server.port=25252
email.server.domain=gmail.com

#
# A comma separated list of email REGEX patterns of allowed senders.
# If there are any values in the list then all sender email addresses
# must match.  For example:
#   .*\@alfresco\.com, .*\@alfresco\.org
# Allow anyone:
email.server.allowed.senders=.*

#
# A comma separated list of email REGEX patterns of blocked senders.
# If the sender email address matches this then the message will be rejected.
# For example:
#   .*\@hotmail\.com, .*\@googlemail\.com
#email.server.blocked.senders=

For open the port under linux I read this topic http://forums.alfresco.com/en/viewtopic.php?f=8&t=17164&p=60309&hilit=inbound+mail#p60309

THANKS
I hope that you can help me
PLEASE
18 REPLIES 18

chicco0386
Champ on-the-rise
Champ on-the-rise
OK,
this my configuration of custom-email-server.properties
email.inbound.enabled=true
email.inbound.unknownUser=anonymous
email.server.enabled=true

email.server.port=25252
email.server.domain=mydomain.it

email.server.allowed.senders=.*
email.server.blocked.senders=

now I don't receive any error when I send from my gmail account to mydomain.it into Alfresco…

BUT  Smiley Sad
I can't see the e-mail into Alfresco…
Why?

HELP ME PLEASE

chicco0386
Champ on-the-rise
Champ on-the-rise
Sorry but I DON'T solved anythinks…

help me please

THANKS

mikeh
Star Contributor
Star Contributor
Firstly, please stop bumping your own topic - it's very annoying and is not going to get your problem answered any quicker.

Secondly, make sure your e-mail recipient (the part before the @) matches an Alfresco username who is a member of the EMAIL_CONTRIBUTORS group.

Mike

chicco0386
Champ on-the-rise
Champ on-the-rise
Firstly, please stop bumping your own topic - it's very annoying and is not going to get your problem answered any quicker.
Sorry, but I thinks that's is better than open a new post for the same things…
Secondly, make sure your e-mail recipient (the part before the @) matches an Alfresco username who is a member of the EMAIL_CONTRIBUTORS group
For this I don't have understand…In the part before the @ I don't must to put the email alias that I've added to a space?
My configuration is the same…
email.inbound.enabled=true
email.inbound.unknownUser=anonymous
email.server.enabled=true

email.server.port=25252
email.server.domain=mydomain.it

email.server.allowed.senders=.*
email.server.blocked.senders=

In the Email-contributor group I've three user…
1) admin
2) proto
3) anonymous

And after I've set in a space the email alias = proto

So when I enter in my gmail account for send a email I put in the TO label this: "proto@mydomain.it"
But after few minutes I receive this response to the message:
This is an automatically generated Delivery Status Notification

Delivery to the following recipient failed permanently:

    proto@mydomain.it

Technical details of permanent failure:
Google tried to deliver your message, but it was rejected by the recipient domain. We recommend contacting the other email provider for further information about the cause of this error. The error that the other server returned was: 550 550 No Such User Here (state 14).

So into my space with the mail alias I found nothing…
HELP ME PLEASE
Give me some instructions.
THANKS

N.B. Sorry me if I continuing to reply to my post, but I think it's better then open a new post with the same topic…

samuel_penn
Champ in-the-making
Champ in-the-making
In your posted configuration, you have:

email.server.domain=mydomain.it

Is this actually what your configuration says, or have you changed it to protect your privacy? It may be stating the obvious, but you need to be sure that whatever mail configuration you set up can be reached from Google (it's a valid domain owned by you, with an MX record configured correctly to make sure email goes to the Alfresco server, and firewalls and routers will allow SMTP traffic to that machine).

Have you tested things locally? Use a local mail client (a UNIX command line mail program such as sendEmail would work) to try and send an email into Alfresco. You should be able to specify the Alfresco server directly (as the SMTP server), so you can test that the Alfresco side works before checking that routing over the internet works.

e.g., if you have sendEmail installed on the Alfresco server, configuration similar to the following might work (I haven't tested this):

sendEmail -s localhost:25252 -u Test -m Hello -f proto@mydomain.it -t proto@mydomain.it

Sam.

chicco0386
Champ on-the-rise
Champ on-the-rise
In your posted configuration, you have:

email.server.domain=mydomain.it

Is this actually what your configuration says, or have you changed it to protect your privacy? It may be stating the obvious, but you need to be sure that whatever mail configuration you set up can be reached from Google (it's a valid domain owned by you, with an MX record configured correctly to make sure email goes to the Alfresco server, and firewalls and routers will allow SMTP traffic to that machine).

Have you tested things locally? Use a local mail client (a UNIX command line mail program such as sendEmail would work) to try and send an email into Alfresco. You should be able to specify the Alfresco server directly (as the SMTP server), so you can test that the Alfresco side works before checking that routing over the internet works.

e.g., if you have sendEmail installed on the Alfresco server, configuration similar to the following might work (I haven't tested this):

sendEmail -s localhost:25252 -u Test -m Hello -f proto@mydomain.it -t proto@mydomain.it

Sam.
Thanks for the response.
I don't understand what you want to say.
I don't test it in localhost.
I'm not able to use the sendmail function…
But also if I put this line:

email.server.domain=gmail.com

and set an email alias to space with the name of my gmail user account, I can't store the mail into the space…

samuel_penn
Champ in-the-making
Champ in-the-making
You said you tried sending an email from Google to proto@mydomain.it

Do you own the mydomain.it address?

Sam.

chicco0386
Champ on-the-rise
Champ on-the-rise
No,
but I also try to send an email to user@gmail.com with the configuration:
email.inbound.enabled=true
email.inbound.unknownUser=anonymous
email.server.enabled=true

email.server.port=25252
email.server.domain=gmail.com

email.server.allowed.senders=.*
email.server.blocked.senders=
, and this address is my…but it doesn't work…
I also added the "user" to the email-contributoor group, and set the email alias "user" to a space…
BUT NOTHING

THANKS A LOT FOR THE RESPONSE…
I HOPE THAT YOU CAN HELP ME

samuel_penn
Champ in-the-making
Champ in-the-making
In which case it's not going to work.

If you send something to @gmail.com then the email will go to Google's email server. Likewise, anything to "mydomain.it" will go to someone else's mail server, and since they don't have a proto user, you get the user not valid error that Google gave you.

If you want Alfresco to receive email from the outside world (e.g., from Google), then you need your own domain with email routing set up correctly. This is all outside the scope of Alfresco configuration, and can be quite complex if you haven't done it before.

You should be able to send email from Alfresco (and it looks like you have settings for Google's SMTP server in your configuration), but receiving is a lot more complex.

If you can test it, and get it working, locally, then you might be able to download email from a local client (such as a POP client reading from Google) and forward it to Alfresco.

Sam.
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.