Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 93 lines (77 sloc) 3.233 kB
92037fb @mworrell Added Zotonic system configuration. Uses/writes a config file in the …
mworrell authored
1 %% This is a sample config file for Zotonic.
2 %%
3 %% The configurations are for the Zotonic system itself.
4 %% Site configuration is found in each site's config file.
5 %% The site config files are in the subdirectories of priv/sites/.
6 %%
7 %% To use this configuration file:
8 %% 1. Make sure Zotonic is NOT running
9 %% 2. Copy this file to "config" (in this "priv" directory)
10 %% 3. Change (and uncomment) any setting you want to modify
11 %% 4. Start Zotonic.
12 %% 5. Check if Zotonic is using your new settings.
13 %% - When not then you have made a configuration error, start Zotonic
14 %% in debug mode with "./start.sh" or "zotonic.sh debug"
15 %%
16 %%
17 %% Zotonic will rewrite the file when settings are changed by Zotonic.
18 %% Zotonic will ensure that there is a 'password' entry, adding it when necessary.
19 %%
20 %% Rarely used configurations are commented out, change at your own risk.
21 %% The given values are the defaults for the options.
22 %%
23 %% Be careful with the comma after each option, exclude it after the last option.
24
25 [
26
27 %% PostgeSQL database defaults.
28 %% These are the defaults for the equally named options in your site's config file.
29 {dbschema,"public"},
30 {dbpassword,[]},
31 {dbuser,"zotonic"},
32 {dbport,5432},
33 {dbhost,"localhost"},
34
35 %% IP address Zotonic will listen on for HTTP requests
36 %% Always overruled by the environment variable ZOTONIC_IP
37 %% Use 'any' for all IP addresses
38 {listen_ip,any},
39
40 %% Port Zotonic will listen on for HTTP requests.
41 %% Always overruled by the environment variable ZOTONIC_PORT
f37e2c9 @AtillaE type fixes in config.in
AtillaE authored
42 {listen_port,8000},
92037fb @mworrell Added Zotonic system configuration. Uses/writes a config file in the …
mworrell authored
43
643dff2 @AtillaE exposed the 'no_mx_lookups' gen_smtp options as 'smtp_no_mx_lookups'
AtillaE authored
44 %% SMTP outbound relay configuration
24e5c24 @AtillaE added debug option 'smtp_bcc'
AtillaE authored
45 % {smtp_relay, true},
f69ec8b @AtillaE using blocking send in gen_smtp + some refactorings and cleanup
AtillaE authored
46 % {smtp_host, "localhost"},
47 % {smtp_port, 2525},
48 % {smtp_ssl, true},
9d626b9 @AtillaE merged with the new gen_smtp based SMTP implementation
AtillaE authored
49
643dff2 @AtillaE exposed the 'no_mx_lookups' gen_smtp options as 'smtp_no_mx_lookups'
AtillaE authored
50 %% SMTP extra relay options:
51 %% some picky/buggy/misconfigured relays might need one of these to be enabled
24e5c24 @AtillaE added debug option 'smtp_bcc'
AtillaE authored
52 % {smtp_no_mx_lookups, false},
53 % {smtp_verp_as_from, false},
a115423 @mworrell Added smtp_bounce_email_override in the example config.
mworrell authored
54 % {smtp_bounce_email_override, "me@example.com"},
24e5c24 @AtillaE added debug option 'smtp_bcc'
AtillaE authored
55
8de913e @kaos z_email_server: refactored the ?DELETE_AFTER define to be a customiza…
kaos authored
56 %% SMTP mail queue
57 %% How long to keep sent messages in the mail queue (in minutes)
58 %% Leave it long enough to receive any bounce message
59 % {smtp_delete_sent_after, 240},
60
e81b4eb @mworrell Renamed the z_email_bounce_server to z_email_receive_server.
mworrell authored
61 %% SMTP debug options
62 %% Send a copy of outgoing mail to this address
63 % {smtp_bcc, "bcc@localhost"},
64 %% Send all mail to this address instead of the original recipient
65 % {email_override, "override@localhost"},
643dff2 @AtillaE exposed the 'no_mx_lookups' gen_smtp options as 'smtp_no_mx_lookups'
AtillaE authored
66
e81b4eb @mworrell Renamed the z_email_bounce_server to z_email_receive_server.
mworrell authored
67 %% SMTP Inbound Server Options
68 %% Always overruled by the environment variables ZOTONIC_SMTP_LISTEN_DOMAIN, ZOTONIC_SMTP_LISTEN_IP and ZOTONIC_SMTP_LISTEN_PORT
69 % {smtp_listen_domain, undefined},
70 % {smtp_listen_ip, "127.0.0.1"},
71 % {smtp_listen_port, 2525},
e769545 @mmzeeman Added configuration options for the email bounce server
mmzeeman authored
72
92037fb @mworrell Added Zotonic system configuration. Uses/writes a config file in the …
mworrell authored
73 %% Password for the sites administration site (zotonic_status)
74 %% Zotonic will generate a secure password for you, so you don't need to enable this.
75 %% When you enable this you MUST select a secure password!!!
f37e2c9 @AtillaE type fixes in config.in
AtillaE authored
76 % {password, ""},
92037fb @mworrell Added Zotonic system configuration. Uses/writes a config file in the …
mworrell authored
77
78 %% inet request backlog, enlarge when requests are dropped
79 % {inet_backlog,500},
80
81 %% Directory where log files are written
82 % {log_dir,"priv/log"},
83
5d533ab @AtillaE ssl support added + refactoring
AtillaE authored
84 %% Enable performance logging (in addition to request logging)
85 % {enable_perf_logger, true},
86
92037fb @mworrell Added Zotonic system configuration. Uses/writes a config file in the …
mworrell authored
87 %% Webmachine error handler, you can use your own.
88 % {webmachine_error_handler,z_webmachine_error_handler},
89
90 % Date this file was created/updated
91 {modify_date, {{2010,7,12},{12,28,30}}}
92 ].
Something went wrong with that request. Please try again.