cancel
Showing results for 
Search instead for 
Did you mean: 

Email server

paul_jacobs
Champ in-the-making
Champ in-the-making
Where do I configure an email server to forward email out of Alfresco?

I'm playing with 1.4 Comm/Ent or 2.0 Pre Comm all JBoss…
6 REPLIES 6

heckle
Champ in-the-making
Champ in-the-making
If your using jboss, the configuration file is located at:

<JBOSS_HOME>/server/default/tmp/deploy/tmp*alfresco-exp.war/WEB-INF/classes

there is a file named repository.properties in a directory named alfresco here that lists email config options.
The recommended thing to do though is not to change this file, but to copy the
block that pertains to email and create a new file in the extension folder which is in:

<JBOSS_HOME>/server/default/conf

there should also be an alfresco directory here. Create a file with a common sense name like email.properties or along that lines.

I have tried this, but it doesn't alway work. I might be missing a step.

paul_jacobs
Champ in-the-making
Champ in-the-making
I tried this to no avail.  Is there a place in the logs I can look to see whether the mail host I specify is being picked up?  It's trying to send but with localhost so I'm guessing it's not picking it up…

heckle
Champ in-the-making
Champ in-the-making
The alfresco.log file will have some info. Unfortunately java apps create really messy logs that are hard to wade through. My logs show that the emails are trying to be sent from localhost instead of the email server i entered. Are you getting the same?

paul_jacobs
Champ in-the-making
Champ in-the-making
Yes.  I'm getting exactly the same.  Then in the console I see the java layer generating an error because of the invalid mail host.

heckle
Champ in-the-making
Champ in-the-making
it seems that alfresco cannot connect to secured servers. Perhaps the best thing to do would be to install a local mta, like exim4 or postfix. Thats another adventure though…

paul_jacobs
Champ in-the-making
Champ in-the-making
It's not a secure server.  The software doesn't seem to find the newly specified email server name.