ISPConfig 3 issueshttps://git.ispconfig.org/ispconfig/ispconfig3/-/issues2023-12-22T14:43:57Zhttps://git.ispconfig.org/ispconfig/ispconfig3/-/issues/6582autoresponder email in html format2023-12-22T14:43:57ZRiccardo Leonardiautoresponder email in html formatI've developed a small update to allow user to choose autoremove mail format between text-only (current) and htm, using same tinymce editor already used in mail compose.
I think this feature could be useful to some people (I saw some thr...I've developed a small update to allow user to choose autoremove mail format between text-only (current) and htm, using same tinymce editor already used in mail compose.
I think this feature could be useful to some people (I saw some threads talking about it, some suggestions but no complete solution).
The update add a new selector called "HTML into Settings->Account->Autoreply page.
When the HTML selector is enabled, into textarea containing body of autoresponder is shown the tinymce html editor (the same used in compose mail process), and once the "Save" button is pressed the html is written to .ispconfig.sieve with proper mime header to format in html the mail sent by autoresponder.
When the HTML selector is disabled, the behavior is the "old one": the content of text area is handled as text only and the mail is sent by autoresponder without any mime header.
The HTML selector state is saved into database (user's mail properties).
The update has been implemented on 3.2.11 version.
The files modified to implement the update are:
/usr/local/ispconfig/server/plugins-available/maildeliver_plugin.inc.php
/usr/local/ispconfig/interface/web/mailuser/templates/mail_user_autoresponder_edit.htm
/usr/local/ispconfig/interface/web/mail/form/mail_user.tform.php
/usr/local/ispconfig/server/conf/sieve_filter.master_save /usr/local/ispconfig/server/conf/sieve_filter.master
database dbispconfig, table mail_user, add field autoresponder_html
/usr/share/roundcube/plugins/ispconfig3_autoreply/ispconfig3_autoreply.php (roundcube plugin)
If the update will be accepted there will be no more need for me to re-apply it at every ispconfig version upgrade and in fresh installations of ISPConfig.3.2.12https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/6579http2 directive nginx changed for latest nginx version2023-09-22T12:04:25ZTill Brehmhttp2 directive nginx changed for latest nginx versionhttps://forum.howtoforge.com/threads/http2-directive-nginx-changed-for-latest-nginx-version.91150/https://forum.howtoforge.com/threads/http2-directive-nginx-changed-for-latest-nginx-version.91150/3.2.12https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/6577Move unmaintained old plugins to docs2023-09-16T10:45:06ZTill BrehmMove unmaintained old plugins to docsMove old and unmaintained plugins like bind_dlz_plugin.inc.php and nginx_reverseproxy_plugin.inc.php to docs folder.Move old and unmaintained plugins like bind_dlz_plugin.inc.php and nginx_reverseproxy_plugin.inc.php to docs folder.3.2.12https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/6573[installer] All ISPConfig files have execute bit set after installation.2023-09-16T14:53:19ZDr. Yves Kreis[installer] All ISPConfig files have execute bit set after installation.All ISPConfig files have execute bit set after installation. This is unnecessary and confusing.
However /usr/local/ispconfig/server/scripts/<ispconfig_patch|vlogger> need execute bit.
Besides /usr/local/ispconfig/interface/lib/config.in...All ISPConfig files have execute bit set after installation. This is unnecessary and confusing.
However /usr/local/ispconfig/server/scripts/<ispconfig_patch|vlogger> need execute bit.
Besides /usr/local/ispconfig/interface/lib/config.inc.php~ isn't protected.3.2.12https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/6560client info is showing the data of all clients2023-09-16T14:51:06ZAlexandre Pereira Bühlerclient info is showing the data of all clientsGood morning,
In the clients grid, when you click on a client, the client info is showing the data of all the clients.
Shouldn't it only show the data of the selected customer?
Thank youGood morning,
In the clients grid, when you click on a client, the client info is showing the data of all the clients.
Shouldn't it only show the data of the selected customer?
Thank you3.2.12https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/6558Add better default values when adding a new spamfilter policy.2023-08-18T14:32:54ZTill BrehmAdd better default values when adding a new spamfilter policy.https://forum.howtoforge.com/threads/error-creating-new-email-spamfilter-policy.90997/https://forum.howtoforge.com/threads/error-creating-new-email-spamfilter-policy.90997/3.2.12https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/6543mysqldump command has been renamed to mariadb-dump in latest versions2023-12-04T14:34:35ZTill Brehmmysqldump command has been renamed to mariadb-dump in latest versionshttps://forum.howtoforge.com/threads/how-to-upgrade-mariadb-with-ispconfig.89509/#post-447776https://forum.howtoforge.com/threads/how-to-upgrade-mariadb-with-ispconfig.89509/#post-4477763.2.13https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/6507SOAP API: client_update removes additional templates2024-03-19T21:57:17ZAlex von FiresplashSOAP API: client_update removes additional templates## Summary
In ISPConfig 3.2.9p1 (likely also in previous versions) a call to the client_update API causes the client to lose all it's assigned additional templates.
## Steps to reproduce
1. create aclient with a master template
2. assig...## Summary
In ISPConfig 3.2.9p1 (likely also in previous versions) a call to the client_update API causes the client to lose all it's assigned additional templates.
## Steps to reproduce
1. create aclient with a master template
2. assign one or more additional templates
3. call client_update on the client using the SOAP API
demo code causing the issue
```php
$context = stream_context_create(array(
'ssl' => array(
'verify_peer' => true,
'verify_peer_name' => true,
)
));
$ispc = new SoapClient(null, array('location' => ISPC_API_LOCATION,
'uri' => ISPC_API_URI,
'trace' => 1,
'exceptions' => 1,
'stream_context' => $context));
if($session_id = $ispc->login(ISPC_API_USER, ISPC_API_PWD)) {
echo 'Login successful. Session ID:'.$session_id.'<br />';
}
$client = $ispc->client_get_by_customer_no($session_id, '12345');
if ($client) {
$changes = array();
$changes['contact_name'] = 'NewName';
$result = $ispc->client_update($session_id, $client['client_id'], $client['parent_client_id'], $changes);
}
```
## Correct behaviour
The templates should be kept
## Environment
Server OS + version: Debian 11 \
ISPConfig version: 3.2.9p13.2.12HelmoHelmohttps://git.ispconfig.org/ispconfig/ispconfig3/-/issues/6479Nginx as a reverse proxy2023-08-08T07:22:08ZAdamNginx as a reverse proxyI created a plugin that allows you to use nginx as a reverse proxy.
Merge request for this plugin: https://git.ispconfig.org/ispconfig/ispconfig3/-/merge_requests/1703
All you need to do is:
1. Change apache port to 6080 for http and 6...I created a plugin that allows you to use nginx as a reverse proxy.
Merge request for this plugin: https://git.ispconfig.org/ispconfig/ispconfig3/-/merge_requests/1703
All you need to do is:
1. Change apache port to 6080 for http and 6443 for https.
2. Install Nginx web server
3. Activate the Nginx Reverse Proxy plugin.
`ln -s /usr/local/ispconfig/server/plugins-available/nginx_reverseproxy_plugin.inc.php /usr/local/ispconfig/server/plugins-enabled/nginx_reverseproxy_plugin.inc.php`3.2.12AdamAdamhttps://git.ispconfig.org/ispconfig/ispconfig3/-/issues/6324Cleanup vhost.conf.master2023-08-08T07:22:15ZThomCleanup vhost.conf.masterThe vhost.conf.master template is quite a mess. I will go through it and clean it up, fix indentation, etcThe vhost.conf.master template is quite a mess. I will go through it and clean it up, fix indentation, etc3.2.12ThomThomhttps://git.ispconfig.org/ispconfig/ispconfig3/-/issues/6291changing owner website from reseller to client gives site on 2 places2024-02-01T15:36:54ZSteffan Noordchanging owner website from reseller to client gives site on 2 placesWhen i cange a website owner from a reseller to a new client the website is visable to the new client, but also stays in the reseller controlpanel.
When looking in the database i see that sys_userid is not changed to the new client
When...When i cange a website owner from a reseller to a new client the website is visable to the new client, but also stays in the reseller controlpanel.
When looking in the database i see that sys_userid is not changed to the new client
When i change sys_userid one number higher then sys_groupid everything is fine again.3.2.12https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/6189Mailuser password malformed when using a umlaut2023-08-08T07:21:10ZThomMailuser password malformed when using a umlaut<!-- Before creating a bug report, please:
- Read the contribution guidelines: https://git.ispconfig.org/ispconfig/ispconfig3/-/blob/develop/CONTRIBUTING.md
- Do not ask support questions here. If you are unsure if your problem is a bug,...<!-- Before creating a bug report, please:
- Read the contribution guidelines: https://git.ispconfig.org/ispconfig/ispconfig3/-/blob/develop/CONTRIBUTING.md
- Do not ask support questions here. If you are unsure if your problem is a bug, post a thread on the forum: https://www.howtoforge.com/community/#ispconfig-3.23
- Make sure to remove any content from the description that you did not add. For example, if there are no related log entries, remove the whole "Related log entries" part.
-->
## Summary
<!-- What is happening and what is wrong with that? -->
Letters with a umlaut in a password for a mailuser, like ä or Ö are malformed. The user can not log in.
## Steps to reproduce
1. Set the password to "ällo3456"
2. Try logging in.
## Correct behaviour
<!-- What should happen instead? -->
The user should be able to log in.
## Environment
Server OS + version: Debian 10 \
ISPConfig version: 3.2.4
<!-- _you can use `grep 'ISPC_APP_VERSION' /usr/local/ispconfig/server/lib/config.inc.php` to get it from the command line_ -->
Software version of the related software:
<!-- You can use 'nginx -v' or 'apachectl -v' to find the webserver version. Use 'php -v' to find the PHP version.> Put this in code blocks, like so: -->3.2.12https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/6143postfix: custom reject message2022-03-04T23:44:23ZJesse Norellpostfix: custom reject messageAdd a field for custom reject message to postfix blacklist entries.Add a field for custom reject message to postfix blacklist entries.Planned featuresJesse NorellJesse Norellhttps://git.ispconfig.org/ispconfig/ispconfig3/-/issues/6079Mailboxpassword Encoding not correct2023-08-08T07:21:26ZDominikMailboxpassword Encoding not correct## short description
Setting Mailboxpasswords with some special chars (like e.g. §) doesn't work on Ubuntu/MariaDB. Password is set, but Login isn't possible with web-clients like roundcube - i already discussed this with Florian, but al...## short description
Setting Mailboxpasswords with some special chars (like e.g. §) doesn't work on Ubuntu/MariaDB. Password is set, but Login isn't possible with web-clients like roundcube - i already discussed this with Florian, but also after that, I don't come to a solution or the real reason, why it is, like it is... So maybe somebody out there has the same issue with this setup and might have an idea.
## environment
Server OS: Ubuntu 20.04
ISPConfig version: 3.2.2 (also seen with 3.1.x)
If I change the following in /interface/lib/classes/auth.inc.php, Line 272
```
public function crypt_password($cleartext_password, $charset = 'UTF-8') {
if($charset != 'UTF-8') {
//$cleartext_password = mb_convert_encoding($cleartext_password, $charset, 'UTF-8');
}
```
this means removing the mb_convert_encoding
everything works fine!!
additionally if I add this:
```
public function crypt_password($cleartext_password, $charset = 'UTF-8') {
if(($charset != 'UTF-8') && (mb_detect_encoding($cleartext_password) != 'UTF-8)) {
$cleartext_password = mb_convert_encoding($cleartext_password, $charset, 'UTF-8');
}
```
it also works fine!!
this means in my setup encoding IS already UTF-8, and doesn't need a second encoding...
But I don't know, if this is the solution - since the function is explicitly called with parameter $charset='ISO-8859-1'
this happens in file
/interface/lib/classes/tform_base.inc.php
in Line 1373
and I don't understand the Comment that was added there:
```
} elseif(isset($field['encryption']) && $field['encryption'] == 'CRYPTMAIL') {
// The password for the mail system needs to be converted to latin1 before it is hashed.
$record[$key] = $app->auth->crypt_password(stripslashes($record[$key]),'ISO-8859-1');
$sql_insert_val .= "'".$app->db->quote($record[$key])."', ";
}
```
so it seems like: nobody looks on the real encoding of the incoming password, but it is "simulated" to ISO-8859-1 and as a consequence it is encoed....
## proposed fix
change this line:
/interface/lib/classes/tform_base.inc.php - Line 1373
```
$entry = stripslashes($record[$key]);
$record[$key] = $app->auth->crypt_password($entry,mb_detect_encoding($entry));
```
## additional comment
What I found to my astonishment
The Problem with wrong encoded password doesn't seem to be a problem for Mailclient Thunderbird. If you access such a double encoded password-mailbox with Thunderbird you find a password-missmatch log-entry in postfix-log, but Thunderbird seems to retry and change some things and always (reproducible) in the third try, Thunderbird can access... But Roundcube for example only tries once and cannot access....
If i change the things above, in both cases login works on the first try...3.2.12https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5953Reverse proxy Lets Encrypt Acme snippet2023-09-28T20:33:47ZXaver MaierhoferReverse proxy Lets Encrypt Acme snippet## short description
If Redirect Type proxy is used lets encrypt fail won't work.
The vhost has no acme part.
(No custom templates in use)
## correct behaviour
Add the snippet if lets encrypt is enabled.
## environment
Server OS: debi...## short description
If Redirect Type proxy is used lets encrypt fail won't work.
The vhost has no acme part.
(No custom templates in use)
## correct behaviour
Add the snippet if lets encrypt is enabled.
## environment
Server OS: debian
Server OS version: 10
ISPConfig version: 3.2.1
Webserver: nginx3.2.12https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5844Incorrect language management2020-10-23T12:25:08Zcubellsvicent@vcubells.netIncorrect language managementI speak catalan language, and iso 639-1 code for catalan language is **ca**
As you can see in this capture:
![ispconfig_languages_issue](/uploads/37dad9acc67e9bf0477c0203385e026d/ispconfig_languages_issue.png)
I can't create language...I speak catalan language, and iso 639-1 code for catalan language is **ca**
As you can see in this capture:
![ispconfig_languages_issue](/uploads/37dad9acc67e9bf0477c0203385e026d/ispconfig_languages_issue.png)
I can't create language templates for catalan language because **ca** code is taken by Canada country.
Ispconfig is managing languages incorrectly, among other things, because we are confusing country codes and language codes.
Ispconfig must handle better language codes as another free software applications do.
Reference: https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes#CAPlanned featureshttps://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5676Purge APS2020-10-24T19:00:42ZThomPurge APSAPS is dead since 2019 and should be removed from ISPConfigAPS is dead since 2019 and should be removed from ISPConfig3.3ThomThomhttps://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5633spam-report2020-09-20T06:11:58ZFlorian Schaalspam-reportadd an option to send the mail-user a report with the mails in the junk-folderadd an option to send the mail-user a report with the mails in the junk-folder3.3https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5376New field to DNS CAA iodef ...2023-08-08T07:21:44ZMarek AdamskiNew field to DNS CAA iodef ...I need new field in to DNS.\
example.com. IN CAA 0 iodef "mailto:security@example.com" #where to send info about try generate cert by not authorized center\
example.com. IN CAA 0 issue ";" #Disallow to generate cert.\
example.com. IN CAA...I need new field in to DNS.\
example.com. IN CAA 0 iodef "mailto:security@example.com" #where to send info about try generate cert by not authorized center\
example.com. IN CAA 0 issue ";" #Disallow to generate cert.\
example.com. IN CAA 0 issuewild ";" #Disallow to generate wild cert.\
Can you add option to add CAA entries without template? \
Sources of info: https://en.wikipedia.org/wiki/DNS_Certification_Authority_Authorization\
My ISPConfig version: 3.1.14p23.2.12https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5226Add option to remove Let's Encrypt certs when site gets deleted.2023-10-27T14:51:22ZTill BrehmAdd option to remove Let's Encrypt certs when site gets deleted.https://www.howtoforge.com/community/threads/removing-site-does-not-remove-it-from-certbot.81143/https://www.howtoforge.com/community/threads/removing-site-does-not-remove-it-from-certbot.81143/3.2.12ThomThom