Dear all, I try to put an acl in my exim config. I want to get the registrar of the "$sender_address_domain" of incoming mails. So i can block known spam-registrars (Panama). This is my shell script: #!/bin/bash out=$(/usr/bin/whois $1|grep "Registrar:"| cut -d ':' -f2| awk '{print $1}') echo "$out"
I tried it with the $run command, but it uis always set to false! defer condition= ${if match{run{/etc/exim/panama $sender_address_domain}{NameCheap}{true}{false}} Any idea? Greetings Daniel -- ## 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/