helo

I'm looking for a way to secure sending mail to a user group alias eg in file [email protected] 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 [email protected] is
[email protected]
and only [email protected] can email [email protected]

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):
##   [email protected]
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to