cancel
Showing results for 
Search instead for 
Did you mean: 

How to send invitation email using a default FROM

daniele_piagges
Champ in-the-making
Champ in-the-making
Hi!

I've installed a 3.4d version of Alfresco for a customer of mine. I need to configure Alfresco Share to use a default FROM when sends invitation emails. How can I set it? I googled a bit but I cannot found anything about it.
Could you help me?

Thanks in advance
Daniele Piaggesi
2 REPLIES 2

cheffilet
Champ in-the-making
Champ in-the-making
Have you tried to change in you alfresco-global.properties following line?


mail.from.default=customer@customer-web.com

gozvakond
Champ in-the-making
Champ in-the-making
Hi Cheffilet!

I've ran into some problems with e-mail invitations. I've managed to get it working with my gmail acount. But I'd like to use my department's own mailing system (porfix+policyd).

Let alfresco@mydept.tld be the dedicated alfresco outbound account, while the inviting user's mail is user@somedomain.com and the invited user has  invitee@otherdomain.com.

The outbound testmail arrives from alfresco@mydept.tld, and it seems like it is working.
However when I try to send invitation with user (user@somedomain.com) it fails.
I'll cite the postfix logs, but the same can be found in alfresco logs also:

postfix/smtpd[21859]: NOQUEUE: reject: RCPT from alfresco.mydept.tld[x.x.x.x]: 553 5.7.1 <user@somedomain.com>: Sender address rejected: not owned by user  alfresco@mydept.tld; from=<user@somedomain.com> to=<invitee@otherdomain.com> proto=ESMTP helo=<alfresco>

So it seems like Alfresco tries to send with alfresco@mydept.tld account authentication with user@somedomain.com as sender. Which is rejected as alfresco@mydept.tld account should not send in the name of other accounts. (strict anti-spam rule but I won't change it).

setting is:
mail.from.default=alfresco@mydept.tld

I would like to set this account to be the sender of all invitation e-mails. Perhaps daniela had similar problems.
I think Alfresco should not try to send in the name of other accounts. It has its own to do this.

Notice:
The source code of invitation emails from gmail do not show any sign of altered sender field, but I suppose the gmail SMTP server changes the whole header of the mail and replaces the from field to that of the authenticating user's, while accepting all type of senders after successful smtp auth. A few years ago I had some problems from this behaviour.

Regards,
Gőzvakond
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.