AnsweredAssumed Answered

Configure inbound email on Alfresco Community 4.2.d with Gmail account on Goople Apps domain

Question asked by traductionbiz on Sep 24, 2013
Latest reply on Dec 30, 2014 by zydoon

I have Alfresco 4.2.d installed on an Ubuntu 12.04 server using the standard downloadable Alfresco package.

I want to use a Gmail account on a Google Apps domain for outbound and inbound mail to Alfresco.

My outbound mail is working OK, but I can't figure out how to configure my inbound mail for the complication that my domain is using Gmail provided via Google Apps.

I've followed Jeff Pott's how-to video at as regards creating a folder in the repository, to receive inbound mail, then editing that folder's aspects to add 'Aliasable (Email)', and the only user sending the inbound mail will be the site admin, and he's in the 'EMAIL CONTRIBUTORS' group, so that's enough to work, no?

The mail settings in my /opt/alfresco-4.2.d/tomcat/shared/classes/ look like the following:

### Outbound email configuration ###

# Outbound mail service test on subsystem startup
# Use these properties to send test message during start of subsystem
mail.testmessage.subject=System re-start: outbound SMTP mail subsystem working OK
mail.testmessage.text=The Outbound SMTP email subsystem is working.

### Inbound email configuration ###
# 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.

# Inbound email server settings

# 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:

### E-mail site invitation setting ###

1) What are the mail server settings that will work for Gmail on Google Apps? Remember, the receiving email address is but the user has to log in at

2) I currently have only 80 and 443 open on my firewall (the site only exposes to the Internet via SSL, visits to port 80 get rewritten to HTTPS). Do I need to have any other port(s) open for incoming mail?

3) I already have a StartSSL csr, key and cert for my domain. The Alfresco wiki page at talks about the need to configure SSL for Java, otherwise STARTTLS won't work.
How do I do that with the 4.2.d Community edition on Ubuntu 12.04? I can't any tomcat5.conf file anywhere, as mentioned in the wiki page.

Let's assume I have, and, plus StartSSL's ca.pem and

Do I need to put them somewhere? How do I need to prepare them?

I'd be very grateful for any help here, ;-)