ISPConfig 3 issueshttps://git.ispconfig.org/ispconfig/ispconfig3/-/issues2022-02-28T13:13:44Zhttps://git.ispconfig.org/ispconfig/ispconfig3/-/issues/6275Add PHP 8.2 to jailkit applications2022-02-28T13:13:44ZThomAdd PHP 8.2 to jailkit applicationsAdd php8.2 to the jailkit ini script.Add php8.2 to the jailkit ini script.3.2.8ThomThomhttps://git.ispconfig.org/ispconfig/ispconfig3/-/issues/6274Add curl to jailkit applications2022-02-28T13:14:07ZThomAdd curl to jailkit applicationsAdd curl to [netutils] in the jk_init script.Add curl to [netutils] in the jk_init script.3.2.8ThomThomhttps://git.ispconfig.org/ispconfig/ispconfig3/-/issues/6266Add socket timeout when querying EU VAT-ID verification server2022-03-09T12:48:05ZTill BrehmAdd socket timeout when querying EU VAT-ID verification serverAdd socket timeout when querying EU VAT-ID verification server.Add socket timeout when querying EU VAT-ID verification server.3.2.8Till BrehmTill Brehmhttps://git.ispconfig.org/ispconfig/ispconfig3/-/issues/6265Slovak translation for templates2022-01-14T12:04:37ZJakub BlažejSlovak translation for templatesAdd slovak translation for email templates and default website contentAdd slovak translation for email templates and default website content3.2.8https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/6263Gentoo Installer Feature Request: pureftpd enable TLS2022-02-28T13:12:54ZChristianGentoo Installer Feature Request: pureftpd enable TLSon install or upgrade with "reconfigure services" the TLS option always gets kicked out, so i made a litte change.
if cert file /etc/ssl/private/pure-ftpd.pem exists TLS is enabled. maybe you can add this to production version. thanks.
...on install or upgrade with "reconfigure services" the TLS option always gets kicked out, so i made a litte change.
if cert file /etc/ssl/private/pure-ftpd.pem exists TLS is enabled. maybe you can add this to production version. thanks.
SEARCH
`$content = preg_replace('/MISC_OTHER="[^"]+"/', 'MISC_OTHER="-b -A -E -Z -D -H -O clf:'.$logdir.'/transfer.log"', $content);`
REPLACE
```
//* Enable TLS if certificate file exists
$enable_tls = '';
if(file_exists('/etc/ssl/private/pure-ftpd.pem')) {
$enable_tls = ' -Y 1';
}
$content = preg_replace('/MISC_OTHER="[^"]+"/', 'MISC_OTHER="-b -A -E -Z -D -H -O clf:'.$logdir.'/transfer.log'.$enable_tls.'"', $content);
```3.2.8ThomThomhttps://git.ispconfig.org/ispconfig/ispconfig3/-/issues/6240Create symlinks for conveniance, SFTP user should not land in an empty dir.2022-01-14T12:01:05ZHelmoCreate symlinks for conveniance, SFTP user should not land in an empty dir.Title says it all... for some users it's weird to land in an empty directory when connection via sftp.
I've grown the habit of placing a few symlinks there... MR coming.Title says it all... for some users it's weird to land in an empty directory when connection via sftp.
I've grown the habit of placing a few symlinks there... MR coming.3.2.8https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/6239Add ipv6 option for dns_templatezone_add()2021-12-21T12:23:38ZHelmoAdd ipv6 option for dns_templatezone_add()The remote API is missing the ipv6 option.The remote API is missing the ipv6 option.3.2.8HelmoHelmohttps://git.ispconfig.org/ispconfig/ispconfig3/-/issues/6233Fix socket path on PHP 7 systems Starts with oldest version2022-02-28T16:20:34ZCollin MachineFix socket path on PHP 7 systems Starts with oldest versionBasically the "Fix socket path on PHP 7 systems" section of /usr/local/ispconfig/server/plugins-available/apps_vhost_plugin.inc.php is written so that it replaces the socket path of PHP5 for the PHP7 socket paths but if multiple versions...Basically the "Fix socket path on PHP 7 systems" section of /usr/local/ispconfig/server/plugins-available/apps_vhost_plugin.inc.php is written so that it replaces the socket path of PHP5 for the PHP7 socket paths but if multiple versions of PHP7 exist on the system, it uses the oldest version, as it performs a string replace on the $content variable and the string is no longer found when later PHP7 sockets are found and a replace is attempted.
## Summary
I would assume you'd want the socket for the latest version of PHP7, and possible PHP8 to be added as well?
## Steps to reproduce
Pretty self-explanatory
## Correct behaviour
Perhaps rewrite to a if/elseif statement, starting with the newest version working backwards, as the other lines are useless if the string replace has already occurred on $content
## Environment
Server OS + version: Ubuntu 20.04
ISPConfig version: 3.2.6
Software version of the related software:
Server version: Apache/2.4.48 (Ubuntu)
Server built: 2021-07-01T19:16:08
PHP 7.4.23 (cli) (built: Aug 26 2021 15:51:37) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
with Zend OPcache v7.4.23, Copyright (c), by Zend Technologies
## Proposed fix
I don't know if this is how you want to do it but maybe something like this:
```
// Fix socket path on PHP 7 systems
$php7_socket = false;
if(file_exists('/var/run/php/php7.4-fpm.sock')) {
$php7_socket = '/var/run/php/php7.4-fpm.sock';
} elseif(file_exists('/var/run/php/php7.3-fpm.sock')) {
$php7_socket = '/var/run/php/php7.3-fpm.sock';
} elseif(file_exists('/var/run/php/php7.2-fpm.sock')) {
$php7_socket = '/var/run/php/php7.2-fpm.sock';
} elseif(file_exists('/var/run/php/php7.1-fpm.sock')) {
$php7_socket = '/var/run/php/php7.1-fpm.sock';
} elseif(file_exists('/var/run/php/php7.0-fpm.sock')) {
$php7_socket = '/var/run/php/php7.0-fpm.sock';
}
if(!empty($php7_socket)) $content = str_replace('/var/run/php5-fpm.sock', $php7_socket, $content);
```
--- Notice the $php7_socket variable is set to false by default just because if you do decide to add PHP8 to the beginning of this set, it doesn't throw an error for undefined variable.3.2.8ThomThomhttps://git.ispconfig.org/ispconfig/ispconfig3/-/issues/6230Copy email address to clipboard2022-08-16T11:41:09ZHelmoCopy email address to clipboardWhen creating or editing a mail account I sometimes would like to get the email address in my copy/paste buffer.
The patch below adds that in a quick and dirty way.
Is there interest for this?
If so then we can add translation and a be...When creating or editing a mail account I sometimes would like to get the email address in my copy/paste buffer.
The patch below adds that in a quick and dirty way.
Is there interest for this?
If so then we can add translation and a better icon...
```patch
diff --git a/interface/web/mail/templates/mail_user_mailbox_edit.htm b/interface/web/mail/templates/mail_user_mailbox_edit.htm
index 170ab15db..93ff6e04d 100644
--- a/interface/web/mail/templates/mail_user_mailbox_edit.htm
+++ b/interface/web/mail/templates/mail_user_mailbox_edit.htm
@@ -12,6 +12,9 @@
<select name="email_domain" id="email_domain" class="form-control" style="height:50px;min-width:170px;">{tmpl_var name='email_domain'}</select>
</div>
</div>
+ <a class="btn btn-default formbutton-narrow" href="javascript: navigator.clipboard.writeText(document.getElementById('email_local_part').value + '@' + document.getElementById('email_domain').value);" title="Copy to clipboard">
+ <span class="icon icon-bulb"></span>
+ </a>
</div>
</div>
<tmpl_if name="enable_custom_login"><div class="form-group">
```3.2.9https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/6224Add DNS api functions for LOC type2021-09-08T09:46:27ZHelmoAdd DNS api functions for LOC typeI noticed that the meta data for the LOC and DS functions was added by mistake ages ago in ecb8fc2c5b3c1b42e15e3e44d287a650ef3b6aa6 but no implementation.
While preparing a MR I noticed that DS functions are already proposed in #6187 so...I noticed that the meta data for the LOC and DS functions was added by mistake ages ago in ecb8fc2c5b3c1b42e15e3e44d287a650ef3b6aa6 but no implementation.
While preparing a MR I noticed that DS functions are already proposed in #6187 so this one just for dns_loc_*
The error I got that triggered me:
`SoapFault: Method dns_ds_add does not exist in SoapClient->__call()`3.2.6https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/6213Add support for Debian 112021-09-07T07:07:44ZTill BrehmAdd support for Debian 11Add Debian 11 support in ISPConfig.Add Debian 11 support in ISPConfig.3.2.6Till BrehmTill Brehmhttps://git.ispconfig.org/ispconfig/ispconfig3/-/issues/6210periodically force jailkit update2021-08-31T09:15:39ZJesse Norellperiodically force jailkit updateIt wouldn't hurt to force all jails to update periodically, so eg. changes to sections in jk_init.ini get propogated.It wouldn't hurt to force all jails to update periodically, so eg. changes to sections in jk_init.ini get propogated.3.2.6Jesse NorellJesse Norellhttps://git.ispconfig.org/ispconfig/ispconfig3/-/issues/6202Support for borg archive in backups2022-11-12T19:39:41ZJorge MuñozSupport for borg archive in backupsAdd support for borg archive as backup, this is a must for large file systems where a common backup format would take forever and fill up all space real quick. Borg format is an archive format supporting differential backups and per-file...Add support for borg archive as backup, this is a must for large file systems where a common backup format would take forever and fill up all space real quick. Borg format is an archive format supporting differential backups and per-file diffs.3.2.8Jorge MuñozJorge Muñozhttps://git.ispconfig.org/ispconfig/ispconfig3/-/issues/6198clarify "ISPConfig v2 detected" message2021-08-31T09:15:48ZJesse Norellclarify "ISPConfig v2 detected" messageClarify the "ISPConfig v2 detected" message, perhaps a few less support tickets.Clarify the "ISPConfig v2 detected" message, perhaps a few less support tickets.3.2.6https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/6191improve letsencrypt renew hook2021-08-31T09:15:59ZJesse Norellimprove letsencrypt renew hookChange the letsencrypt renew hook to allow a custom script to run in addition to (rather than just instead of) the default one. The pre and post hooks already do this.
https://www.howtoforge.com/community/threads/hook-evolution-for-isp...Change the letsencrypt renew hook to allow a custom script to run in addition to (rather than just instead of) the default one. The pre and post hooks already do this.
https://www.howtoforge.com/community/threads/hook-evolution-for-ispconfig-le-renewal.87185/3.2.6Jesse NorellJesse Norellhttps://git.ispconfig.org/ispconfig/ispconfig3/-/issues/6187DS RECORD functions for API2022-01-21T23:14:44Zfrancois parreaux-eyDS RECORD functions for APIHello,
Following below discussion (link) I propose to add DS RECORD functions for API
https://www.howtoforge.com/community/threads/dnssec-cascade-inside-ispconfig.86988/#post-423182
code added in 'interface/lib/classes/remote.d/dns.i...Hello,
Following below discussion (link) I propose to add DS RECORD functions for API
https://www.howtoforge.com/community/threads/dnssec-cascade-inside-ispconfig.86988/#post-423182
code added in 'interface/lib/classes/remote.d/dns.inc.php'
// ----------------------------------------------------------------------------------------------------------------
//* Get record details
public function dns_ds_get($session_id, $primary_id) {
return $this->dns_rr_get($session_id, $primary_id, 'DS');
}
//* Add a record
public function dns_ds_add($session_id, $client_id, $params, $update_serial=false) {
return $this->dns_rr_add($session_id, $client_id, $params, $update_serial, 'DS');
}
//* Update a record
public function dns_ds_update($session_id, $client_id, $primary_id, $params, $update_serial=false) {
return $this->dns_rr_update($session_id, $client_id, $primary_id, $params, $update_serial, 'DS');
}
//* Delete a record
public function dns_ds_delete($session_id, $primary_id, $update_serial=false) {
return $this->dns_rr_delete($session_id, $primary_id, $update_serial, 'DS');
}
As a reminder, in case you want to have a cascade of zones using DNSSEC, you need to :
1. let's create child.dom.tld
1.a Create zone with 'dnssec_wanted=y'
2. in parent zone ie dom.tld
2.a. Create DS_record pointing to child zone (this is the aim of the functions I am adding)
2.b. Create 2 NS_records pointing to child zone
3. update parent zone dom.tld to have zone signing updated
4. don't forget to create secondary Zones on your secondary bind server
Many thanks for your trust
francoisPE3.2.8francois parreaux-eyfrancois parreaux-eyhttps://git.ispconfig.org/ispconfig/ispconfig3/-/issues/6174DNS doesn't accept single character domain2021-08-17T22:53:30ZDominikDNS doesn't accept single character domainWith several new TLDs it is possible to use a single character Domain. Even with some of the old well-known domains including .de in meanwhile it is possible to have a domain with only one character like "a.de". One of my customer owns s...With several new TLDs it is possible to use a single character Domain. Even with some of the old well-known domains including .de in meanwhile it is possible to have a domain with only one character like "a.de". One of my customer owns such a domain with one of the new generic domains (in this case: .cymru). My solution was really simple:
I changed the corresponding regex in /usr/local/ispconfig/interface/web/dns/form/dns_soa.tform.php and dns_slave.tform.php and then it worked.
Unfortunatelly it is not allowed to have a single character domain in all TLDs - so there are TLDs out there that still allow only two-character domains and even some that allow only three-character domains. So what is the right solution now? Including an intelligence that knows the minimal length for all TLDs? Or just my simple solution and allow one character in every case?3.2.6ThomThomhttps://git.ispconfig.org/ispconfig/ispconfig3/-/issues/6167rspamd: enable arc signing2021-08-31T09:16:05ZJesse Norellrspamd: enable arc signingRFE: enable ARC signing in rspamd. With the current rspamd options/implementation I would only enable signing for incoming mail (not authenticated or local), selecting the domain from the recipient addr - these are all default settings ...RFE: enable ARC signing in rspamd. With the current rspamd options/implementation I would only enable signing for incoming mail (not authenticated or local), selecting the domain from the recipient addr - these are all default settings in modules.d/arc.conf - and simply point the selector map and key path map to the same as used for dkim signing.3.2.6Jesse NorellJesse Norellhttps://git.ispconfig.org/ispconfig/ispconfig3/-/issues/6160Update readme.md2021-04-26T07:38:22ZThomUpdate readme.md3.2.5ThomThomhttps://git.ispconfig.org/ispconfig/ispconfig3/-/issues/6156Remove dnssec-lookaside auto; from named.conf.options.master2022-02-26T17:28:57ZThomRemove dnssec-lookaside auto; from named.conf.options.masterRemove obsolete setting `dnssec-lookaside auto;` from the named config and put a note in the release notes to update BIND.Remove obsolete setting `dnssec-lookaside auto;` from the named config and put a note in the release notes to update BIND.3.2.5ThomThom