Otto J. Makela wrote:
This could be prevented if I only accepted from those neblocks emails
that also originate from our own domain(s).
Seems you need to write your own custom ruleset.
If you want something like this:
if client ip matches a certain range
then
envelope sender must have @your.domain
Correct?
See cf/README about Local_check_mail:
These rules are called with the original arguments of the corresponding
check_* ruleset. ...
... Return values that do not start
with $# are ignored, i.e., normal processing continues.
So use
LOCAL_RULESETS
SLocal_check_mail
# add client address to workspace
R$* $: $&{client_addr} $| $1
then you can use an existing ruleset:
### A: LookUpAddress -- search for host address in access database
### <$1> -- key (dot quadded host address)
### <$2> -- default (what to return if not found in db)
### <$3> -- mark (must be <(!|+) single-token>)
### <$4> -- passthru (additional data passed through)
dnl returns: <default> <passthru>
dnl <result> <passthru>
if there is no match, return.
otherwise get rid of the address
R$* $| $* $: $1
and look up just the address, e.g., using
### D: LookUpDomain -- search for domain in access database
see cf/m4/proto.m4 for details and how to call those
rulesets.
--
Note: please read the netiquette before posting. I will almost never
reply to top-postings which include a full copy of the previous
article(s) at the end because it's annoying, shows that the poster
is too lazy to trim his article, and it's wasting the time of all readers.
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)