config imspector
	# Enable the proxy
	option enable 1

	# The listening ip address for redirected connections
	option listenaddr 0.0.0.0

	# The listening port for redirected connections
	option port 16667

	# The HTTP CONNECT proxy port
	option http_port 18080

	#Sets the PID filename. The PID file is created before optionally dropping privs.
	option pidfilename /var/run/imspector.pid

	# This is the default location of protocol and logging plugins.
	option plugin_dir /usr/lib/imspector/

	# For dropping privs - you probably want to do this.
	option user root
	option group root

	# SSL support?
	# Create SSL Certs with the following command
	# openssl req -new -newkey rsa:1024 -days 365 -nodes -x509 \
	#	-keyout /etc/imspector/serverkey.pem \
	#	-out /etc/imspector/servercert.pem

	#option ssl on
	#option ssl_key "/etc/imspector/serverkey.pem"

	# Fixed cert?
	#option ssl_cert "/etc/imspector/servercert.pem"

	# Or certs created on-the-fly and signed against a CA
	#option ssl_ca_key "/etc/imspector/cakey.pem"
	#option ssl_ca_cert "/etc/imspector/cacert.pem"

	# And finally a directory to store the created certs
	#option ssl_cert_dir "/usr/lib/imspector"

	# Directory of CA certs for IM server cert validation
	#option ssl_verify_dir "/usr/lib/ssl/certs"

	# Drop connection when the IM server has a bad cert
	#option ssl_verify "block"

	# Prefix and postfix to all responses using all responder plugins
	#option response_prefix "Message from IMSpector: -="
	#option response_postfix "=-"

	# SQLite DB filename for automated responses
	#option responder_filename "/etc/imspector/sqlitedb_responder"
	# Inform parties that chats are monitored every N days (default is never)
	#option notice_days 7
	# Customised notice text
	#option notice_response "Your activities are being logged"
	# Inform of a blocked event, but upto a max of every N mins (default is never)
	#option filtered_mins 15
	# Customised filtered text (message text or filename follows in response)
	#option filtered_response "The message or action was blocked"

	# Will load enabled plugins in plugin_dir
	option icq_protocol on
	option irc_protocol on
	option msn_protocol on
	option yahoo_protocol on
	option gg_protocol on
	option jabber_protocol on

	# MSN via HTTP proxy needs https
	option https_protocol on

	# Log typing events?
	option log_typing_events off

	# Location where the file logging plugin will start from.
	option file_logging_dir "/var/log/imspector"

	# MySQL logging plugin stuff
	#option mysql_server "localhost"
	#option mysql_database "imspector"
	#option mysql_username "imspector"
	#option mysql_password "password"

	# SQLite logging plugin stuff
	#option sqlite_file "/etc/imspector/sqlitedb"

	# PostgreSQL logging plugin stuff
	#option pgsql_connect "host=localhost dbname=imspector user=dbuser password=Password"

	# Bad words filtering
	option badwords_filename "/etc/imspector/badwords.txt"
	option badwords_replace_character "*"
	option badwords_block_count 1

	# ACL
	option acl_filename "/etc/imspector/acl.txt"

	# SQLite-backed filter
	#option db_filter_filename "/etc/imspector/sqlitedb_filter"

	# Block all filetransfers?
	option block_files off

	# Block webcams?
	option block_webcams off

	# Socket-API for filtering
	#option censord off

