add xmail uci scripts, thanks pqa #3753
[packages.git] / mail / xmail / files / xmail.config
1 # Configuration parameters for xmail
2 #
3 # To see what xmail command line parameters each parameter corresponds to,
4 #       please see /etc/init.d/xmail
5 #
6 # The xmail configuration files are contained in /etc/MailRoot.tar.gz, and need
7 #       to be installed in the MAIL_ROOT directory, set by default to
8 #       /var/MailRoot below by:
9 #       MAIL_ROOT=`grep "option.*mail_root.*'$" /etc/config/xmail | sed -e "s/'$//" -e "s/.*'//"`
10 #       mkdir -p $MAIL_ROOT; cd $MAIL_ROOT; tar -xjf /etc/MailRoot.tar.bz2
11 # NOTE: On OpenWRT /var is a temporary filesystem, so change mail_root below,
12 #       but it is probably not a good idea to install on a device's internal
13 #       flash due to the amount of writing of the flash that will ensue.
14 #
15 # To see what settings are appropriate, please refer to:
16 #       http://www.xmailserver.org/Readme.html
17 # which also documents the configuration files in mail_root
18 # ( please note that the values commented out are not real values )
19
20
21 config xmail
22         option  mail_root       '/var/MailRoot'
23 #       option  debug           1
24 #       option  log_rotate      '3600'
25 #       option  split_level     'param-split_level'
26 #       option  rx_buffer       'param-rx_buffer'
27 #       option  tx_buffer       'param-tx_buffer'
28 #       option  maildir_delivery        1
29 #       option  mailbox_delivery        1
30 #       option  dns_cache_dirs  'param-dns_cache_dirs'
31 #       option  ipv4_only       1
32 #       option  ipv6_only       1
33 #       option  ipv4_then_ipv6  1
34 #       option  ipv6_then_ipv4  1
35
36 config pop3
37 #       option  disable 1
38 #       option  ipv6    1
39 #       option  server_port     'param-server_port'
40 #       option  session_timeout 'param-session_timeout'
41 #       option  log     1
42 #       option  delay_timeout   'param-delay_timeout'
43 #       option  bad_login_hang  1
44 #       option  local_address   'param-local_address'
45         option  num_threads     4
46
47 config pop3s
48         option  disable 1
49 #       option  ipv6    1
50 #       option  server_port     'param-server_port'
51 #       option  local_address   'param-local_address'
52
53 config smtp
54 #       option  disable 1
55 #       option  ipv6    1
56 #       option  server_port     'param-server_port'
57 #       option  session_timeout 'param-session_timeout'
58 #       option  log     1
59 #       option  local_address   'param-local_address'
60         option  num_threads     4
61 #       option  max_recipients  'param-max_recipients'
62 #       option  expire_timeout  'param-expire_timeout'
63
64 config smtps
65         option  disable 1
66 #       option  ipv6    1
67 #       option  server_port     'param-server_port'
68 #       option  local_address   'param-local_address'
69
70 config smail
71         option  num_threads     8
72 #       option  next_try_timeout        'param-next_try_timeout'
73 #       option  ratio   'param-ratio'
74 #       option  retries 'param-retries'
75 #       option  log     1
76 #       option  filters_timeout 'param-filters_timeout'
77 #       option  filter_log      1
78
79 config psync
80         option  disable 1
81 #       option  interval        'param-interval'
82 #       option  num_threads     'param-num_threads'
83 #       option  timeout 'param-timeout'
84 #       option  log     1
85
86 config finger
87         option  disable 1
88 #       option  ipv6    1
89 #       option  server_port     'param-server_port'
90 #       option  log     1
91 #       option  local_address   'param-local_address'
92
93 config ctrl
94 #       option  disable 1
95 #       option  ipv6    1
96 #       option  server_port     'param-server_port'
97 #       option  session_timeout 'param-session_timeout'
98 #       option  log     1
99 #       option  local_address   'param-local_address'
100 #       option  num_threads     'param-num_threads'
101
102 config ctrls
103         option  disable 1
104 #       option  ipv6    1
105 #       option  server_port     'param-server_port'
106 #       option  session_timeout 'param-session_timeout'
107
108 config lmail
109         option  num_threads     4
110 #       option  sleep_timeout   'param-sleep_timeout'
111 #       option  log     1