# # Example ImapProxy config # # This config assumes the following setup: # # The IMAP Server has IP address 192.168.12.34, running on port 143 # The IMP Server has IP address 192.168.43.21, connecting to the proxy server on port 1234 # The imapproxy listens on all interfaces # # no debug messages # logging to syslog facility LOG_MAIL # # keepalive frequency set to 60 seconds # client timeout set to 60 seconds # server timeout set to 1800 seconds # # stats interval of 60 seconds # # max reuse of records set to 5 times # IP address of the IMAP server remote_address 192.168.12.34 # listen to all interfaces local_address * # port number of the IMAP server remote_port 143 # port number IMP connects to on the proxy server (the port which imapproxy listens on) local_port 1234 # accesslist : accept all connections from IP address 192.168.43.21, and drop the others accept 192.168.43.21 # debug and logging debug off log_facility LOG_MAIL logging on # keepalive and timeout values keepalive 60 client_timeout 60 server_timeout 1800 # interval between stats messages, in seconds stats_frequency 60 # maximum number of times a record can be reused. 0 means no limit max_reuse 5