You can use
http://www.postfix.org/postconf.5.html#smtpd_sender_login_maps
and reject_authenticated_sender_login_mismatch.
to define who can use what sender address.
Note this does not enforce the display From: header, only the
envelope sender. With normal mail clients this isn't a problem.
Alternately, you can control it all yourself -- use canonical_maps
to map users to the correct outgoing domain, then use
virtual_alias_maps to map incoming mail back to the original user.
-- Noel Jones
On 12/19/2023 12:34 PM, Richard Raether via Postfix-users wrote:
In addition, the boss just asked is there a way to restrict the
group of users that can send from that second domain? We are using
ldap for authentication. Please forgive any ignorance on my part.
On 12/19/23 10:22 AM, Noel Jones via Postfix-users wrote:
On 12/19/2023 9:41 AM, Richard Raether via Postfix-users wrote:
Problem:
Our mail server sends mail from cct.lsu.edu. A group of users
want to send mail and have their address be stellar-group.org. We
already have this in mydestination so we do /get/ email sent to
that domain, but at current you can't send email /from/ that
domain and have the address show up as that. Is there a way to do
this in postfix?
Typically the sender information is set in the user's mail client.
If they send mail with the new domain as sender, postfix shouldn't
alter it.
It's possible for postfix to do the mapping using canonical_maps,
but the first choice should be configuring the user's mail client.
If this isn't working as expected, please send logging
demonstrating the problem, and your "postconf -Mf".
-- Noel Jones
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org