forked from gianlucagiacometti/Roundcube-Forward
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.inc.php.dist
More file actions
22 lines (16 loc) · 751 Bytes
/
config.inc.php.dist
File metadata and controls
22 lines (16 loc) · 751 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?php
// PostfixAdmin Forward Plugin options
// -----------------------------------
// Set the driver. Default (and so far the only existing): "sql".
$rcmail_config['forward_driver'] = 'sql';
// SQL Driver options
// ------------------
// PEAR database DSN for performing the query.
// Roundcube DB settings are used.
$rcmail_config['forward_sql_dsn'] = 'pgsql://username:password@host/database';
// The SQL query used to update forwards.
$rcmail_config['forward_sql_write'] = 'UPDATE alias SET goto = %goto, modified = %modified WHERE address = %address';
// The SQL query used to select aliases.
$rcmail_config['forward_sql_read'] = 'SELECT * FROM alias WHERE address = %address';
$rcmail_config['vacation_domain'] = 'autoreply.my.domain';
?>