Xavier Beaudouin <k...@oav.net> wrote:
> # relayctl reload
> command failed
> 
[...]
>
> relay webmail-80 {
>       listen on $webmail port 80
>       transparent forward to <webmail> port 80 mode hash check http "/" host
> webmail.openvisp.net code 200 interface $int_if
> }
> 
> relay webmail-443 {
>       listen on $webmail port 443
>       transparent forward to <webmail> port 443 mode hash check https "/" host
> webmail.openvisp.net code 200 interface $int_if
> }

Not yet implemented.

>From src/usr.sbin/relayd/control.c

        case IMSG_CTL_RELOAD:
            if (env->sc_prefork_relay > 0) {
                imsg_compose_event(&c->iev, IMSG_CTL_FAIL,
                    0, 0, -1, NULL, 0);
                break;
            }


So if there are more than 0 relays it bails.

Reply via email to