#tabledir - диpектоpия с табличками
tabledir /usr/local/share/cyrproxy

#encoding name table_from_client table_to_client
#none is reserved filename - no encoding
encoding koi8 NONE NONE
encoding alt alt-koi8 koi8-alt
encoding win win-koi8 koi8-win
#encoding iso iso-koi8 koi8-iso
#encoding mac mac-koi8 koi8-mac

#add MIME charset descriptions for each encoding
#emailcharset encoding_name server-charset client-charset
#
#different charset rules for different clients
#can be described with _several_ encodings with same tables
#and different emailcharset strings
#
emailcharset win koi8-r windows-1251
emailcharset alt koi8-r cp866

#
transparenthost ns.lexa.ru

encprecedence VP
gwprecedence PT

default koi8

#options.
option port 23 protocol telnet
option port 70 protocol gopher
option port 8080 protocol http
option port 110 protocol pop
option port 25 protocol smtp

#option tos 16 protocol telnet

#peer section.
#Syntax:
#Peer address encoding
peer 1.2.3.4 win

#Virtualhost
#virtualhost koi8.lexa.ru koi8
virtualhost win.lexa.ru win
#virtualhost iso.lexa.ru iso
virtualhost dos.lexa.ru alt
#virtualhost mac.lexa.ru mac
#virtualhost 127.0.0.1 koi8
