cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco Inbound Email Configuration

uwe_wolfinger
Champ in-the-making
Champ in-the-making
I tried to configure the inbound email feature, unfortunately with no luck. All emails sent to alfresco are rejected.

My configuration is as follows:

email.inbound.enabled=true
email.server.enabled=true
email.server.port=1025
email.server.domain=…
email.server.hideTLS=false
email.server.enableTLS=false
email.server.requireTLS=false
email.inbound.unknownUser=anonymous
email.server.allowed.senders=.*

- User is member of EMAIL_CONTRIBUTORS
- User email is the same, as the from mail
- User has full access to the corresponding email alias folder

when i try to send a mail i receive the following error (a postfix server acts as the entry point and relays the mails to alfresco):

Jul 19 11:21:56 … postfix/smtp[9952]: 2145D347B24: to=<…>, relay=…:1025, delay=0.07, delays=0.02/0/0/0.05, dsn=5.0.0, status=bounced (host … said: 554 '…' has been denied access to '…'.  (in reply to end of DATA command))

Any hints are appreciated.

Kind regards,
Uwe
3 REPLIES 3

jpotts
World-Class Innovator
World-Class Innovator

I know you say that the user has full access to the corresponding email alias folder, but have you tried logging in as that user and verifying that you can create a document in that folder? And also double-checking that the folder alias you are using matches the folder you are testing?

I'm just asking because it seems like you have everything addressed and the simplest explanation is that the folder permissions aren't allowing the write.

josmeldiaz21
Champ on-the-rise
Champ on-the-rise

I have the same problem, I dont know if I need to configure the port 1025 in my Server or in my router. Any suggestions? Im pretty new in alfresco. Thanks.

jpotts
World-Class Innovator
World-Class Innovator

If some other system is routing mail to postfix, and postfix is running on port 25, then you shouldn't need to open port 1025 on your server because postfix should be using localhost to connect to Alfresco.

If you are getting access denied, please check that:

(1) The sender's email address matches an email address in a person document in Alfresco.

(2) The sender has been added to the EMAIL_CONTRIBUTORS group.

(3) The sender has write access on the folder the email is being sent to.

(4) The sender's email address matches the pattern in the allowed senders property in alfresco-global.properties.

If all of this is true and you still cannot send mail into Alfresco, use a script to send a message from the machine itself directly to the Alfresco SMTP listener on port 1025. If you don't know how to write one of those, google "Python sendmail example" and you should get at least one result that will work.

If you can send email successfully from the machine directly to Alfresco, then your problem has nothing to do with Alfresco and is more likely a postfix config problem or some other email configuration issue.