I want to block certain authenticated senders. Not the from address
but the username they do smtp authentication with.
I tried this:
deny authenticated = *
message = $authenticated_id suspended due to abuse
#condition = ${if eq{$authenticated_id}{[email protected]} }
condition = ${if eq{$authenticated_id}{lsearch;/var/bad_senders}
It seems to work when I input a single email address but I want to
block all the email addresses listed in the file bad_senders. What am
I doing wrong?
--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/