Re: disable for local users

Adam Stephens <[email protected]>
Newsgroups gmane.mail.exim.spamassassin
Message-ID <[email protected]>
On Wed, 6 Aug 2003 [email protected] wrote:

> ah -- didn't think of throwing an ip in there
>
> its set for localhost now.. i'm just thinking about office ips
>
> i'm not too skilled on sa-exim -- would it be possible to have a list
> of ips in there instead -- like an lsearch;/path/to/file as in exim?

You can use a subnet mask, like this  :

SAEximRunCond: ${if and {{def:sender_host_address}
{!eq {$sender_host_address}{127.0.0.1}}
{!eq {${mask:$sender_host_address/24}}{10.0.0.0/24}}
{!eq {$h_X-SA-Do-Not-Run:}{Yes}} } {1}{0}}

regards,
Adam.
--------------------------------
Adam Stephens
Unix Administrator, ILRT
[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.