#276028 sa-exim: better SAteergrubecond rule

Package:
sa-exim
Source:
sa-exim
Description:
SpamAssassin filter for Exim
Submitter:
Jari Aalto
Date:
2021-09-22 04:39:12 UTC
Severity:
wishlist
#276028#5
Date:
2004-10-11 16:42:51 UTC
From:
To:
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.

#276028#10
Date:
2004-10-12 16:29:23 UTC
From:
To:
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.

#276028#15
Date:
2004-10-13 07:54:31 UTC
From:
To:
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

#276028#22
Date:
2021-09-22 04:26:56 UTC
From:
To:
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