Restricting sending mail to domain or group
Joseph Tam
jtam.home at gmail.com
Wed Dec 5 23:46:48 EET 2018
On Wed, 5 Dec 2018, Alexander Dalloz wrote:
>> I have a group alias (all at company.com).
>> (1) Only company.com accounts should be able to send an email to everybody
>> in that company via all at company.com.
>> (2) - rather optional: refine the restrictions, e.g. two groups,
>> grp1 at company.com and grp2 at 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.home at gmail.com>
More information about the dovecot
mailing list