I would like to configure Nethserver NG 7.x to allows to send mails only if the sender ("From: ") is the same of the autenticated user or he/she have some allowed identities.
I tried with this article:
that it’s seems to do what I want, but I can’t make it work.
The identities may be differents from the user’s email domain.
my account in the server is firstname.lastname@example.org and I want to be allow to send mails from my account only if in the "From: " field I put email@example.com (my e-mail address) or some identities as firstname.lastname@example.org, email@example.com, firstname.lastname@example.org (these are only identity that I allowed to use wit my account).