[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Email Relay - Regular Expressions



Hi Marcus,
At 11:12 13-02-2003 +0000, cobalt raq4 wrote:
>The only thing we can do is swap the office over to a dial up connection. 
>This changes the external IP Address of our office and screws amongst other 
>things our email relay. We have this set so emails can only be sent from our 
>office.
>(only accepts mail from the IP of our office router)
>
>When swopping over we have to add the IP dished out by the ISP to the 'relay 
>for following domains' setting in the raq gui.
>
>Is it possible for me to use a regular expression in this box?
>
>I know the format of the ip is allways xxx.xxx.xxx.??? so I could have a 
>regular expression along the lines of xxx.xxx.xxx.[0-9]{0,3} where the xxx 
>fields are the known elements of the IP address.

You cannot use regular expressions for the "relay box".  You can have
entries such as 192.168.0 to allow relaying from that subnet or 192.168.0.1
to allow relaying for that host.

Regards,
-sm