I'm setting up an Alfresco AWS instance and trying to configure inbound email.
As per the inbound email documentation I've configured it, hosted the Alfresco mail server on port 1025, set up an iptable rule to forward port 25 --> 1025, set up an folder in Alfresco with the alias 'dropoff' and added my work email as an allowed user for sending emails. I've also ensured all the email ports (25,1025,465,etc.) are open on the EC2 instance
So far so good. If I test everything from my local computer withtelnet:
helo mywork.com mail from:email@example.com rcpt to:firstname.lastname@example.org data From: email@example.com Subject: test mail from command line this is test number 1 sent from linux box .
Then it works. I look in the Alfresco folder and there's the test email document. However, if I use Gmail and sign firstname.lastname@example.org send an email through Gmail, then it doesn't work. It sends with no errors and there's nothing in Alfresco logging, however the document just never appears in the Alfresco folder. The from/to address is the same as the telnet command's one.
Since I can telnet from my local computer to the instance I assume it's not an issue with ports on the EC2 instance. Why would telnet work but sending it via Gmail not?
I enabled TLS and got a log error saying the IMAP subsystem wasn't enabled when sending an email. So I also added the IMAP config to the alfresco-global.properties and now again there's no errors on sending but the email never makes it.
Yes still having it. When I send an email I just get the same "TLS Negotiation failed" message back after a short delay from Gmail that I mentioned above. I was thinking it might be a difference in TLS version, like maybe Alfresco was using v1.0 but Gmail uses v1.2. But I can't find any configuration options for changing the TLS version Alfresco uses.