serverselection_mode=yes if [ "$serverselection_mode" != "yes" ]; then if [ ! -f /etc/xinetd.d/pop3proxy ]; then cat < /etc/xinetd.d/pop3proxy service pop3proxy { disable = no type = UNLISTED port = 109 socket_type = stream protocol = tcp wait = no user = clamav server = /opt/local/sbin/pop3.proxy server_args = -z mailhost.aihara.co.jp groups = yes flags = REUSE only_from = 127.0.0.1 only_from += 192.168.0.0/24 219.166.94.168/29 only_from += 192.168.1.0/24 210.154.62.64/29 only_from += 192.168.2.0/24 only_from += 192.168.5.0/24 } EOF fi else if [ -f /etc/xinetd.d/pop3proxy ]; then cat < /etc/xinetd.d/pop3proxy service pop3proxy { disable = no type = UNLISTED port = 109 socket_type = stream protocol = tcp wait = no user = clamav server = /opt/local/sbin/pop3.proxy server_args = -z -e groups = yes flags = REUSE only_from = 127.0.0.1 only_from += 192.168.0.0/24 219.166.94.168/29 only_from += 192.168.1.0/24 210.154.62.64/29 only_from += 192.168.2.0/24 only_from += 192.168.5.0/24 } EOF fi fi