On Wed, 5 Dec 2018, Alexander Dalloz wrote:
I have a group alias (a...@company.com).
(1) Only company.com accounts should be able to send an email to everybody
in that company via a...@company.com.
(2) - rather optional: refine the restrictions, e.g. two groups,
g...@company.com and g...@company.com. Grp1 members should be able to send
mails to grp2 but not vice versa.
Both to be setup on MTA side.
Agreed. You can manage your mailing lists with software (e.g. mailman),
or hack in a filter between the (public) external and (secret) internal
mailing list e.g.
# Forwards to grp1-secret@ if sender is approved
grp1: |/path/to/check-sender-filter
grp1-secret: :include:/path/to/grp1.list
If spoofing is a concern, you'll have to endow your filter with more
intelligence.
Joseph Tam <jtam.h...@gmail.com>