diff --git a/config/example-config.php b/config/example-config.php index 223bd14a..82802d91 100644 --- a/config/example-config.php +++ b/config/example-config.php @@ -150,6 +150,45 @@ $c->collections_always_exist = false; // 'email_ok' => date('Y-m-d') // ); +/** +* If true, then remote scheduling will be enabled. There is a possibility +* of receiving spam events in calendars if enabled, you will at least know +* what domain the spam came from as domain key signatures are required for +* events to be accepted. +* +* You probably need to setup Domain Keys for your domain as well as the +* appropiate DNS SRV records. +* +* for example, if DAViCal is installed on cal.example.com you should have +* DNS SRV records like this: +* ischedules._tcp.example.com. IN SRV 0 1 443 cal.example.com +* ischedule._tcp.example.com. IN SRV 0 1 80 cal.example.com +* +* DNS TXT record for signing outbound requests +* example: +* cal._domainkey.example.com. 86400 IN TXT "k=rsa\; t=s\; p=PUBKEY" +* Default: false +*/ +//$c->enable_scheduling = true; + +/** +* Domain Key selector to use when signing outbound scheduling requests. +* +* TODO: enable selectors/signing by per user keys, patches welcome. +* Default: 'cal' +*/ +//$c->scheduling_dkim_selector = 'cal'; + +/* +* Domain Key private key +* Required if you want to enable outbound remote server scheduling +* Default: none +*/ +/* +$c->schedule_private_key = 'PRIVATE-KEY-BASE-64-DATA'; +*/ + + /*************************************************************************** * * diff --git a/htdocs/always.php b/htdocs/always.php index 083c2da9..676fb513 100644 --- a/htdocs/always.php +++ b/htdocs/always.php @@ -39,6 +39,7 @@ $c->permission_scan_depth = 2; $c->expand_pdo_parameters = true; $c->home_calendar_name = 'home'; $c->enable_row_linking = true; +$c->enable_scheduling = false; $c->http_auth_mode = 'Basic'; // $c->default_locale = array('es_MX', 'es_AR', 'es', 'pt'); // An array of locales to try, or just a single locale // $c->local_tzid = 'Pacific/Auckland'; // Perhaps we should read from /etc/timezone - I wonder how standard that is?