Mailing List Archive

Secure email group
helo

I'm looking for a way to secure sending mail to a user group alias eg in
file mydomain@myhost.com I have users
john: user1
edit: user2
bob: user3
allusers: user1, user2, user3

deny
message = "no access to send mail to this address"
condition = ${if
exists{/etc/exim/${local_part_data}@${domain_data}}{yes}{no}}
senders = ! /etc/exim/${local_part_data}@${domain_data}

This rule is to check if the file local_part@domain if so, it should allow
sending to this address only people saved in this file eg in the file
allusers@myhost.com is
bob@myhost.com
and only bob@myhost.com can email allusers@myhost.com

but it doesn't work :( it doesn't show any error and it allows all addresses
without exception

Regards
Slawek


--
## subscription configuration (requires account):
## https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/
## unsubscribe (doesn't require an account):
## exim-users-unsubscribe@lists.exim.org
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/