[exim] Secure email group

Góra strony
Delete this message
Reply to this message
Autor: Sławomir Dworaczek
Data:  
Dla: exim-users
Temat: [exim] Secure email group
helo

I'm looking for a way to secure sending mail to a user group alias eg in
file mydomain@??? 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@??? is
bob@???
and only bob@??? can email allusers@???

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@???
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/