/[smecontribs]/rpms/smeserver-roundcube/contribs10/smeserver-roundcube-1.2-bz12489-bz12263.patch
ViewVC logotype

Diff of /rpms/smeserver-roundcube/contribs10/smeserver-roundcube-1.2-bz12489-bz12263.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.3 by jpp, Sun Feb 25 20:29:15 2024 UTC Revision 1.4 by jpp, Sun Feb 25 21:34:20 2024 UTC
# Line 296  diff -Nur --no-dereference smeserver-rou Line 296  diff -Nur --no-dereference smeserver-rou
296  +}  +}
297  +}  +}
298  +  +
299    diff -Nur --no-dereference smeserver-roundcube-1.2.old/root/etc/e-smith/templates/usr/share/roundcubemail/plugins/managesieve/config.inc.php/10setsieveport smeserver-roundcube-1.2/root/etc/e-smith/templates/usr/share/roundcubemail/plugins/managesieve/config.inc.php/10setsieveport
300    --- smeserver-roundcube-1.2.old/root/etc/e-smith/templates/usr/share/roundcubemail/plugins/managesieve/config.inc.php/10setsieveport    2015-04-01 20:05:54.000000000 -0400
301    +++ smeserver-roundcube-1.2/root/etc/e-smith/templates/usr/share/roundcubemail/plugins/managesieve/config.inc.php/10setsieveport        2024-02-25 16:19:32.010000000 -0500
302    @@ -1,6 +1,4 @@
303     {
304    -    # vim: ft=perl;
305    -
306         # This snippet sets the managesieve_port config option of the plugin if Sieve service is enabled
307         # otherwise, the default value of "null" is kept for this config option.
308    
309    @@ -19,5 +17,22 @@
310         else {
311             $OUT .= "\$config['managesieve_port'] = null; \n";
312         }
313    +    $OUT .= "// managesieve server address (and optional port), default is localhost.\n";
314    +    $OUT .= "// Replacement variables supported in host name:\n";
315    +    $OUT .= "// %h - user's IMAP hostname\n";
316    +    $OUT .= "// %n - http hostname ($_SERVER['SERVER_NAME'])\n";
317    +    $OUT .= "// %d - domain (http hostname without the first part)\n";
318    +    $OUT .= "// For example %n = mail.domain.tld, %d = domain.tld\n";
319    +    $OUT .= "// If port is omitted it will be determined automatically using getservbyname()\n";
320    +    $OUT .= "// function, with 2000 or 4190 as a fallback (depending on current version).\n";
321    +    $OUT .= "// Note: Add tls:// prefix to enable explicit STARTTLS\n";
322    +    $OUT .= "// or add ssl:// prefix to enable implicit SSL.\n";
323    +    if ($sievestatus eq 'enabled') {
324    +        $OUT .= "\$config['managesieve_host'] = 'localhost:$sieveport'; \n";
325    +    }
326    +    else {
327    +        $OUT .= "\$config['managesieve_host'] = null; \n";
328    +    }
329    +
330    
331     }
332    diff -Nur --no-dereference smeserver-roundcube-1.2.old/root/etc/e-smith/templates/usr/share/roundcubemail/plugins/managesieve/config.inc.php/20default smeserver-roundcube-1.2/root/etc/e-smith/templates/usr/share/roundcubemail/plugins/managesieve/config.inc.php/20default
333    --- smeserver-roundcube-1.2.old/root/etc/e-smith/templates/usr/share/roundcubemail/plugins/managesieve/config.inc.php/20default 2015-04-01 20:05:54.000000000 -0400
334    +++ smeserver-roundcube-1.2/root/etc/e-smith/templates/usr/share/roundcubemail/plugins/managesieve/config.inc.php/20default     2024-02-25 16:23:27.005000000 -0500
335    @@ -1,11 +1,3 @@
336    -// managesieve server address, default is localhost.
337    -// Replacement variables supported in host name:
338    -// %h - user's IMAP hostname
339    -// %n - http hostname ($_SERVER['SERVER_NAME'])
340    -// %d - domain (http hostname without the first part)
341    -// For example %n = mail.domain.tld, %d = domain.tld
342    -$config['managesieve_host'] = 'localhost';
343    -
344     // authentication method. Can be CRAM-MD5, DIGEST-MD5, PLAIN, LOGIN, EXTERNAL
345     // or none. Optional, defaults to best method supported by server.
346     $config['managesieve_auth_type'] = null;
347  diff -Nur --no-dereference smeserver-roundcube-1.2.old/root/etc/e-smith/templates/usr/share/roundcubemail/plugins/nextcloud_attachments/config.inc.php/20nextcloud_attachment_server smeserver-roundcube-1.2/root/etc/e-smith/templates/usr/share/roundcubemail/plugins/nextcloud_attachments/config.inc.php/20nextcloud_attachment_server  diff -Nur --no-dereference smeserver-roundcube-1.2.old/root/etc/e-smith/templates/usr/share/roundcubemail/plugins/nextcloud_attachments/config.inc.php/20nextcloud_attachment_server smeserver-roundcube-1.2/root/etc/e-smith/templates/usr/share/roundcubemail/plugins/nextcloud_attachments/config.inc.php/20nextcloud_attachment_server
348  --- smeserver-roundcube-1.2.old/root/etc/e-smith/templates/usr/share/roundcubemail/plugins/nextcloud_attachments/config.inc.php/20nextcloud_attachment_server   1969-12-31 19:00:00.000000000 -0500  --- smeserver-roundcube-1.2.old/root/etc/e-smith/templates/usr/share/roundcubemail/plugins/nextcloud_attachments/config.inc.php/20nextcloud_attachment_server   1969-12-31 19:00:00.000000000 -0500
349  +++ smeserver-roundcube-1.2/root/etc/e-smith/templates/usr/share/roundcubemail/plugins/nextcloud_attachments/config.inc.php/20nextcloud_attachment_server       2024-02-24 17:24:25.423000000 -0500  +++ smeserver-roundcube-1.2/root/etc/e-smith/templates/usr/share/roundcubemail/plugins/nextcloud_attachments/config.inc.php/20nextcloud_attachment_server       2024-02-24 17:24:25.423000000 -0500


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed