The current definition is:
# Please, don't teergrube people who relay for you or your own MXes :-)
#SAteergrubecond: ${if and { {!eq {$sender_host_address}{127.0.0.1}} {!eq {$sender_host_address}{127.0.0.2}} } {1}{0}}
But this could be more generalized with something like this (untested code):
${if or ${lookup {$sender_host_address}
lsearch{/etc/exim4/sa-exim-no-teergrube.list} {0}{1}}
${lookup {$sender_host_name}
lsearch{/etc/exim4/sa-exim-no-teergrube.list} {0}{1}}
It would be good if both IP and host name were allowed.
Quoting Jari Aalto (jari.aalto@cante.net): Have you actually tried if this works? IMHO the $sender_host_* checks aren't available in the stage sa-exim runs in (that is, after the DATA acl). Let me know! Sander.
No :=) Ad I titled "untested code", which was based on the original example which used $sender_host_address variable. Does that mean that the original example should be changed too? Jari
Hello, Good morning, We have gone through your samples from a partner and Here is our Order List. Please do bear in mind that we are very much in need of this order, quote your competitive prices. Kindly send the Order confirmation. Your early reply will be much appreciated. Best Regards, Maryanah Erwin. PT FINDORA INTERNUSA Jln Pahlawan 66 Kec. Arjawinangun 45162 CIREBON West-Java INDONESIA tel : +62 231 357334 fax: +62 231 357260 email: marketing@findora.com