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

etzapata
Champ in-the-making
Champ in-the-making
Hi All,

In my custom-repository.properties:

dir.root=d:\alf_data
# Email configuration

mail.host=mail.unionbankph.com
mail.port=25
mail.username=anonymous
mail.password=

In my web-client-config-custom.xml:

   <!– Example of overriding the from email address –>
   <config>
      <client>
         <from-email-address>etzapata@unionbankph.com</from-email-address>
         <search-max-results>100</search-max-results>
      </client>
   </config>

The emails are sent but the From is etzapata@unionbankph.com. When the recipient receives the email, I want the From to appear as Alfresco Admin NOT etzapata@unionbankph.com. If I replace the etzapata@unionbankph.com into Alfresco Admin in the web-client-config-custom.xml, the email will not send at all.
Do I need to configure other files?
Thank you very much for any inputs.

EriCtZ

etzapata
Champ in-the-making
Champ in-the-making
Hello everyone,

I found the reason for the error - it was because of the whitespace in the <from-email-address>Alfresco Admin</from-email-address>. I just change it to Alfresco_Admin and it went fine.

Thank you very much everyone.

EriCtZ

gtichelaar
Champ in-the-making
Champ in-the-making
Dear,

Systeminfo:
-alfresco 2.0.1 / on Red Hat Enterprise Linux Server release 5.2 Beta (Tikanga) / jbossas-4.0.4-0.2.rhx

I still try to change the default from email adres setting.
I moved the file : /etc/jbossas/all/alfresco/extension/web-client-config-custom.xml.sample to /etc/jbossas/all/alfresco/extension/web-client-config-custom.xml
and changed : /etc/jbossas/all/alfresco/extension/web-client-config-custom.xml

<!– Example of overriding the from email address –>
   <!–
   <config>
      <client>
         <from-email-address>piet@klaas.com</from-email-address>
         <search-max-results>100</search-max-results>
      </client>
   </config>

After that i restarted jbosass.
But the from email is still alfresco@alfresco.com

I also tried to change the file  : /etc/jbossas/all/alfresco/extension/custom-repository.properties
and added the mail.from.default = whatever from mail address value setting.
After that i restarted jbosass.

But still no result.

Any idea ?

Why doesn't alfresco use the email adres of user who sends the mail? This is a setting which can be altered from alfresco itself.

Thanks,

Geert tichelaar

prijke
Champ in-the-making
Champ in-the-making
Got the same problem Geert…. only I am deploying in Tomcat on FreeBSD, but the behaviour is exaclty the same….

In my case it appears that the custom property files aren't used at all….

prijke
Champ in-the-making
Champ in-the-making

gtichelaar
Champ in-the-making
Champ in-the-making
Right, thanks..

But it's still strange. There are people with positive results.

Grtz. Geert

g_rathod
Star Contributor
Star Contributor
Hi friend,

Hope this little help may solve the problem.

change following files :

1) repository.properties
2) web-client-config-custom.xml
3) webclient_en_US.properties
4) webclient.properties


Search for mail address on given files and replace with yours..
thts it.

HOPe this helps.