Mailing List Archive

can whitelist_rcvd_from use an IP address ?
hi

in spamassassin's config, is it possible to specify a
ip address or range instead of a domain/host in
whitelist_rcvd_from ?

like

whitelist_rcvd_from *@example.com 192.168.10.
whitelist_rcvd_from *@domain.com 192.168.20.1

or else is there another way to "emulate" a
whitelist_rcvd_from mecanism, when the received: header
look like this :
(names and ip of sender edited to protect the innocent)

Received: from example.com (unknown [192.168.10.56])
by isis.hospvd.ch (Postfix) with SMTP id 1A73378CD
for <user@hospvd.ch>; Mon, 23 Feb 2004 15:11:40 +0100 (CET)

as you see, the sending host doesn't have a rDNS,
so apart from telling the sender "we won't accept your mail
until you fix your dns entries", which probably won't work...),
how could i whitelist emails *@example.com only if they come
from the ip range 192.168.10.* ?

i think it's possible to write a custom rule for this, but
i'd like to be sure that such a possibility doesn't already exist
within spamassassin

thanks