hilfe mein git ist komisch
This commit is contained in:
5
etc/psa-webmail/horde/ingo/backends.local.imap.php
Normal file
5
etc/psa-webmail/horde/ingo/backends.local.imap.php
Normal file
@@ -0,0 +1,5 @@
|
||||
<?php
|
||||
// Copyright 1999-2025. WebPros International GmbH. All rights reserved.
|
||||
// Default Ingo backend is active
|
||||
$backends['imap']['disabled'] = false;
|
||||
$backends['sieve']['disabled'] = true;
|
||||
1
etc/psa-webmail/horde/ingo/backends.local.php
Symbolic link
1
etc/psa-webmail/horde/ingo/backends.local.php
Symbolic link
@@ -0,0 +1 @@
|
||||
backends.local.sieve.php
|
||||
5
etc/psa-webmail/horde/ingo/backends.local.sieve.php
Normal file
5
etc/psa-webmail/horde/ingo/backends.local.sieve.php
Normal file
@@ -0,0 +1,5 @@
|
||||
<?php
|
||||
// Copyright 1999-2025. WebPros International GmbH. All rights reserved.
|
||||
// Sieve Ingo backend is active (integration with Dovecot)
|
||||
$backends['imap']['disabled'] = true;
|
||||
$backends['sieve']['disabled'] = false;
|
||||
15
etc/psa-webmail/horde/ingo/conf.php
Normal file
15
etc/psa-webmail/horde/ingo/conf.php
Normal file
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
// Copyright 1999-2025. WebPros International GmbH. All rights reserved.
|
||||
/* CONFIG START. DO NOT CHANGE ANYTHING IN OR AFTER THIS LINE. */
|
||||
// $Id: e198b86abf331c78c3df1ead37cb28b06f113318 $
|
||||
$conf['storage']['driver'] = 'prefs';
|
||||
$conf['storage']['params']['driverconfig'] = 'horde';
|
||||
$conf['storage']['maxblacklist'] = 0;
|
||||
$conf['storage']['maxwhitelist'] = 0;
|
||||
|
||||
$conf['rules']['userheader'] = true;
|
||||
|
||||
$conf['spam']['compare'] = 'string';
|
||||
$conf['spam']['header'] = 'X-Spam-Level';
|
||||
$conf['spam']['char'] = '*';
|
||||
/* CONFIG END. DO NOT CHANGE ANYTHING IN OR BEFORE THIS LINE. */
|
||||
44
etc/psa-webmail/horde/ingo/hooks.php
Normal file
44
etc/psa-webmail/horde/ingo/hooks.php
Normal file
@@ -0,0 +1,44 @@
|
||||
<?php
|
||||
// Copyright 1999-2025. WebPros International GmbH. All rights reserved.
|
||||
/**
|
||||
* Ingo Hooks configuration file.
|
||||
*
|
||||
* For more information please see the horde/config/hooks.php.dist file.
|
||||
*
|
||||
* $Id: acf2c96e445f2709239902bda0371992f2f08c11 $
|
||||
*/
|
||||
|
||||
class Ingo_Hooks
|
||||
{
|
||||
/**
|
||||
* Returns the username/password needed to connect to the transport
|
||||
* backend.
|
||||
*
|
||||
* @param string $driver The driver name (array key from backends.php).
|
||||
*
|
||||
* @return mixed If non-array, uses Horde authentication credentials
|
||||
(DEFAULT). Otherwise, an array with the following keys
|
||||
* (non-existent keys will use default values):
|
||||
* - euser: (string; SIEVE ONLY) For the sieve driver, the effective
|
||||
* user to use.
|
||||
* - password: (string) Password.
|
||||
* - username: (string) User name.
|
||||
*/
|
||||
public function transport_auth($driver)
|
||||
{
|
||||
/* HOOK START. DO NOT CHANGE ANYTHING IN OR AFTER THIS LINE. */
|
||||
switch ($driver) {
|
||||
case 'timsieved':
|
||||
// Dovecot managesieved requires full mail address for authentication
|
||||
$full_username = $GLOBALS['registry']->getAuth(null);
|
||||
return array(
|
||||
'username' => $full_username,
|
||||
'euser' => $full_username,
|
||||
);
|
||||
}
|
||||
|
||||
// DEFAULT: Use hordeauth (identical to not defining hook at all).
|
||||
return true;
|
||||
/* HOOK END. DO NOT CHANGE ANYTHING IN OR BEFORE THIS LINE. */
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user