cancel
Showing results for 
Search instead for 
Did you mean: 

cannot change mailsender

cmlgzlc
Champ in-the-making
Champ in-the-making
Hello,
We have alfresco running on Debian, tomcat5.5, mysql. Testing the system I tried to configure the mail sending and create a rule. OK, we got the mail, but sender is: munwar@cignex.com . I could not find the file to configure the sender.

Thank you in advance..
Another question: Does the system now act like an smtp server?
16 REPLIES 16

davidc
Star Contributor
Star Contributor
Which install of Alfresco are you using?

cmlgzlc
Champ in-the-making
Champ in-the-making
Which install of Alfresco are you using?

Alfresco-community-war-2.1.0

davidc
Star Contributor
Star Contributor
config/alfresco/repository.properties:

mail.from.default=alfresco@alfresco.org

Someone on your side must have changed it to munwar@cignex.com.

daniele001
Champ in-the-making
Champ in-the-making
Hi
I've the opposite problem. I cannt find a way to change the sender from alfresco@alfresco.org.

Same version 2.1 community running on a SuSe Linux server 10.

I found the repository properties in tomcat/webapps/alfresco/WEB-INF/classes/alfresco/  and not wher you suggested.

I think that the file I modified is the correct one, I've entered there the SMTP server address..

Tnks in advance

Daniele

cmlgzlc
Champ in-the-making
Champ in-the-making
config/alfresco/repository.properties:

mail.from.default=alfresco@alfresco.org

Someone on your side must have changed it to munwar@cignex.com.

I've tried that, it is still the same Smiley Sad

mikef
Champ in-the-making
Champ in-the-making
The default values in config/alfresco/repository.properties can be overridden using the standard extensions mechanism. Specifics depend on how your particular install is configured, but is typically in <TOMCAT>\shared\classes\alfresco\extension\custom-repository.properties you can put the mail configuration in here. Please note: we recommend that you always override rather than change the standard config to make upgrades easier.

daniele001
Champ in-the-making
Champ in-the-making
Hi

I've tried to use the suggestion you gave me and thye other guy, but I've still have the same problem.
I think that there should be something that is in a higher level.

I'm using the 2.1.0 Community for Linux (SuSe Enterprise server) but using the download of Alfresco with Tomcat, I assume that in Tomcat should be "softcoded" somewhere "alfresco@alfresco.org"

I'm drilling down Catalina configuration, but at the minute no good news.

The fact that cmlgzlc get messages from a real internal email address (no alfresco@alfresco.org) give me the suggestion that the problem shouldbe in  Tomcat….

I think he used the WAR file and not the bundle application like me.

Thanks for your support and suggestions, are really appreciated!!!

Kind regards

Daniele

cmlgzlc
Champ in-the-making
Champ in-the-making
Hi

I've tried to use the suggestion you gave me and thye other guy, but I've still have the same problem.
I think that there should be something that is in a higher level.

I'm using the 2.1.0 Community for Linux (SuSe Enterprise server) but using the download of Alfresco with Tomcat, I assume that in Tomcat should be "softcoded" somewhere "alfresco@alfresco.org"

I'm drilling down Catalina configuration, but at the minute no good news.

The fact that cmlgzlc get messages from a real internal email address (no alfresco@alfresco.org) give me the suggestion that the problem shouldbe in  Tomcat….

I think he used the WAR file and not the bundle application like me.

Thanks for your support and suggestions, are really appreciated!!!

Kind regards

Daniele


I tried another server without installing the 'records management' and then we have alfresco@alfresco.org which I cannot change.

munwar
Champ in-the-making
Champ in-the-making
Wow.  I was searching for certain mail related information and found my name (munwar@cignex.com) being discussed.  Interesting !!!

The mail configuration can be (or might have been) configured at 3 possible locations.

1> The default values are in <config>/alfresco/repository.properties file.  Typically for tomcat installation, the <config> folder is your_tomcat/webapps/alfresco/WEB-INF/classes/alfresco folder.

Check "mail.from.default=" value in this file.  It should be alfresco@alfresco.org (which is default).

As David clearly mentioned in his earlier reply.  NEVER EDIT THIS FILE.

It is recommended to override the configuration in the extensions so that the future upgrades are not broken.

2> Shared Extensions folder.

See if you have "custom-repository.properties" file in <TOMCAT>\shared\classes\alfresco\extension\ folder.  If not, you can create one.

Specify your mail sender configuration here…
mail.from.default = whatever from mail address value.

3> AMP Package Extensions Folder.

If you have installed an AMP package, such as Records Management or a custom one, then it creates a new WAR file and keeps all the custom configurations in the following folder:

<config>/alfresco/extension.  For Tomcat, it is "tomcat\webapps\alfresco\WEB-INF\classes\alfresco\extension" folder.

It is possible that you have "custom-repository.properties" file here.  Check the mail.from.default property and update it accordingly.

Hope this helps.  Let us know if this solved the problem.