bug-mailfromd
Re: [Bug-mailfromd] srs (sender rewrite)
>
> loop while ???through remotemx??
> do
>
> loop while ???through mynet???
> do
> if not match_cidr(remotemx[..], mynet[..])
> set $f "new@xxxxxxxxxxx" ?
> fi
> done
>
> done
>
Is this really the way to loop a string by separator? I got this from some example in the documentation.
13 loop for string names ipstr . " "
14 number i index(names, " "), while i != -1, set names substr(names, i + 1) set i index(names, " ")
15 do
16 set temp temp . '>' . substr(names,0,i)
17 done