ISPConfig 3 issueshttps://git.ispconfig.org/ispconfig/ispconfig3/-/issues2021-03-02T16:46:29Zhttps://git.ispconfig.org/ispconfig/ispconfig3/-/issues/4688Monit and Munin not showing in Google Chrome2021-03-02T16:46:29ZNigel HathawayMonit and Munin not showing in Google ChromeThey show up in Firefox but not in Chrome. The likely cause is this:
jquery.min.js:3 [Deprecation] Subresource requests whose URLs contain embedded credentials (e.g. `https://user:pass@host/`) are blocked. See https://www.chromestatus.c...They show up in Firefox but not in Chrome. The likely cause is this:
jquery.min.js:3 [Deprecation] Subresource requests whose URLs contain embedded credentials (e.g. `https://user:pass@host/`) are blocked. See https://www.chromestatus.com/feature/5669008342777856 for more details.
I don't know what the answer to this is. Presumably the jquery people are either aware or need to be made aware of this.https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/4745Autoresponder in sieve file is not updated when adding aliases afterwards2020-03-29T18:33:32ZLutz-Peter HoogeAutoresponder in sieve file is not updated when adding aliases afterwardsWhen I add an autoresponder to an email account with aliases, this alias are added to the sieve file, as it should.
e.g. domain: example.com, account test@example.com, alias test2@example.com -> test@example.com.
Then I add another alia...When I add an autoresponder to an email account with aliases, this alias are added to the sieve file, as it should.
e.g. domain: example.com, account test@example.com, alias test2@example.com -> test@example.com.
Then I add another alias, test3@example.com -> test@example.com.
However the sieve file is not updated to reflect this, it stays the same (I did wait for the cronjob to run).
The result is that the autoresponder will not trigger for emails send to test3@example.com,
sieve will report:
> discarding vacation response for implicitly delivered message; no known (envelope) recipient address found in message headers
Now I change something in the autoresponder text and save.
Only now the sieve file is updated and contains the new text AND the new alias.
Tested in ISPConfig 3.1.6
**first sieve file**
```
require ["fileinto", "regex", "date", "relational", "vacation"];
keep;
#################################################################
# Autoreply
#################################################################
# Move spam to spam folder
if header :contains "X-Spam-Flag" "YES" {
# Stop here so that we do not reply on spams
stop;
}
if allof(currentdate :value "ge" "iso8601" "2017-08-01T13:10:00", currentdate :value "le" "iso8601" "2020-08-01T13:10:00") {
vacation :days 1
:subject "Out of office reply"
:addresses ["test@example.com","test2@example.com"]
"Test";
}
```
**second sieve file:**
```
require ["fileinto", "regex", "date", "relational", "vacation"];
keep;
#################################################################
# Autoreply
#################################################################
# Move spam to spam folder
if header :contains "X-Spam-Flag" "YES" {
# Stop here so that we do not reply on spams
stop;
}
if allof(currentdate :value "ge" "iso8601" "2017-08-01T13:10:00", currentdate :value "le" "iso8601" "2020-08-01T13:10:00") {
vacation :days 1
:subject "Out of office reply"
:addresses ["test@example.com","test2@example.com","test3@example.com"]
"Test2";
}
```https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/4759On client change cron.d paths to logs not changed2020-09-08T07:34:31ZSergiOn client change cron.d paths to logs not changedIf a site is changed to a new client, paths on already created cron entries are not updated.
For example :
`00 2 * * * web19 /usr/bin/wget --user-agent='Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:47.0) Gecko/20100101 Firefox/47.0' -q -t...If a site is changed to a new client, paths on already created cron entries are not updated.
For example :
`00 2 * * * web19 /usr/bin/wget --user-agent='Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:47.0) Gecko/20100101 Firefox/47.0' -q -t 1 -T 7200 -O /var/www/clients/client8/web19/private/cron_wget.log 'http://example.com/modules/cron_products_full.php' >>/var/www/clients/client8/web19/private/cron.log 2>>/var/www/clients/client8/web19/private/cron_error.log #example.com`
if client8 is changed to client9 using the panel, paths won't be updated here and command 'wget' will fail because it won't find the old path.
Maybe, on client change, cron entries related to the updated site should be reprocessed for paths to be rediscovered.3.3https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/4665Powerdns bug - tested on IPSC 3.1.32017-08-10T20:10:26ZAndyPLPowerdns bug - tested on IPSC 3.1.3Bugs:
- missing column in database powerdns;
- missing add permitions to database "powerdns" for ispconfig@user;
- missing add configuration after install for Powerdns file: pdns.local.gmysql.conf;
- not working resync from ISPConfig pan...Bugs:
- missing column in database powerdns;
- missing add permitions to database "powerdns" for ispconfig@user;
- missing add configuration after install for Powerdns file: pdns.local.gmysql.conf;
- not working resync from ISPConfig panel
Steps to reproduce:
- install powerdns on Debian Jessie and create database like powerdns;
- install ISPConfig client on new VPS, configure ISPC in expert mode, add VPS instance to multisetup ISPC;
ISPC do not configure files pdns.local.gmysql.conf, no add permisions for ispconfig@user to database "powerdns"
We must add manualy permissions to database Powerdns and add this lines to pdns.local.gmysql.conf file
```
gmysql-host=sql-host.ltd
gmysql-user=ispconfig
gmysql-password=password
gmysql-dbname=powerdns
gmysql-port=3306
slave=yes
master=yes
disable-axfr=no
```
- next configure VPS with Powerdns as a mirror another VPS with Bind9
After doing these steps at the panel adds a new DNS zone that works but we have many zone add before install new VPS with Powerdns.
Now from the panel I enforce DNS synchronization, and I see that DNS zones and records are added to the powerdns database.
After synchronization I check with nslookup whether there are new zones but Powerdns do not see them.
Below is a valid dump of the powerdns table
```
-- Zrzut struktury tabela powerdns.comments
CREATE TABLE IF NOT EXISTS `comments` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`domain_id` int(11) NOT NULL,
`name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`type` varchar(10) COLLATE utf8_unicode_ci NOT NULL,
`modified_at` int(11) NOT NULL,
`account` varchar(40) COLLATE utf8_unicode_ci NOT NULL,
`comment` mediumtext COLLATE utf8_unicode_ci NOT NULL,
PRIMARY KEY (`id`),
KEY `comments_domain_id_idx` (`domain_id`),
KEY `comments_name_type_idx` (`name`,`type`),
KEY `comments_order_idx` (`domain_id`,`modified_at`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- Data exporting was unselected.
-- Zrzut struktury tabela powerdns.cryptokeys
CREATE TABLE IF NOT EXISTS `cryptokeys` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`domain_id` int(11) NOT NULL,
`flags` int(11) NOT NULL,
`active` tinyint(1) DEFAULT NULL,
`content` text COLLATE utf8_unicode_ci,
PRIMARY KEY (`id`),
KEY `domainidindex` (`domain_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- Data exporting was unselected.
-- Zrzut struktury tabela powerdns.domainmetadata
CREATE TABLE IF NOT EXISTS `domainmetadata` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`domain_id` int(11) NOT NULL,
`kind` varchar(32) COLLATE utf8_unicode_ci DEFAULT NULL,
`content` text COLLATE utf8_unicode_ci,
PRIMARY KEY (`id`),
KEY `domainmetadata_idx` (`domain_id`,`kind`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- Data exporting was unselected.
-- Zrzut struktury tabela powerdns.domains
CREATE TABLE IF NOT EXISTS `domains` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`master` varchar(128) COLLATE utf8_unicode_ci DEFAULT NULL,
`last_check` int(11) DEFAULT NULL,
`type` varchar(6) COLLATE utf8_unicode_ci NOT NULL,
`notified_serial` int(11) DEFAULT NULL,
`account` varchar(40) COLLATE utf8_unicode_ci DEFAULT NULL,
`ispconfig_id` int(11) NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `name_index` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- Data exporting was unselected.
-- Zrzut struktury tabela powerdns.records
CREATE TABLE IF NOT EXISTS `records` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`domain_id` int(11) DEFAULT NULL,
`name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`type` varchar(10) COLLATE utf8_unicode_ci DEFAULT NULL,
`content` mediumtext COLLATE utf8_unicode_ci,
`ttl` int(11) DEFAULT NULL,
`prio` int(11) DEFAULT NULL,
`change_date` int(11) DEFAULT NULL,
`ispconfig_id` int(11) NOT NULL,
`disabled` tinyint(1) DEFAULT '0',
`ordername` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
`auth` tinyint(1) DEFAULT '1',
PRIMARY KEY (`id`),
KEY `nametype_index` (`name`,`type`),
KEY `domain_id` (`domain_id`),
KEY `recordorder` (`domain_id`,`ordername`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- Data exporting was unselected.
-- Zrzut struktury tabela powerdns.supermasters
CREATE TABLE IF NOT EXISTS `supermasters` (
`ip` varchar(64) COLLATE utf8_unicode_ci NOT NULL,
`nameserver` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`account` varchar(40) COLLATE utf8_unicode_ci NOT NULL,
PRIMARY KEY (`ip`,`nameserver`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- Data exporting was unselected.
-- Zrzut struktury tabela powerdns.tsigkeys
CREATE TABLE IF NOT EXISTS `tsigkeys` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`algorithm` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL,
`secret` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `namealgoindex` (`name`,`algorithm`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
```3.3https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/4631LetsEncrypt and deleted Subdomains2021-01-21T09:40:14ZSteffan NoordLetsEncrypt and deleted SubdomainsWhen deleting a subdomain.
the autorenew function is still looking for the subdomain so no renew will take place.
Only option i can think is to remove
/live
/renew
/archive
and reissue the certificateWhen deleting a subdomain.
the autorenew function is still looking for the subdomain so no renew will take place.
Only option i can think is to remove
/live
/renew
/archive
and reissue the certificatehttps://git.ispconfig.org/ispconfig/ispconfig3/-/issues/4591mailman listname2017-08-10T20:10:26ZSteffan Noordmailman listnamewhen creating a list and a seccond list called list@admin a dublicate mailadres is created.
so list-admin should be excluded from creating.
# STANZA START: enquete-admin
# CREATED: Sat Mar 18 20:50:02 2017
**enquete-admin: ...when creating a list and a seccond list called list@admin a dublicate mailadres is created.
so list-admin should be excluded from creating.
# STANZA START: enquete-admin
# CREATED: Sat Mar 18 20:50:02 2017
**enquete-admin: "|/usr/lib/mailman/mail/mailman post enquete-admin"**
enquete-admin-admin: "|/usr/lib/mailman/mail/mailman admin enquete-admin"
enquete-admin-bounces: "|/usr/lib/mailman/mail/mailman bounces enquete-admin"
enquete-admin-confirm: "|/usr/lib/mailman/mail/mailman confirm enquete-admin"
enquete-admin-join: "|/usr/lib/mailman/mail/mailman join enquete-admin"
enquete-admin-leave: "|/usr/lib/mailman/mail/mailman leave enquete-admin"
enquete-admin-owner: "|/usr/lib/mailman/mail/mailman owner enquete-admin"
enquete-admin-request: "|/usr/lib/mailman/mail/mailman request enquete-admin"
enquete-admin-subscribe: "|/usr/lib/mailman/mail/mailman subscribe enquete-admin"
enquete-admin-unsubscribe: "|/usr/lib/mailman/mail/mailman unsubscribe enquete-admin"
# STANZA END: enquete-admin
# STANZA START: enquete
# CREATED: Sun Mar 19 09:15:01 2017
enquete: "|/usr/lib/mailman/mail/mailman post enquete"
**enquete-admin: "|/usr/lib/mailman/mail/mailman admin enquete"**
enquete-bounces: "|/usr/lib/mailman/mail/mailman bounces enquete"
enquete-confirm: "|/usr/lib/mailman/mail/mailman confirm enquete"
enquete-join: "|/usr/lib/mailman/mail/mailman join enquete"
enquete-leave: "|/usr/lib/mailman/mail/mailman leave enquete"
enquete-owner: "|/usr/lib/mailman/mail/mailman owner enquete"
enquete-request: "|/usr/lib/mailman/mail/mailman request enquete"
enquete-subscribe: "|/usr/lib/mailman/mail/mailman subscribe enquete"
enquete-unsubscribe: "|/usr/lib/mailman/mail/mailman unsubscribe enquete"
# STANZA END: enquetehttps://git.ispconfig.org/ispconfig/ispconfig3/-/issues/4590mailman lists not removed2017-08-10T20:10:27ZSteffan Noordmailman lists not removed(centos 6)
a deleted mailman list is not removed from /etc/mailman/virtual-mailman
it is removed from /etc/mailman/aliases
but postfix is using /etc/mailman/virtual-mailman by default.
also the complete list exsist in /var/lib/m...(centos 6)
a deleted mailman list is not removed from /etc/mailman/virtual-mailman
it is removed from /etc/mailman/aliases
but postfix is using /etc/mailman/virtual-mailman by default.
also the complete list exsist in /var/lib/mailman/https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/4455Special characters in password hash escaped twice when _ispconfig_pw_crypted ...2020-12-30T10:44:08ZdmkSpecial characters in password hash escaped twice when _ispconfig_pw_crypted == 1Problem occurs when adding mail user with hashed password (and I believe ftp user too) through remote client.
When password hash includes special character (i.e. backslash) it is escaped twice.
In function ```_getSQL``` (tform_base.inc....Problem occurs when adding mail user with hashed password (and I believe ftp user too) through remote client.
When password hash includes special character (i.e. backslash) it is escaped twice.
In function ```_getSQL``` (tform_base.inc.php) whole inserted record is escaped:
```php
$record = $this->encode($record, $tab, true);
```
and then for password with _ispconfig_pw_crypted == 1
```php
$sql_insert_val .= "'".$app->db->quote($record[$key])."', ";
```
so password field is escaped first time in ```encode``` and second time in ```quote``` functions.3.3https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/4349Disabled PHP and awstats selected2022-05-31T20:46:00ZenavnDisabled PHP and awstats selectedWhen PHP is disabled and awstats is selected, stats doesn't work.
As i see it there is 2 ways to fix this
* Create a conf file that insures that there at least is enabled modphp
* Edit vhost template to have special condition for when...When PHP is disabled and awstats is selected, stats doesn't work.
As i see it there is 2 ways to fix this
* Create a conf file that insures that there at least is enabled modphp
* Edit vhost template to have special condition for when php is disabled
Any pros/cons or other ideas?https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/4329Monitor - Disk Usage2020-11-04T21:59:09ZIaina RandrianarivonyMonitor - Disk UsageHello,
I have a 250Go mounted on "/dev/simfs" but doesn't appear in monitor page, section Disk Usage. Thank you.
![Hard_Disk](/uploads/fac7e6e1c6589fc9f96a832634c6a45b/Hard_Disk.PNG)Hello,
I have a 250Go mounted on "/dev/simfs" but doesn't appear in monitor page, section Disk Usage. Thank you.
![Hard_Disk](/uploads/fac7e6e1c6589fc9f96a832634c6a45b/Hard_Disk.PNG)3.3https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/3691Adjust dovecot config for custom usernames in combination with dsync.2021-02-22T09:22:37ZTill BrehmAdjust dovecot config for custom usernames in combination with dsync.https://www.howtoforge.de/forum/threads/dovecot-dsync.9059/#post-47214https://www.howtoforge.de/forum/threads/dovecot-dsync.9059/#post-47214https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/3681Missed deletions in multi server environment2020-09-26T21:46:52ZZironda SrlMissed deletions in multi server environmentAssuming we work in an multiserver ISPConfig setup, let's start with an example:
if one website with an associated FTP user exist in one of the available servers, lets say that it is called web1, if subsequently the FTP user's "Site" ...Assuming we work in an multiserver ISPConfig setup, let's start with an example:
if one website with an associated FTP user exist in one of the available servers, lets say that it is called web1, if subsequently the FTP user's "Site" attribute is modified with another available website in another webserver, called web2, a new FTP user in web2 is created, but the original FTP user is not deleted in web1.
This happens also in other contexts, such as changing domain in mailboxes, website alias domain and subdomain, shell users and cron jobs. Please note that this list may not be complete.
We think that the cause of this problem may be the "update" trigger implementation in each of the plugin classes, that seem to ignore that the origin and destination servers are different, and consequently don't insert a deletion work.https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/3670uninstaller missing a couple things2021-02-22T09:03:36ZJesse Norelluninstaller missing a couple thingsIn a multi-server install, I'm uninstalling a few of the nodes I had setup, and when running the uninstall.php script, it looks like a few things don't get cleaned out of the master's database.
Specifically, the server itself still sh...In a multi-server install, I'm uninstalling a few of the nodes I had setup, and when running the uninstall.php script, it looks like a few things don't get cleaned out of the master's database.
Specifically, the server itself still shows under System > Server Services; and even after deleting it there, the old System > Firewall rules remain (the "Server" column is now empty).
I imagine the first should be cleaned up by the uninstall script, and the second either in the installer or maybe by a database foreign key.https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/3657Wrong sys_userid in table spamfilter_users2020-09-20T17:23:14ZMarkus BuschhoffWrong sys_userid in table spamfilter_usersWhen setting up an email-domain or an email account using the web client, the spamfilter "@domain" (respectively "account@domain"), the according SQL table entries (spamfilter_users) are assigned to admin (or the current user?) instead o...When setting up an email-domain or an email account using the web client, the spamfilter "@domain" (respectively "account@domain"), the according SQL table entries (spamfilter_users) are assigned to admin (or the current user?) instead of the owner of the respective domain.
The expected behaviour would be to assign the table entries to the sys_userid of the client. This might be an issue when identifying table entries for cleaning up the SQL tables, e.g. when deleting the client.https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/3656SOAP mail_spamfilter_user_add breaks reply (no xml document) on duplicate rules2020-09-01T08:24:12ZMarkus BuschhoffSOAP mail_spamfilter_user_add breaks reply (no xml document) on duplicate rulesA remote call to "mail_spamfilter_user_add" might fail with "look like we got no xml document" instead of expected "email_error_unique", if a spamfilter rule is added for an already existing user.A remote call to "mail_spamfilter_user_add" might fail with "look like we got no xml document" instead of expected "email_error_unique", if a spamfilter rule is added for an already existing user.https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/3653Fail2ban shows as not installed when the log files are rotated2020-09-22T10:49:20ZKerr SmithFail2ban shows as not installed when the log files are rotatedWhen the log files are rotated the Fail2ban log is emptied but when the log file is viewed in the control panel it shows:
'fail2ban is not installed at this server.'
This makes you think that Fail2ban is not working but it is - I t...When the log files are rotated the Fail2ban log is emptied but when the log file is viewed in the control panel it shows:
'fail2ban is not installed at this server.'
This makes you think that Fail2ban is not working but it is - I tested it by deliberately getting my IP banned.
The data field in the monitor_data tables for type 'log_fail2ban' shows:
's:0:"";'
This causes the code in /interface/lib/classes/tools_monitor.inc.php around line 442 to display this message.
Only if the data field is empty will the message 'There is no data available at the moment.' be shown.
It seems like these two messages are in the wrong order maybe?https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/3592Getmail lockfile not removed2020-10-08T15:47:54ZcommentatorGetmail lockfile not removedWhen something happens during getmail and it results in an error the lockfile isn't removed.
There is no check for how long this lockfile exists and so resulting in an not working getmail.
Problem reported on forums on May 2013 https:/...When something happens during getmail and it results in an error the lockfile isn't removed.
There is no check for how long this lockfile exists and so resulting in an not working getmail.
Problem reported on forums on May 2013 https://www.howtoforge.com/community/threads/getmail-lockfile.61794/https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/3499Website log mount is not changed when website is assigned to a new client2020-11-01T16:17:35ZTill BrehmWebsite log mount is not changed when website is assigned to a new clientAfter creating a website I got this error message in bash with the df command:
#df
#df: '/var/www/clients/client0/web3/log': No such file or directory
This is caused because the ispconfig does not refresh the fstab mount list afte...After creating a website I got this error message in bash with the df command:
#df
#df: '/var/www/clients/client0/web3/log': No such file or directory
This is caused because the ispconfig does not refresh the fstab mount list after changing clientID in website.
Steps to reproduce it:
Create a website "foo.com" but wait, be sure to NOT select a client in the "client" field.
After that, hold on a little until de cronjob creates the website physically in the server.
After the cronjob created the website, edit the website "foo.com" and select a client.
And here comes the bug: The ispconfig cronjob will move the website to the new client folder and correct the lines in the /etc/fstab but it does not refresh the mounted partitions. So the df command throws: df: '/var/www/clients/client0/web3/log': No such file or directoryhttps://git.ispconfig.org/ispconfig/ispconfig3/-/issues/3444Assigning mail domain to other client via remote api does not work for admini...2020-08-28T17:06:16ZThomas TevesAssigning mail domain to other client via remote api does not work for administratorWhile developing an ISPConfig plugin I wrote some additional functions for the remote API to be used only by my plugin. For this purpose I created a new class 'local_remoting' inheriting from the original remoting class.
Inside this new...While developing an ISPConfig plugin I wrote some additional functions for the remote API to be used only by my plugin. For this purpose I created a new class 'local_remoting' inheriting from the original remoting class.
Inside this new class I wrote a function mail_domain_assign for the purpose of assigning mail domains to other clients. The code for this is basically:
$maildomain = $this->mail_domain_get($session_id, $maildomain_id);
$this->mail_domain_update($session_id, $new_client_id, $maildomain_id, $maildomain);
The code works for all clients, except for the admin ($new_client_id=0). Is this bug or feature?
BTW: This is also the case with the mail_user_update function of the API.https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/3441Adding a vhost subdomain to the website via API2020-08-28T17:05:48ZRobert VarjasiAdding a vhost subdomain to the website via APIThe main domain is not concatenated to the sub prefix via the API (sites_web_vhost_subdomain_add()). Via the web interface it is.
We utilize this "bug" in such way that we add a new domain to the website with its own vhost file (and its ...The main domain is not concatenated to the sub prefix via the API (sites_web_vhost_subdomain_add()). Via the web interface it is.
We utilize this "bug" in such way that we add a new domain to the website with its own vhost file (and its own DocumentRoot).
Example:
We have a website with the domain example.com. DocumentRoot is ".../web/". We assign a new domain (domain.com) to this website using sites_web_vhost_subdomain_add() API call. We set the web_folder param to "web/domain.com" directory. It works well.
This way you can have more domains per website (with separate DocRoots). And that is what we needed!
Question: Do you plan to fix this bug that we use as a feature?https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/3435client_update misses modules update/change2020-10-26T12:39:06ZChristianclient_update misses modules update/changewhen performing a client_update with module change, the sys_user modules are not updatedwhen performing a client_update with module change, the sys_user modules are not updatedhttps://git.ispconfig.org/ispconfig/ispconfig3/-/issues/3322spamfilter policys not shown in meny when activated for a reseller2017-10-08T13:36:47ZTill Brehmspamfilter policys not shown in meny when activated for a resellerhttp://www.howtoforge.com/forums/showthread.php?t=61776http://www.howtoforge.com/forums/showthread.php?t=617763.3https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/3169affected rows returns 0 on client update2020-08-28T15:36:57ZChristianaffected rows returns 0 on client updatefunction client_update from remote api always returns 0function client_update from remote api always returns 0https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/2713Deletion of domain through Remote API2020-08-28T17:06:28ZLars E. D. JensenDeletion of domain through Remote APIWhen deleting a domain through Remote API it fails to clean up/delete php5 fpm config for the domain in /etc/php5/fpm/pool.d/ (Debian 6.x) and causes a 502 bad gateway in nginx.
See debug log missing the clean up when using Remote API:
...When deleting a domain through Remote API it fails to clean up/delete php5 fpm config for the domain in /etc/php5/fpm/pool.d/ (Debian 6.x) and causes a 502 bad gateway in nginx.
See debug log missing the clean up when using Remote API:
Interface:
https://dl.dropboxusercontent.com/u/14441857/debug/ISPConfig_interface_succes.png
Remote API:
https://dl.dropboxusercontent.com/u/14441857/debug/ISPConfig_RemoteAPI_error.pnghttps://git.ispconfig.org/ispconfig/ispconfig3/-/issues/4639Folder protection options can conflict with existing configured locations in ...2020-09-08T07:45:32ZRamil ValitovFolder protection options can conflict with existing configured locations in nginx (locations merge problem)The problem happens if the following both conditions are met:
1. User configures a password protected folder in ISPConfig (Sites - Web Access - Protected Folders).
2. The same folder is already configured in nginx (for example, in vho...The problem happens if the following both conditions are met:
1. User configures a password protected folder in ISPConfig (Sites - Web Access - Protected Folders).
2. The same folder is already configured in nginx (for example, in vhost template, directive snippets or web options).
In this case the locations are not merged by ISPConfig when it generates the final vhost configuration file. As a result, the file contains mupltiple locations that leads to nginx syntax error.
Example. Let's assume, we have "test" location configured in directive snippets:
```
location /test/ {
try_files $uri $uri/ /index.php?$args;
}
```
Then add "test" to the list of protected folders. The resulting configuration file that ISPConfig generates will be invalid:
```
location /test/ {
try_files $uri $uri/ /index.php?$args;
}
## some other nginx directives
location /test/ { ##merge##
auth_basic "Members Only";
auth_basic_user_file /var/www/clients/client1/web5/web/test/.htpasswd;
location ~ \.php$ {
try_files /89f314d371fa173948fcad289dd51f95.htm @php;
}
}
```
Discussion at [Howtoforge](https://www.howtoforge.com/community/threads/protected-folders-duplicate-location-problem-nginx.76185/)https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/4632Database sorting shows nothing2020-06-19T16:15:27ZFrank B.Database sorting shows nothingin {sites}-{websites}-{Database}
when clicked on the lables
[Active] [Remote Access] [Client] [Server] [Website] [Database name]
the databases are sort by the clicked item
but not at [Database user]
no database is seen a...in {sites}-{websites}-{Database}
when clicked on the lables
[Active] [Remote Access] [Client] [Server] [Website] [Database name]
the databases are sort by the clicked item
but not at [Database user]
no database is seen anymore
https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/4489Admin protection broken for vhost subdomains2020-09-07T18:43:24ZTill BrehmAdmin protection broken for vhost subdomainsAdmin/client protection is not working for vhost subdomains.Admin/client protection is not working for vhost subdomains.3.3https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/4179DNSSEC Key-Generation broken on mirrors2020-10-19T11:44:04ZAlex von FiresplashDNSSEC Key-Generation broken on mirrorsThis is a TODO-Issue for me.
DNSSEC-Implementation does not work correctly in mirrored environments.
Todo:
1. block mirrors from generating keys
2. store the keys in database (without need of new DB fields as 3.1-DB-structure is alread...This is a TODO-Issue for me.
DNSSEC-Implementation does not work correctly in mirrored environments.
Todo:
1. block mirrors from generating keys
2. store the keys in database (without need of new DB fields as 3.1-DB-structure is already locked)
3. read keys from DB before creating new ones (this implements a DB-Backup as a side-effect)
4. on Mirrors retry signing if the key was not available on soa_create
I pulled this out from ispconfig/ispconfig3#1491 as it went a bit offtopic.https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/4106Mail quota sort by quota2020-10-30T20:24:24ZShafeekMail quota sort by quotaHello,
In the tab Statistics -> Mailbox Quota, we are unable to sort mailboxes by fields "Used Space" and "Used %". Sorting by other fields works great.
ISPConfig version 3.1 RC1.
Could someone check if they are encountering the sa...Hello,
In the tab Statistics -> Mailbox Quota, we are unable to sort mailboxes by fields "Used Space" and "Used %". Sorting by other fields works great.
ISPConfig version 3.1 RC1.
Could someone check if they are encountering the same issue?
Thanks
Shafeekhttps://git.ispconfig.org/ispconfig/ispconfig3/-/issues/4783Order of modules in navigationbar changed for whole users2020-02-28T21:58:23ZGhost UserOrder of modules in navigationbar changed for whole users## short description
After disabling a module for one user, the help module will be on first position for whole user (include admin).
Make this task withdraw don't affect the order. But if I disable the help module it will be always pres...## short description
After disabling a module for one user, the help module will be on first position for whole user (include admin).
Make this task withdraw don't affect the order. But if I disable the help module it will be always present for this user.
## correct behaviour
Order of modules should be the same as before.
## environment
Server OS: Debian 9
ISPConfig version: 3.1.6
```
PHP 7.0.19-1 (cli) (built: May 11 2017 14:04:47) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies
with Zend OPcache v7.0.19-1, Copyright (c) 1999-2017, by Zend Technologies
```
## proposed fix
## screenshots
![Picture of navbar](/uploads/4a982417cb5c739caec3fa96fcb6a7b0/navbar.jpg)
## log entries
There is no related log entry.
~bughttps://git.ispconfig.org/ispconfig/ispconfig3/-/issues/4888With Web Server Mirror and external database remote access is configured only...2017-12-17T07:56:36ZFrancesco CapuanoWith Web Server Mirror and external database remote access is configured only for the first server## short description
In a MultiServer setup with mirrored web server and external database the second IP address is not added as "Remote Access IPs".
**Detailed Description**
I have configured three servers with ISPConfig.
Two servers...## short description
In a MultiServer setup with mirrored web server and external database the second IP address is not added as "Remote Access IPs".
**Detailed Description**
I have configured three servers with ISPConfig.
Two servers with "Webserver" role (let's call them WEB1 and WEB2) and one with "DB-Server" role (let's call it DB1).
On WEB2 I've configured under "Server Services" "Is mirror of Server" WEB1.
Both WebServer mount and NFS export from the DB-Server (I had to enabled in server config-> web -> Permissions -> "Connect Linux userid to webid" and "Network Filesystem") otherwise I got different UIDs on the NFS mount between servers.
On the "DB-Server" I've configured only MariaDB and the NFS export explained before.
When I create a new database (the only selectable server is "DB1") it automatically add as "Remote Access IPs" the IP of WEB1, but WEB2 is not added. I've to do it manually.
## correct behaviour
I think it should added automatically, otherwise the second server can't access to the database.
## environment
Server OS: Ubuntu
Server OS version: 16.04.3
ISPConfig version: 3.1.9
Server version: Apache/2.4.18 (Ubuntu)
Server built: 2017-09-18T15:09:02
PHP 7.0.22-0ubuntu0.16.04.1 (cli) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies
with Zend OPcache v7.0.22-0ubuntu0.16.04.1, Copyright (c) 1999-2017, by Zend Technologieshttps://git.ispconfig.org/ispconfig/ispconfig3/-/issues/4991doubled IPv4 IP address entry2020-03-03T23:35:39Zumaxxdoubled IPv4 IP address entry## short description
Fresh install with dual stack IPv4/IPv6 has same single IPv4 entry twice listed under system -> server ip addresses.
## correct behaviour
Each unique IP should be listed only once.
## environment
Server OS: centos ...## short description
Fresh install with dual stack IPv4/IPv6 has same single IPv4 entry twice listed under system -> server ip addresses.
## correct behaviour
Each unique IP should be listed only once.
## environment
Server OS: centos
Server OS version: centos7.4
ISPConfig version: 3.1.11
This happened on a fresh installed standard Hetzner dedicated root server setup.
First entry, id 1 is correct IPv4 address of the server.
Second entry, id 2 is the same IPv4 address again <- not needed double entry.
Third entry, id 3 is the correct IPv6 address of the server.
## workaround
Just deleted second id double entry.https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/4996Support Messages - sort order by date not work2020-06-19T16:15:26ZJan KopeckySupport Messages - sort order by date not workSort order by date not work in support messages. When I click to date title all messages disappear.
ISPConfig version: 3.3.11Sort order by date not work in support messages. When I click to date title all messages disappear.
ISPConfig version: 3.3.11https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5039Search not working in domain field with öä characters2020-07-18T13:48:47ZTapio LehtonenSearch not working in domain field with öä characters## short description
What is happening and what is wrong with that?
I tested by creating domain hääyöaie.fi. Creating works and domain shows in DNS-Zones list, but searching with those öä characters does not work. Nothing is found. Like...## short description
What is happening and what is wrong with that?
I tested by creating domain hääyöaie.fi. Creating works and domain shows in DNS-Zones list, but searching with those öä characters does not work. Nothing is found. Like so:
- searching for hää, nothing found
- searching for aie finds the domain
Testing further, same thing in Sites tab searching Domain with öä characters.
## correct behaviour
What should happen instead?
öä and other non-ASCII characters should work in searches
## environment
Server OS: Debian GNU/Linux 9.4
Server OS version: Stretch
ISPConfig version: 3.1.11https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5052IP anonymization not working in access log2020-04-21T14:22:35ZJanekIP anonymization not working in access log## short description
I just updated to ISPConfig 3.1.12 and set the global option "Store website access and error logs" to "Anonymize IP".
Afterwards I did a resync of "Websites" on all Webservers.
Now IP anonymization does work f...## short description
I just updated to ISPConfig 3.1.12 and set the global option "Store website access and error logs" to "Anonymize IP".
Afterwards I did a resync of "Websites" on all Webservers.
Now IP anonymization does work for error.log of Apache2 but it does not work for access.log - neither Nginx nor Apache2 (All octets visible)
## correct behaviour
Websites access.log should only contain anonymized IP-addresses.
## environment
Server OS: debian
Server OS version: jessie
ISPConfig version: 3.1.12
Multiserver Setup, 2 Webservers: 1 with nginx, 1 with Apache2
```
$ nginx -v
nginx version: nginx/1.13.12
$ apachectl -v
Server version: Apache/2.4.23 (Debian)
Server built: 2016-08-12T19:44:31
$ php -v
PHP 7.0.30-1~dotdeb+8.1 (cli) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies
with Zend OPcache v7.0.30-1~dotdeb+8.1, Copyright (c) 1999-2017, by Zend Technologies
```
## references
ispconfig/ispconfig3#5050https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5064PHP-FCGI does not work when website client changes2018-06-28T07:30:25ZT0mcatPHP-FCGI does not work when website client changesWhen changing a websites client, the PHP-FCGI Wrapper script doesn't work because of suexec issues.
Cause: The group ownership of the dir holding the FCGI script (/var/www/php-fcgi-scripts/web...) wasn't changed to the new clients group ...When changing a websites client, the PHP-FCGI Wrapper script doesn't work because of suexec issues.
Cause: The group ownership of the dir holding the FCGI script (/var/www/php-fcgi-scripts/web...) wasn't changed to the new clients group (:client...). Changing it manually resolves the issue.https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5103Missing 'Web server config' Snippets on subdomain Vhost2020-08-30T16:40:55ZDmitryMissing 'Web server config' Snippets on subdomain VhostI have 'Create subdomains as web site' and 'Create aliasdomains as web site' enabled.
For these (Vhost) websites a 'Web server config' dropdown is empty. It should contain my Snippets just like a regular Website.I have 'Create subdomains as web site' and 'Create aliasdomains as web site' enabled.
For these (Vhost) websites a 'Web server config' dropdown is empty. It should contain my Snippets just like a regular Website.https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5114MySQL on another host (monitoring and update issue)2019-07-04T16:56:08ZRenat ShaimardanovMySQL on another host (monitoring and update issue)## short description
I have percona cluster installed and ISPconfig conneected to it throught HAProxy.
So I've used socket and host to connect to it.
But in this case:
1. service monitoring showing error - MySQL is nit running
2. Update...## short description
I have percona cluster installed and ISPconfig conneected to it throught HAProxy.
So I've used socket and host to connect to it.
But in this case:
1. service monitoring showing error - MySQL is nit running
2. Update to next version not working properly
## environment
Server OS: (debian)
Server OS version: (stretch)
ISPConfig version: (3.1.12/3.1.13)
## proposed fix
I've attached patch to fix this
for server/lib/classes/monitor_tools.inc.php[monitor_tools.inc.php.diff](/uploads/fce4780c1c46e9f3da98451c433de96c/monitor_tools.inc.php.diff)
and for install/update.php[update.php.diff](/uploads/d683967563395dccce212f59eae3d4c7/update.php.diff)https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5125Web server config and nginx Directives not working together2023-01-29T21:01:33ZSamWeb server config and nginx Directives not working togetherIf '*Web server config*' is selected, then '*nginx Directives*' are not added to nginx site config, although they are accepted in Options tab.
It would useful if they are both working together - ie. when I want to have some global confi...If '*Web server config*' is selected, then '*nginx Directives*' are not added to nginx site config, although they are accepted in Options tab.
It would useful if they are both working together - ie. when I want to have some global config like Wordpress for test and production domain, but I want to have HSTS enabled only on production and X-Robots-Tag only on testing. This is not possible now, without having 3 separate configs.https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5157Small UI glitch with "Read-only database user" field2020-08-20T20:21:15ZChris GrahamSmall UI glitch with "Read-only database user" fieldIf I'm adding a new database, if I click once to expand the "Read-only database user" drop-down (out of curiosity), and once again to contract, it goes from being a blank default to pre-selecting the first in the list.
Firefox 62.0.3 Mac...If I'm adding a new database, if I click once to expand the "Read-only database user" drop-down (out of curiosity), and once again to contract, it goes from being a blank default to pre-selecting the first in the list.
Firefox 62.0.3 Mac. Also latest Chrome.https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5160going to DNS records always add an action2022-12-07T07:57:10Zlaulaugoing to DNS records always add an action## short description
when viewing a DNS zone, not making any modification, switching to the record tab always add an action for ISPConfig cron.
## correct behaviour
if no modification was made, don't add any action
## environment
Serve...## short description
when viewing a DNS zone, not making any modification, switching to the record tab always add an action for ISPConfig cron.
## correct behaviour
if no modification was made, don't add any action
## environment
Server OS: ubuntu
Server OS version: 16.04
ISPConfig version: 3.1.13https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5180PHP-FPM might fail to reload config when multiple sites are removed at once2022-02-26T21:12:43ZTill BrehmPHP-FPM might fail to reload config when multiple sites are removed at oncehttps://www.howtoforge.com/community/threads/php-fpm-crashing-when-deleting-multiple-sites-at-once.80635/https://www.howtoforge.com/community/threads/php-fpm-crashing-when-deleting-multiple-sites-at-once.80635/https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/1353Domain & Client-Change2022-03-23T16:24:00ZGabriel K.Domain & Client-ChangeI noticed that there is needed several manual attention when updating a site-owner using ispConfig, as most of the configuration will not be updated with correct path-values.
So f.e. If you have a site "test.com" in ispConfig created fo...I noticed that there is needed several manual attention when updating a site-owner using ispConfig, as most of the configuration will not be updated with correct path-values.
So f.e. If you have a site "test.com" in ispConfig created for Client "Client1" and Web-User "web2" the whole configuration (incl. open_basedir) will be hard-configured for that site-record by copying the default-values of "system->server config -> web -> open_basedir values".
If you need to do an owner-change (f.e. mistake on creation) will mismatch all these values as all path are corrupt and owner-info in filesystem are wrong. Manual attention is needed while checking the vhost-config (apache), site-records open_basedir path's and of course correcting the user-info for the web-root (chown webx:clientx).
Why is there no automation? I think such an operation should be possible more comfortable. An owner change should correct all path values (vhost; open_basedir) and user-info in filesystem. For values such open_basedir I think it would be recommended to search/replace the old values/new values to keep user-added values untouched. This could be done by re-creating those values from "server-config -> web -> open_basedir", split the path values and do an search/replace on them with the new client-info.https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5240Subdomains changed when try to change webside-domain without permission2019-02-11T17:12:54ZWHOSubdomains changed when try to change webside-domain without permission## short description
https://www.howtoforge.com/community/threads/subdomain-changed-but-not-the-webside-domain.81293/
If a user try to change the website-domain without permission the domain of the subdomains will changed.
The website-d...## short description
https://www.howtoforge.com/community/threads/subdomain-changed-but-not-the-webside-domain.81293/
If a user try to change the website-domain without permission the domain of the subdomains will changed.
The website-domain is still the old but the subdomains are changed.
** Same problem on your demo.
## correct behaviour
If the user has no permission to change the website-domain the subdomains should not changed too.
## environment
Server OS: debian
Server OS version: stretch
ISPConfig version: 3.1.13
Server version: Apache/2.4.25 (Debian)
Server built: 2018-11-03T18:46:19
PHP 7.3.2-1+0~20190207180136.30+stretch~1.gbp501c1c (cli) (built: Feb 7 2019 18:01:37) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.2, Copyright (c) 1998-2018 Zend Technologies
with Zend OPcache v7.3.2-1+0~20190207180136.30+stretch~1.gbp501c1c, Copyright (c) 1999-2018, by Zend Technologieshttps://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5243(minor, visual) Backslashes not shown in RegEx preview2020-03-01T21:50:01ZTjeerd(minor, visual) Backslashes not shown in RegEx previewHeya! First of all, thanks for developing ISPconfig! I encountered a minor visual bug in the overview of the "Postfix Header and Body Checks", where backslashes in regular expressions don't show up. If you go to the entry itself it does ...Heya! First of all, thanks for developing ISPconfig! I encountered a minor visual bug in the overview of the "Postfix Header and Body Checks", where backslashes in regular expressions don't show up. If you go to the entry itself it does show them, so I assume everything works as intended.
![regex](/uploads/ed97245346d19afc6fb023d61e5d8d3a/regex.png)https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5263Vacation autoreply to ALIAS on same server2020-06-02T21:54:19ZAndreas SpeckVacation autoreply to ALIAS on same server## short description
We have several virtual mail domains on the same server, and some users have configured aliases for their mail addresses. This all works fine.
The problem is related to vacation autoreply, and ONLY in the following c...## short description
We have several virtual mail domains on the same server, and some users have configured aliases for their mail addresses. This all works fine.
The problem is related to vacation autoreply, and ONLY in the following case:
1. A user on our server has enabled autoreply
2. A different user on our server emails to the first user from an alias (not their real mailbox).
In this case the autoreply is triggered via sieve, but then dovecot does not deliver it. The log is the following:
Mar 5 08:53:20 platano dovecot: lda(email1@domaim1.com): sieve: msgid=<d2e92074-a11a-7627-7633-8d560425435a@netuxo.coop>: sent vacation response to <emailalias2@domain2.com>
Mar 5 08:53:20 platano postfix/pipe12074: DB02811C447F: to=<emailalias2@domain2.com>, relay=dovecot, delay=0.05, delays=0.03/0.01/0/0.02, dsn=5.1.1, status=bounced (user unknown)
I tracked it down to the following SQL in /etc/dovecot/dovecot-sql.conf:
user_query = SELECT email as user, maildir as home, CONCAT( maildir_format, ':', maildir, '/', IF(maildir_format='maildir','Maildir',maildir_format)) as mail, uid, gid, CONCAT('*:storage=', quota, 'B') AS quota_rule, CONCAT(maildir, '/.sieve') as sieve FROM mail_user WHERE (login = '%u' OR email = '%u') AND `disable%Ls` = 'n' AND server_id = '6'
As relay is via dovecot, and this SQL query does not check for aliases, the user is unknown (as it is an alias).
## correct behaviour
Either we should use a different relay, or dovecot should know what to do and expand the alias.
## environment
Server OS: (debian)
Server OS version: (stretch)
ISPConfig version: (3.1.x)
_you can use `grep 'ISPC_APP_VERSION' /usr/local/ispconfig/server/lib/config.inc.php` to get it from the command line_
## proposed fix
I went down the second route (dovdcot) and changed the SQL to:
user_query = SELECT email as user, maildir as home, CONCAT( maildir_format, ':', maildir, '/', IF(maildir_format='maildir','Maildir',maildir_format)) as mail, uid, gid, CONCAT('*:storage=', quota, 'B') AS quota_rule, CONCAT(maildir, '/.sieve') as sieve FROM mail_user LEFT OUTER JOIN mail_forwarding ON mail_user.email = mail_forwarding.destination WHERE (login = '%u' OR email = '%u' OR (mail_forwarding.source = '%u' AND mail_forwarding.server_id = '6' AND mail_forwarding.type = 'alias')) AND `disable%Ls` = 'n' AND mail_user.server_id = '6' GROUP BY email
This seems to do the trickhttps://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5307Monitor HD Quota Invalid Files value2020-09-21T21:04:26ZBrianMonitor HD Quota Invalid Files value## short description
When "grace" value is not empty in user quota (repquota -au) like this:
`web314 +- 188604 81920 82944 6dnů 7938 0 0`
the incorrect "files" value is parsed by 100-monitor_hd_quota.inc.php.
## c...## short description
When "grace" value is not empty in user quota (repquota -au) like this:
`web314 +- 188604 81920 82944 6dnů 7938 0 0`
the incorrect "files" value is parsed by 100-monitor_hd_quota.inc.php.
## correct behaviour
Parse used files value.
## proposed fix
when the "grace" value is set in user quota this works:
```
$data['user'][$username]['files'] += $s[6];
```
but when the "grace" is not set works this correctly:
```
$data['user'][$username]['files'] += $s[5];
```
So, maybe add some condition to the 100-monitor_hd_quota.inc.php ?https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5311PHP directives PHP_INI_SYSTEM not working for PHP-FPM2020-03-01T21:55:08ZJavier pasquinPHP directives PHP_INI_SYSTEM not working for PHP-FPM## short description
You can edit custom directives for php.ini on the ISPConfig Panel.
In php-fpm case when you declare a directive of type PHP_INI_SYSTEM it dosen't apply to system, because you have to edit in the php pool php.ini
The ...## short description
You can edit custom directives for php.ini on the ISPConfig Panel.
In php-fpm case when you declare a directive of type PHP_INI_SYSTEM it dosen't apply to system, because you have to edit in the php pool php.ini
The problem is when you create a phpinfo file.
You can see the value that you configured on the panel, but it's not applying correctly.
The value that is applying is the value on php.ini pool.
## correct behaviour
If you configure a directive type PHP_INI_SYSTEM on a php-fpm hosting, ISPConfig must detect it and not write to fpm conf.
In my case it is happening with 'disable_functions'
Maybe the easiest way for this issue is to create a new field like 'PHP open_basedir:' (PHP disable_functions:) and when is a php-fpm hosting show that is not configurable at least you configure on the general php.ini.
## environment
Server OS: debian
Server OS version: Stretch
ISPConfig version: 3.1.11https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5319Web server config not working for vHost Aliasdomain2020-08-30T16:40:55ZJanThielWeb server config not working for vHost Aliasdomain## short description
Web server configs (nginx / apache) cannot be selected when using vHost Aliasdomains. The dropdown is there but only contains the "-" entry. Using regular websites all expected Web Server Configs are there and select...## short description
Web server configs (nginx / apache) cannot be selected when using vHost Aliasdomains. The dropdown is there but only contains the "-" entry. Using regular websites all expected Web Server Configs are there and selectable.
Currently the nginx (didn't tested with apache) is used from the parent. But the PHP configs ("required php snippets" from the web server config) are not applied.
## correct behaviour
The dropdown should contain the configured Web Server Configs and also apply webserver AND php configs to the aliasdomains config files.
I believe this might be a regression, as I think it worked before.
## environment
Server OS: Centos
Server OS version: 7.6
ISPConfig version: 3.1.13p1
## screenshots
Aliasdomain (vHost) - Config missing:
![aliasdomain-vhost](/uploads/2c81de15d0f674ee77478c9e826ae693/aliasdomain-vhost.PNG)
Website / Web Domain - Configs available:
![website-webdomain](/uploads/12fb83f241fba86ba1e91da23ea8a661/website-webdomain.PNG)https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5370Web server config cannot be deselected as client2023-08-29T17:05:16ZWHOWeb server config cannot be deselected as client## short description
As a client, if you have activated a Web server config (Apache) for a website, the directive snippet cannot be deselected.
The change to "-" is not saved.
As Admin however it is possible to deselect the directive s...## short description
As a client, if you have activated a Web server config (Apache) for a website, the directive snippet cannot be deselected.
The change to "-" is not saved.
As Admin however it is possible to deselect the directive snippet at *Sites* => *Websites*.
## correct behaviour
Web server config should be deselected and entry in apache2.conf should be removed.
## environment
Server OS: Debian
Server OS version: Stretch
ISPConfig version: 3.1.13p1https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5447php-fpm socket/config not removed on change of php version2020-10-09T09:33:38ZZakphp-fpm socket/config not removed on change of php version## short description
When changing from one version of php-fpm to another, the corresponding config of the website is not removed. This always happens from one "direction" to another, but not the other way around. \
I've posted a similar...## short description
When changing from one version of php-fpm to another, the corresponding config of the website is not removed. This always happens from one "direction" to another, but not the other way around. \
I've posted a similar issue three months ago in another thread - regarding a different server and in context to a servers default php setting. I don't remembers hitting this issue when not changing the servers php default setting, as well as a websites php version - however I don't recall changing the php default on that server... Please see https://git.ispconfig.org/ispconfig/ispconfig3/issues/5333#note_68059 for reference as well.
## correct behaviour
php-fpm config should be removed and the daemon should be reloaded.
## environment
Server OS: ubuntu \
Server OS version: bionic / 18.04.3 LTS \
ISPConfig version: 3.1.15 (checked changelogs of p1 and p2 but couldn't see any relevant fixes)
## log entries
### From php5.6 -> 7.3
This is where the error ouccurs!
There should be a line "Removed PHP-FPM config file: /etc/php/5.6/fpm/pool.d/web3363.conf", as well as a reload of the daemon itself.
```
08.11.2019-10:32 - DEBUG - Calling function 'check_phpini_changes' from plugin 'webserver_plugin' raised by action 'server_plugins_loaded'.
08.11.2019-10:32 - DEBUG - Found 1 changes, starting update process.
08.11.2019-10:32 - DEBUG - Replicated from master: REPLACE INTO `web_domain` (`domain_id`,`sys_userid`,`sys_groupid`,`sys_perm_user`,`sys_perm_group`,`sys_perm_other`,`server_id`,`ip_address`,`ipv6_address`,`domain`,`type`,`parent_domain_id`,`vhost_type`,`document_root`,`web_folder`,`system_user`,`system_group`,`hd_quota`,`traffic_quota`,`cgi`,`ssi`,`suexec`,`errordocs`,`is_subdomainwww`,`subdomain`,`php`,`ruby`,`python`,`perl`,`redirect_type`,`redirect_path`,`seo_redirect`,`rewrite_to_https`,`ssl`,`ssl_letsencrypt`,`ssl_letsencrypt_exclude`,`ssl_state`,`ssl_locality`,`ssl_organisation`,`ssl_organisation_unit`,`ssl_country`,`ssl_domain`,`ssl_request`,`ssl_cert`,`ssl_bundle`,`ssl_key`,`ssl_action`,`stats_password`,`stats_type`,`allow_override`,`apache_directives`,`nginx_directives`,`php_fpm_use_socket`,`php_fpm_chroot`,`pm`,`pm_max_children`,`pm_start_servers`,`pm_min_spare_servers`,`pm_max_spare_servers`,`pm_process_idle_timeout`,`pm_max_requests`,`php_open_basedir`,`custom_php_ini`,`backup_interval`,`backup_copies`,`backup_excludes`,`active`,`traffic_quota_lock`,`fastcgi_php_version`,`proxy_directives`,`enable_spdy`,`last_quota_notification`,`rewrite_rules`,`added_date`,`added_by`,`directive_snippets_id`,`enable_pagespeed`,`http_port`,`https_port`,`log_retention`,`folder_directive_snippets`) VALUES ('3363','526','525','riud','ru','','31','*','','domain.tld','vhost','0','name','/var/www/clients/client524/web3363','','web3363','client524','1000','100000','n','n','y','0','1','none','php-fpm','n','n','n',NULL,NULL,NULL,'n','n','n','n',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'$6$rounds=5000$48b2e56734a9d55b$XNfG0T8n/Y7ZQA.7NbzVFTJ8DInMBGGGwoKApbZQmjnSM9ytK2OUdYCbnp8dZBjcrz24mvw0j2hy9FqojTcXp.','awstats','All','','','y','n','dynamic','10','2','1','5','10','0','/var/www/clients/client524/web3363/web:/var/www/clients/client524/web3363/private:/var/www/clients/client524/web3363/tmp:/var/www/domain.tld/web:/srv/www/domain.tld/web:/usr/share/php5:/usr/share/php:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin:/dev/random:/dev/urandom','\r\nmemory_limit = 256M\r\npost_max_size = 64M\r\nupload_max_filesize = 64M\r\nmax_input_time = -1\r\nmax_execution_time = 180\r\nmax_input_vars = 1580\r\n','none','1','','y','n','','','n',NULL,NULL,'2019-11-08','113548','0','n','80','443','10',NULL)
08.11.2019-10:32 - DEBUG - Calling function 'ssl' from plugin 'apache2_plugin' raised by event 'web_domain_update'.
08.11.2019-10:32 - DEBUG - Calling function 'update' from plugin 'apache2_plugin' raised by event 'web_domain_update'.
08.11.2019-10:32 - DEBUG - safe_exec cmd: chattr -i '/var/www/clients/client524/web3363' - return code: 0
08.11.2019-10:32 - DEBUG - safe_exec cmd: chattr +i '/var/www/clients/client524/web3363' - return code: 0
08.11.2019-10:32 - DEBUG - safe_exec cmd: df -T '/var/www/clients/client524/web3363'|awk 'END{print $2,$NF}' - return code: 0
08.11.2019-10:32 - DEBUG - safe_exec cmd: which 'setquota' 2> /dev/null - return code: 0
08.11.2019-10:32 - DEBUG - safe_exec cmd: setquota -u 'web3363' '1024000' '1025024' 0 0 -a &> /dev/null - return code: 0
setquota: Not setting block grace time on /dev/zd16p1 because softlimit is not exceeded.
setquota: Not setting inode grace time on /dev/zd16p1 because softlimit is not exceeded.
08.11.2019-10:32 - DEBUG - safe_exec cmd: setquota -T -u 'web3363' 604800 604800 -a &> /dev/null - return code: 0
08.11.2019-10:32 - DEBUG - safe_exec cmd: chattr +i '/var/www/clients/client524/web3363' - return code: 0
08.11.2019-10:32 - DEBUG - safe_exec cmd: which 'apache2ctl' 2> /dev/null - return code: 0
08.11.2019-10:32 - DEBUG - Writing the vhost file: /etc/apache2/sites-available/domain.tld.vhost
08.11.2019-10:32 - DEBUG - safe_exec cmd: which 'apache2ctl' 2> /dev/null - return code: 0
08.11.2019-10:32 - DEBUG - Writing the PHP-FPM config file: /etc/php/7.3/fpm/pool.d/web3363.conf
08.11.2019-10:32 - DEBUG - Calling function 'restartPHP_FPM' from module 'web_module'.
08.11.2019-10:32 - DEBUG - Restarting php-fpm: systemctl reload php7.3-fpm.service
08.11.2019-10:32 - DEBUG - Apache status is: running
08.11.2019-10:32 - DEBUG - Calling function 'restartHttpd' from module 'web_module'.
08.11.2019-10:32 - DEBUG - Restarting httpd: systemctl restart apache2.service
08.11.2019-10:32 - DEBUG - Apache restart return value is: 0
08.11.2019-10:32 - DEBUG - Apache online status after restart is: running
08.11.2019-10:32 - DEBUG - Processed datalog_id 30661
08.11.2019-10:32 - DEBUG - Remove Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock
finished.
```
### From php7.3 -> 5.6
All good here...
```
08.11.2019-10:32 - DEBUG - Calling function 'check_phpini_changes' from plugin 'webserver_plugin' raised by action 'server_plugins_loaded'.
08.11.2019-10:32 - DEBUG - Found 1 changes, starting update process.
08.11.2019-10:32 - DEBUG - Replicated from master: REPLACE INTO `web_domain` (`domain_id`,`sys_userid`,`sys_groupid`,`sys_perm_user`,`sys_perm_group`,`sys_perm_other`,`server_id`,`ip_address`,`ipv6_address`,`domain`,`type`,`parent_domain_id`,`vhost_type`,`document_root`,`web_folder`,`system_user`,`system_group`,`hd_quota`,`traffic_quota`,`cgi`,`ssi`,`suexec`,`errordocs`,`is_subdomainwww`,`subdomain`,`php`,`ruby`,`python`,`perl`,`redirect_type`,`redirect_path`,`seo_redirect`,`rewrite_to_https`,`ssl`,`ssl_letsencrypt`,`ssl_letsencrypt_exclude`,`ssl_state`,`ssl_locality`,`ssl_organisation`,`ssl_organisation_unit`,`ssl_country`,`ssl_domain`,`ssl_request`,`ssl_cert`,`ssl_bundle`,`ssl_key`,`ssl_action`,`stats_password`,`stats_type`,`allow_override`,`apache_directives`,`nginx_directives`,`php_fpm_use_socket`,`php_fpm_chroot`,`pm`,`pm_max_children`,`pm_start_servers`,`pm_min_spare_servers`,`pm_max_spare_servers`,`pm_process_idle_timeout`,`pm_max_requests`,`php_open_basedir`,`custom_php_ini`,`backup_interval`,`backup_copies`,`backup_excludes`,`active`,`traffic_quota_lock`,`fastcgi_php_version`,`proxy_directives`,`enable_spdy`,`last_quota_notification`,`rewrite_rules`,`added_date`,`added_by`,`directive_snippets_id`,`enable_pagespeed`,`http_port`,`https_port`,`log_retention`,`folder_directive_snippets`) VALUES ('3363','526','525','riud','ru','','31','*','','domain.tld','vhost','0','name','/var/www/clients/client524/web3363','','web3363','client524','1000','100000','n','n','y','0','1','none','php-fpm','n','n','n',NULL,NULL,NULL,'n','n','n','n',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'$6$rounds=5000$48b2e56734a9d55b$XNfG0T8n/Y7ZQA.7NbzVFTJ8DInMBGGGwoKApbZQmjnSM9ytK2OUdYCbnp8dZBjcrz24mvw0j2hy9FqojTcXp.','awstats','All','','','y','n','dynamic','10','2','1','5','10','0','/var/www/clients/client524/web3363/web:/var/www/clients/client524/web3363/private:/var/www/clients/client524/web3363/tmp:/var/www/domain.tld/web:/srv/www/domain.tld/web:/usr/share/php5:/usr/share/php:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin:/dev/random:/dev/urandom','\r\nmemory_limit = 256M\r\npost_max_size = 64M\r\nupload_max_filesize = 64M\r\nmax_input_time = -1\r\nmax_execution_time = 180\r\nmax_input_vars = 1580\r\n','none','1','','y','n','php5.6:/etc/init.d/php5.6-fpm:/etc/php/5.6/fpm/:/etc/php/5.6/fpm/pool.d','','n',NULL,NULL,'2019-11-08','113548','0','n','80','443','10',NULL)
08.11.2019-10:32 - DEBUG - Calling function 'ssl' from plugin 'apache2_plugin' raised by event 'web_domain_update'.
08.11.2019-10:32 - DEBUG - Calling function 'update' from plugin 'apache2_plugin' raised by event 'web_domain_update'.
08.11.2019-10:32 - DEBUG - safe_exec cmd: chattr -i '/var/www/clients/client524/web3363' - return code: 0
08.11.2019-10:32 - DEBUG - safe_exec cmd: chattr +i '/var/www/clients/client524/web3363' - return code: 0
08.11.2019-10:32 - DEBUG - safe_exec cmd: df -T '/var/www/clients/client524/web3363'|awk 'END{print $2,$NF}' - return code: 0
08.11.2019-10:32 - DEBUG - safe_exec cmd: which 'setquota' 2> /dev/null - return code: 0
08.11.2019-10:32 - DEBUG - safe_exec cmd: setquota -u 'web3363' '1024000' '1025024' 0 0 -a &> /dev/null - return code: 0
setquota: Not setting block grace time on /dev/zd16p1 because softlimit is not exceeded.
setquota: Not setting inode grace time on /dev/zd16p1 because softlimit is not exceeded.
08.11.2019-10:32 - DEBUG - safe_exec cmd: setquota -T -u 'web3363' 604800 604800 -a &> /dev/null - return code: 0
08.11.2019-10:32 - DEBUG - safe_exec cmd: chattr +i '/var/www/clients/client524/web3363' - return code: 0
08.11.2019-10:32 - DEBUG - safe_exec cmd: which 'apache2ctl' 2> /dev/null - return code: 0
08.11.2019-10:32 - DEBUG - Writing the vhost file: /etc/apache2/sites-available/domain.tld.vhost
08.11.2019-10:32 - DEBUG - safe_exec cmd: which 'apache2ctl' 2> /dev/null - return code: 0
08.11.2019-10:32 - DEBUG - Writing the PHP-FPM config file: /etc/php/5.6/fpm/pool.d/web3363.conf
08.11.2019-10:32 - DEBUG - Removed PHP-FPM config file: /etc/php/7.3/fpm/pool.d/web3363.conf
08.11.2019-10:32 - DEBUG - Calling function 'restartPHP_FPM' from module 'web_module'.
08.11.2019-10:32 - DEBUG - Restarting php-fpm: systemctl reload php7.3-fpm.service
08.11.2019-10:32 - DEBUG - Calling function 'restartPHP_FPM' from module 'web_module'.
08.11.2019-10:32 - DEBUG - Restarting php-fpm: systemctl reload php5.6-fpm.service
08.11.2019-10:32 - DEBUG - Apache status is: running
08.11.2019-10:32 - DEBUG - Calling function 'restartHttpd' from module 'web_module'.
08.11.2019-10:32 - DEBUG - Restarting httpd: systemctl restart apache2.service
08.11.2019-10:32 - DEBUG - Apache restart return value is: 0
08.11.2019-10:32 - DEBUG - Apache online status after restart is: running
08.11.2019-10:32 - DEBUG - Processed datalog_id 30660
08.11.2019-10:32 - DEBUG - Remove Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock
finished.
```https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5449Why the firewall is always seen inactive during the update process2021-01-09T22:12:26ZOlivier BOUMATIWhy the firewall is always seen inactive during the update processHello,
I use ISPConfig for several years on 6 different Debian servers. So I proceeded regularly updates ISPConfig and systems packages.
I noticed during each update, that the process detects that the firewall is inactive while I answer ...Hello,
I use ISPConfig for several years on 6 different Debian servers. So I proceeded regularly updates ISPConfig and systems packages.
I noticed during each update, that the process detects that the firewall is inactive while I answer always need to activate it. Why does not he retains this choice as he does very well for all other matters relating to the installation?
Thank you
Regards,
Olivier
## environment
Server OS: (Debian)
Server OS version: (Stretch)
ISPConfig version: (3.1.15p2 and other)
## Apache version
root:~# apachectl -v
Server version: Apache/2.4.25 (Debian)
Server built: 2019-10-13T15:43:54
## PHP version
root:~# php -v
PHP 5.6.40-13+0~20191026.23+debian9~1.gbp37e45b (cli)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologieshttps://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5478Spamfilter BL/WL leaks servernames to customer2021-11-15T20:47:18ZZakSpamfilter BL/WL leaks servernames to customer### Problem
The "Server" dropdown selector in the users Spamfilter BL/WL dialog leaks all servernames within the "ISPConfig network" to the user - regardless of their function and their availability to the user.
### Proposed solution(s)...### Problem
The "Server" dropdown selector in the users Spamfilter BL/WL dialog leaks all servernames within the "ISPConfig network" to the user - regardless of their function and their availability to the user.
### Proposed solution(s)
1) Only offer (mail)servers assigned to the specific user
2) Only offer (mail)servers which are already in use by a user set spamfilter directive
3) Remove the dropdown menu in favor of a text input fieldhttps://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5483Subdomain (vhost) with subroot creates incorrect document root2019-12-22T08:31:56ZXaver MaierhoferSubdomain (vhost) with subroot creates incorrect document root## short description
Docroot is missing a `/`
`subdomain` as folder and `##subroot web ##` in vhost ends up with `path.../clienZY/webXY/subdomainweb` as root
## correct behaviour
`/` needs to be added. `subdomain/` will strip the `/` o...## short description
Docroot is missing a `/`
`subdomain` as folder and `##subroot web ##` in vhost ends up with `path.../clienZY/webXY/subdomainweb` as root
## correct behaviour
`/` needs to be added. `subdomain/` will strip the `/` on save and also subroot used a ltrim `/` and will remove the needed `/`
## environment
Server OS: debian
Server OS version: 10
ISPConfig version: git-stable
If it might be related to the problem
```
nginx version: nginx/1.17.6
```
```
PHP 7.3.12
```
## proposed fix
add a `/` in subdomain vhost, because the website/domain has a `/` or allow `/` and strip double `//`https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5514Mount for log files gets deleted after domain change2021-03-18T19:58:42ZDanielMount for log files gets deleted after domain change## short description
When changing the domain of a website in ISPConfig, the "log" folder of the website is empty. Reason is that the fstab entries are not added for the new domain (but the old entry gets deleted).
*(I assume that a dom...## short description
When changing the domain of a website in ISPConfig, the "log" folder of the website is empty. Reason is that the fstab entries are not added for the new domain (but the old entry gets deleted).
*(I assume that a domain change affects other parts of ISPConfig and the system too - if you can think of them maybe a new bug ticket should be opened)*
## correct behaviour
A new fstab entry should be created based on the new domain name, after deleting the old one.
## environment
Server OS: Ubuntu
Server OS version: 16.04 LTS
ISPConfig version: 3.1.15p2 (older versions affected too)
## references
https://www.howtoforge.com/community/threads/renaming-domain-deletes-logs.83607/https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5527Server Config > Mail tab reconfigures server with no changes and mail service...2021-01-03T19:40:29ZJesse NorellServer Config > Mail tab reconfigures server with no changes and mail service disabledOn a server with mail service disabled, browsing to the Server Config > {server} > Mail tab and then to another tab will actually save changes and change the server's postfix config.
Discussion at https://www.howtoforge.com/community/th...On a server with mail service disabled, browsing to the Server Config > {server} > Mail tab and then to another tab will actually save changes and change the server's postfix config.
Discussion at https://www.howtoforge.com/community/threads/bug-or-misconfiguration.83712/https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5547Mailbox traffic statistics not working on Rspamd servers2023-05-05T19:02:10ZTill BrehmMailbox traffic statistics not working on Rspamd serversMailbox traffic statistics not working on Rspamd servers as the mailbox parse regex in the 100-mailbox_stats.inc.php cron plugin parses amavis log lines only.Mailbox traffic statistics not working on Rspamd servers as the mailbox parse regex in the 100-mailbox_stats.inc.php cron plugin parses amavis log lines only.https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5555Remote API function client_template_additional_add() broken2020-08-28T16:34:17ZTill BrehmRemote API function client_template_additional_add() brokenThe remote API function client_template_additional_add() does not calculate the limits correctly.The remote API function client_template_additional_add() does not calculate the limits correctly.https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5560Unable to access statistics if using subroot configuration on nginx2020-12-31T09:59:55ZJacob RasmussenUnable to access statistics if using subroot configuration on nginx## short description
When subroot (eg. `##subroot web##`) is defined for a given site, nginx tries to resolve the path to the statistics folder in the subroot path instead of document root and this results in 404 errors on all resources ...## short description
When subroot (eg. `##subroot web##`) is defined for a given site, nginx tries to resolve the path to the statistics folder in the subroot path instead of document root and this results in 404 errors on all resources in the stats folder.
I haven't tested if the Apache configuration displays the same behavior.
## correct behaviour
Website configuration should be changed, so that content from the stats folder is accessible.
## environment
Server OS: Ubuntu
Server OS version: 18.04.4
ISPConfig version: 3.1.15p3
nginx version: nginx/1.14.0 (Ubuntu)
## proposed fix
None right now
## log entries
```
2020/03/03 08:11:55 [error] 3335#3335: *181766 "/var/www/<website redacted>/web/web/stats/index.html" is not found (2: No such file or directory), client: <redacted>, server: <website redacted>, request: "GET /stats/ HTTP/2.0", host: "<website redacted>"
2020/03/03 08:16:19 [error] 3447#3447: *181834 open() "/var/www/<website redacted>/web/web/stats/awindex.html" failed (2: No such file or directory), client: <redacted>, server: <website redacted>, request: "GET /stats/awindex.html HTTP/2.0", host: "<website redacted>"
2020/03/06 08:07:23 [error] 29416#29416: *154016 open() "/var/www/<website redacted>/web/web/stats/index.php" failed (2: No such file or directory), client: <redacted>, server: <website redacted>, request: "GET /stats/index.php HTTP/2.0", host: "<website redacted>"
```https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5566PHP Handler not filled on error (System > Main config)2020-11-14T20:17:36ZManoa RatefiarisonPHP Handler not filled on error (System > Main config)## short description
The problem happens when I did (by mistake) added a "." in field prefix for user database in System > Main Config. After that, ISPConfig told me that there is some unauthorized chars in this field, but at the same ti...## short description
The problem happens when I did (by mistake) added a "." in field prefix for user database in System > Main Config. After that, ISPConfig told me that there is some unauthorized chars in this field, but at the same time, all PHP Handler cases has been dischecked.
## correct behaviour
PHP Handler cases should keep previous settings (from the latest form submit or from the database).
## environment
Server OS: Debian
Server OS version: Stretch
ISPConfig version: 3.1.15p3https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5586Maibox quota | Email domain quota2020-11-02T15:54:15ZTonMaibox quota | Email domain quotaGood afternoon,
I'm writing because we have detected a problem with email quotas. It's a real case that has happened to us.
1. The client has created an email box: email01@domain.com with a fee of 5 Gb.
2. When the mailbox reaches 5Gb...Good afternoon,
I'm writing because we have detected a problem with email quotas. It's a real case that has happened to us.
1. The client has created an email box: email01@domain.com with a fee of 5 Gb.
2. When the mailbox reaches 5Gb, they deactivate it and modify the quota reducing it to 1 Mb for example.
3. Then they create a new email box: email02@domain.com and they have all the domain fees to use again.
4. The first mailbox has not been deleted, so it uses the 5 Gb hard disk quota.
5. This has been repeated with several emails, so this user is consuming much more hard disk quota than the one assigned to his domain without our control.
Regards.
On the other hand, would it be possible to have a limit per account instead of a global limit for all accounts? I think it is the most used option in hosting plans (max quota limit per account) more common than global quota per email domain.
Example:
Currently, we could set a domain email quota to 10Gb. This means we could have a mailbox with a 10Gb quota or 10 email mailboxes with 1Gb. We believe it is more common to set a maximum of 10 mailboxes and 1G max for each one for example.
I have seen that it is an open request a long time ago, we are following the changes but it has not entered the roadmap.
Thank you very much for the excellent work on this project.https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5608[rspamd] DKIM check not working when switching from amavis to rspamd (CentOS7)2022-04-26T17:53:27ZJanThiel[rspamd] DKIM check not working when switching from amavis to rspamd (CentOS7)## short description
As described in this topic already, the dkim_signing.conf is not created in the rspamd config folder ( /etc/rspamd/local.d/ ) when you switch from amavisd to rspam. The _rspamd user also needs to be added to the amav...## short description
As described in this topic already, the dkim_signing.conf is not created in the rspamd config folder ( /etc/rspamd/local.d/ ) when you switch from amavisd to rspam. The _rspamd user also needs to be added to the amavis group (though I didn't check if this really was missing, before simply adding it :-/)
Thus rspamd is not able to find the dkim keys and throws warnings in the log.
```
dkim_module_load_key_format: cannot load dkim key /var/lib/rspamd/dkim/[DOMAIN].dkim.key: cannot stat key file: '/var/lib/rspamd/dkim/[DOMAIN].dkim.key' File or folder not found
```
https://www.howtoforge.com/community/threads/rspamd-greylist-dkim-keys-not-loaded.82823/#post-395279
## correct behaviour
DKIM files should be read from existing amavisd folder without manual intervention and configuration
## environment
Server OS: centos 7
ISPConfig version: 3.1.15p3
## proposed fix
- _rspamd user should be added to group amavisd
- **/etc/rspamd/local.d/dkim_signing.conf** should be created with the following content:
```
try_fallback = false;
path_map = "/etc/rspamd/local.d/dkim_domains.map";
selector_map = "/etc/rspamd/local.d/dkim_selectors.map";
```https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5613Adding zones to PowerDNS with 'notified_serial' set breaks native DNS replica...2020-05-08T08:31:14ZMichael WeißAdding zones to PowerDNS with 'notified_serial' set breaks native DNS replication## short description
When creating a new zone, the powerdns-plugin inserts the domain with the field "notified_serial" set to the inital serial from SOA. Therefore the pdns server does not notify any slaves since notified_serial == curre...## short description
When creating a new zone, the powerdns-plugin inserts the domain with the field "notified_serial" set to the inital serial from SOA. Therefore the pdns server does not notify any slaves since notified_serial == current serial from soa. This breaks zone replication to e.g. bind slaves.
## correct behaviour
Leave out "notified_serial" when adding a new zone or set it explicitly to NULL.
## environment
Any.
## proposed fix
server/plugins-available/powerdns_plugin.inc.php: 137,16
$app->db->query("INSERT INTO powerdns.domains (name, type, ispconfig_id) VALUES (?, ?, ?)", $origin, 'MASTER', $ispconfig_id);https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5616PHP-FPM fails after too many restarts2022-02-26T21:12:41ZGuillaume SubironPHP-FPM fails after too many restarts## short description
I deleted some shell users. After a few seconds, php7.4-fpm stopped and remained failed.
Here is the syslog, which explains why php7.4-fpm failed.
```
May 8 11:49:01 myhost systemd[1]: php7.4-fpm.service: Succeed...## short description
I deleted some shell users. After a few seconds, php7.4-fpm stopped and remained failed.
Here is the syslog, which explains why php7.4-fpm failed.
```
May 8 11:49:01 myhost systemd[1]: php7.4-fpm.service: Succeeded.
May 8 11:49:01 myhost systemd[1]: php7.4-fpm.service: Succeeded.
May 8 11:49:02 myhost systemd[1]: php7.4-fpm.service: Succeeded.
May 8 11:49:02 myhost systemd[1]: php7.4-fpm.service: Succeeded.
May 8 11:49:03 myhost systemd[1]: php7.4-fpm.service: Succeeded.
May 8 11:49:03 myhost systemd[1]: php7.4-fpm.service: Succeeded.
May 8 11:49:03 myhost systemd[1]: php7.4-fpm.service: Start request repeated too quickly.
May 8 11:49:03 myhost systemd[1]: php7.4-fpm.service: Failed with result 'start-limit-hit'.
May 8 11:49:03 myhost systemd[1]: php7.4-fpm.service: Start request repeated too quickly.
May 8 11:49:03 myhost systemd[1]: php7.4-fpm.service: Failed with result 'start-limit-hit'.
May 8 11:49:04 myhost systemd[1]: php7.4-fpm.service: Start request repeated too quickly.
May 8 11:49:04 myhost systemd[1]: php7.4-fpm.service: Failed with result 'start-limit-hit'.
```
And here is anonymized ISPConfig log:
```
08.05.2020-11:49 - DEBUG - Found 9 changes, starting update process.
08.05.2020-11:49 - DEBUG - Calling function 'delete' from plugin 'shelluser_base_plugin' raised by event 'shell_user_delete'.
08.05.2020-11:49 - DEBUG - safe_exec cmd: chattr -i '/var/www/clients/client1/web119' - return code: 0
08.05.2020-11:49 - DEBUG - safe_exec cmd: rm -rf '/var/www/clients/client1/web119/home/user1/.ssh' - return code: 0
08.05.2020-11:49 - DEBUG - safe_exec cmd: chattr -i '/var/www/clients/client1/web119' - return code: 0
08.05.2020-11:49 - DEBUG - Calling function 'restartPHP_FPM' from module 'web_module'.
08.05.2020-11:49 - DEBUG - Restarting php-fpm: systemctl stop php7.4-fpm.service
08.05.2020-11:49 - DEBUG - safe_exec cmd: killall -u 'user1' ; userdel -f 'user1' &> /dev/null - return code: 0
08.05.2020-11:49 - DEBUG - Deleted shelluser: user1
08.05.2020-11:49 - DEBUG - Calling function 'restartPHP_FPM' from module 'web_module'.
08.05.2020-11:49 - DEBUG - Restarting php-fpm: systemctl start php7.4-fpm.service
08.05.2020-11:49 - DEBUG - Calling function 'delete' from plugin 'shelluser_jailkit_plugin' raised by event 'shell_user_delete'.
08.05.2020-11:49 - DEBUG - Jailkit Plugin -> delete username:user1
08.05.2020-11:49 - DEBUG - Processed datalog_id 6957
08.05.2020-11:49 - DEBUG - Calling function 'delete' from plugin 'shelluser_base_plugin' raised by event 'shell_user_delete'.
08.05.2020-11:49 - DEBUG - safe_exec cmd: chattr -i '/var/www/clients/client1/web121' - return code: 0
08.05.2020-11:49 - DEBUG - safe_exec cmd: rm -rf '/var/www/clients/client1/web121/home/user2/.ssh' - return code: 0
08.05.2020-11:49 - DEBUG - safe_exec cmd: chattr -i '/var/www/clients/client1/web121' - return code: 0
08.05.2020-11:49 - DEBUG - safe_exec cmd: killall -u 'user2' ; userdel -f 'user2' &> /dev/null - return code: 0
08.05.2020-11:49 - DEBUG - Deleted shelluser: user2
08.05.2020-11:49 - DEBUG - Calling function 'delete' from plugin 'shelluser_jailkit_plugin' raised by event 'shell_user_delete'.
08.05.2020-11:49 - DEBUG - Jailkit Plugin -> delete username:user2
08.05.2020-11:49 - DEBUG - Processed datalog_id 6958
08.05.2020-11:49 - DEBUG - Calling function 'delete' from plugin 'shelluser_base_plugin' raised by event 'shell_user_delete'.
08.05.2020-11:49 - DEBUG - safe_exec cmd: chattr -i '/var/www/clients/client1/web124' - return code: 0
08.05.2020-11:49 - DEBUG - safe_exec cmd: rm -rf '/var/www/clients/client1/web124/home/user3/.ssh' - return code: 0
08.05.2020-11:49 - DEBUG - safe_exec cmd: chattr -i '/var/www/clients/client1/web124' - return code: 0
08.05.2020-11:49 - DEBUG - Calling function 'restartPHP_FPM' from module 'web_module'.
08.05.2020-11:49 - DEBUG - Restarting php-fpm: systemctl stop php7.4-fpm.service
08.05.2020-11:49 - DEBUG - safe_exec cmd: killall -u 'user3' ; userdel -f 'user3' &> /dev/null - return code: 0
08.05.2020-11:49 - DEBUG - Deleted shelluser: user3
08.05.2020-11:49 - DEBUG - Calling function 'restartPHP_FPM' from module 'web_module'.
08.05.2020-11:49 - DEBUG - Restarting php-fpm: systemctl start php7.4-fpm.service
08.05.2020-11:49 - DEBUG - Calling function 'delete' from plugin 'shelluser_jailkit_plugin' raised by event 'shell_user_delete'.
08.05.2020-11:49 - DEBUG - Jailkit Plugin -> delete username:user3
08.05.2020-11:49 - DEBUG - Processed datalog_id 6959
08.05.2020-11:49 - DEBUG - Calling function 'delete' from plugin 'shelluser_base_plugin' raised by event 'shell_user_delete'.
08.05.2020-11:49 - DEBUG - safe_exec cmd: chattr -i '/var/www/clients/client1/web144' - return code: 0
08.05.2020-11:49 - DEBUG - safe_exec cmd: rm -rf '/var/www/clients/client1/web144/home/user4/.ssh' - return code: 0
08.05.2020-11:49 - DEBUG - safe_exec cmd: chattr -i '/var/www/clients/client1/web144' - return code: 0
08.05.2020-11:49 - DEBUG - Calling function 'restartPHP_FPM' from module 'web_module'.
08.05.2020-11:49 - DEBUG - Restarting php-fpm: systemctl stop php7.4-fpm.service
08.05.2020-11:49 - DEBUG - safe_exec cmd: killall -u 'user4' ; userdel -f 'user4' &> /dev/null - return code: 0
08.05.2020-11:49 - DEBUG - Deleted shelluser: user4
08.05.2020-11:49 - DEBUG - Calling function 'restartPHP_FPM' from module 'web_module'.
08.05.2020-11:49 - DEBUG - Restarting php-fpm: systemctl start php7.4-fpm.service
08.05.2020-11:49 - DEBUG - Calling function 'delete' from plugin 'shelluser_jailkit_plugin' raised by event 'shell_user_delete'.
08.05.2020-11:49 - DEBUG - Jailkit Plugin -> delete username:user4
08.05.2020-11:49 - DEBUG - Processed datalog_id 6960
08.05.2020-11:49 - DEBUG - Calling function 'delete' from plugin 'shelluser_base_plugin' raised by event 'shell_user_delete'.
08.05.2020-11:49 - DEBUG - safe_exec cmd: chattr -i '/var/www/clients/client1/web163' - return code: 0
08.05.2020-11:49 - DEBUG - safe_exec cmd: rm -rf '/var/www/clients/client1/web163/home/user5/.ssh' - return code: 0
08.05.2020-11:49 - DEBUG - safe_exec cmd: chattr -i '/var/www/clients/client1/web163' - return code: 0
08.05.2020-11:49 - DEBUG - Calling function 'restartPHP_FPM' from module 'web_module'.
08.05.2020-11:49 - DEBUG - Restarting php-fpm: systemctl stop php7.4-fpm.service
08.05.2020-11:49 - DEBUG - safe_exec cmd: killall -u 'user5' ; userdel -f 'user5' &> /dev/null - return code: 0
08.05.2020-11:49 - DEBUG - Deleted shelluser: user5
08.05.2020-11:49 - DEBUG - Calling function 'restartPHP_FPM' from module 'web_module'.
08.05.2020-11:49 - DEBUG - Restarting php-fpm: systemctl start php7.4-fpm.service
08.05.2020-11:49 - DEBUG - Calling function 'delete' from plugin 'shelluser_jailkit_plugin' raised by event 'shell_user_delete'.
08.05.2020-11:49 - DEBUG - Jailkit Plugin -> delete username:user5
08.05.2020-11:49 - DEBUG - Processed datalog_id 6961
08.05.2020-11:49 - DEBUG - Calling function 'delete' from plugin 'shelluser_base_plugin' raised by event 'shell_user_delete'.
08.05.2020-11:49 - DEBUG - safe_exec cmd: chattr -i '/var/www/clients/client1/web122' - return code: 0
08.05.2020-11:49 - DEBUG - safe_exec cmd: rm -rf '/var/www/clients/client1/web122/home/user6/.ssh' - return code: 0
08.05.2020-11:49 - DEBUG - safe_exec cmd: chattr -i '/var/www/clients/client1/web122' - return code: 0
08.05.2020-11:49 - DEBUG - Calling function 'restartPHP_FPM' from module 'web_module'.
08.05.2020-11:49 - DEBUG - Restarting php-fpm: systemctl stop php7.4-fpm.service
08.05.2020-11:49 - DEBUG - safe_exec cmd: killall -u 'user6' ; userdel -f 'user6' &> /dev/null - return code: 0
08.05.2020-11:49 - DEBUG - Deleted shelluser: user6
08.05.2020-11:49 - DEBUG - Calling function 'restartPHP_FPM' from module 'web_module'.
08.05.2020-11:49 - DEBUG - Restarting php-fpm: systemctl start php7.4-fpm.service
08.05.2020-11:49 - DEBUG - Calling function 'delete' from plugin 'shelluser_jailkit_plugin' raised by event 'shell_user_delete'.
08.05.2020-11:49 - DEBUG - Jailkit Plugin -> delete username:user6
08.05.2020-11:49 - DEBUG - Processed datalog_id 6962
08.05.2020-11:49 - DEBUG - Calling function 'delete' from plugin 'shelluser_base_plugin' raised by event 'shell_user_delete'.
08.05.2020-11:49 - DEBUG - safe_exec cmd: chattr -i '/var/www/clients/client1/web81' - return code: 0
08.05.2020-11:49 - DEBUG - safe_exec cmd: rm -rf '/var/www/clients/client1/web81/home/user7/.ssh' - return code: 0
08.05.2020-11:49 - DEBUG - safe_exec cmd: chattr -i '/var/www/clients/client1/web81' - return code: 0
08.05.2020-11:49 - DEBUG - Calling function 'restartPHP_FPM' from module 'web_module'.
08.05.2020-11:49 - DEBUG - Restarting php-fpm: systemctl stop php7.4-fpm.service
08.05.2020-11:49 - DEBUG - safe_exec cmd: killall -u 'user7' ; userdel -f 'user7' &> /dev/null - return code: 0
08.05.2020-11:49 - DEBUG - Deleted shelluser: user7
08.05.2020-11:49 - DEBUG - Calling function 'restartPHP_FPM' from module 'web_module'.
08.05.2020-11:49 - DEBUG - Restarting php-fpm: systemctl start php7.4-fpm.service
08.05.2020-11:49 - DEBUG - Calling function 'delete' from plugin 'shelluser_jailkit_plugin' raised by event 'shell_user_delete'.
08.05.2020-11:49 - DEBUG - Jailkit Plugin -> delete username:user7
08.05.2020-11:49 - DEBUG - Processed datalog_id 6963
08.05.2020-11:49 - DEBUG - Calling function 'delete' from plugin 'shelluser_base_plugin' raised by event 'shell_user_delete'.
08.05.2020-11:49 - DEBUG - safe_exec cmd: chattr -i '/var/www/clients/client1/web50' - return code: 0
08.05.2020-11:49 - DEBUG - safe_exec cmd: rm -rf '/var/www/clients/client1/web50/home/user8/.ssh' - return code: 0
08.05.2020-11:49 - DEBUG - safe_exec cmd: chattr -i '/var/www/clients/client1/web50' - return code: 0
08.05.2020-11:49 - DEBUG - Calling function 'restartPHP_FPM' from module 'web_module'.
08.05.2020-11:49 - DEBUG - Restarting php-fpm: systemctl stop php7.4-fpm.service
08.05.2020-11:49 - DEBUG - safe_exec cmd: killall -u 'user8' ; userdel -f 'user8' &> /dev/null - return code: 0
08.05.2020-11:49 - DEBUG - Deleted shelluser: user8
08.05.2020-11:49 - DEBUG - Calling function 'restartPHP_FPM' from module 'web_module'.
08.05.2020-11:49 - DEBUG - Restarting php-fpm: systemctl start php7.4-fpm.service
08.05.2020-11:49 - DEBUG - Calling function 'delete' from plugin 'shelluser_jailkit_plugin' raised by event 'shell_user_delete'.
08.05.2020-11:49 - DEBUG - Jailkit Plugin -> delete username:user8
08.05.2020-11:49 - DEBUG - Processed datalog_id 6964
08.05.2020-11:49 - DEBUG - Calling function 'delete' from plugin 'shelluser_base_plugin' raised by event 'shell_user_delete'.
08.05.2020-11:49 - DEBUG - safe_exec cmd: chattr -i '/var/www/clients/client1/web166' - return code: 0
08.05.2020-11:49 - DEBUG - safe_exec cmd: rm -rf '/var/www/clients/client1/web166/home/user9/.ssh' - return code: 0
08.05.2020-11:49 - DEBUG - safe_exec cmd: chattr -i '/var/www/clients/client1/web166' - return code: 0
08.05.2020-11:49 - DEBUG - Calling function 'restartPHP_FPM' from module 'web_module'.
08.05.2020-11:49 - DEBUG - Restarting php-fpm: systemctl stop php7.4-fpm.service
08.05.2020-11:49 - DEBUG - safe_exec cmd: killall -u 'user9' ; userdel -f 'user9' &> /dev/null - return code: 0
08.05.2020-11:49 - DEBUG - Deleted shelluser: user9
08.05.2020-11:49 - DEBUG - Calling function 'restartPHP_FPM' from module 'web_module'.
08.05.2020-11:49 - DEBUG - Restarting php-fpm: systemctl start php7.4-fpm.service
08.05.2020-11:49 - DEBUG - Calling function 'delete' from plugin 'shelluser_jailkit_plugin' raised by event 'shell_user_delete'.
08.05.2020-11:49 - DEBUG - Jailkit Plugin -> delete username:user9
08.05.2020-11:49 - DEBUG - Processed datalog_id 6965
08.05.2020-11:49 - DEBUG - Remove Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock
```
## environment
Server OS: Debian 10 "Buster"
ISPConfig version: 3.1.15p3
## proposed fix
It seems tunning Systemd (https://www.freedesktop.org/software/systemd/man/systemd.unit.html#StartLimitIntervalSec=interval) could avoid this, but I don't think this is the right solution, and I don't want to edit the systemd unit for every FPM version.
I think ISPConfig should be careful not to restart the same PHP-FPM too many times in a row.
Thanks.https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5700admin/reseller/client permission inconsistencies2020-08-19T18:38:58ZJesse Norelladmin/reseller/client permission inconsistenciesThere are some permissions issues when editing things as admin vs. reseller vs. client, detailed cases will follow.
This is borne from discussion in https://git.ispconfig.org/ispconfig/ispconfig3/-/merge_requests/1088#note_78755 where i...There are some permissions issues when editing things as admin vs. reseller vs. client, detailed cases will follow.
This is borne from discussion in https://git.ispconfig.org/ispconfig/ispconfig3/-/merge_requests/1088#note_78755 where it is clear that client protection is intended to affect only the web_domain table, and therefore clients/resellers should always be able to create/edit/delete other entities (dns soa, mail domain, etc.).https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5789Backup downloads and restores are counted in user quota2022-02-26T20:44:48ZWebsliceBackup downloads and restores are counted in user quotaIn our situation a user has a 1GB quota. They have used 700MB, and they backup tarball is 400MB. In the panel they attempt to download a backup. The backup file is copied to their home directory, and the chown is attempted as per https:/...In our situation a user has a 1GB quota. They have used 700MB, and they backup tarball is 400MB. In the panel they attempt to download a backup. The backup file is copied to their home directory, and the chown is attempted as per https://git.ispconfig.org/ispconfig/ispconfig3/-/blob/3.1.15p2/server/plugins-available/backup_plugin.inc.php#L88 . The chown fails because it would exceed the user quota. As a result, the file cannot be downloaded by the user because it is not owned by them, and the permissions are 600 (which is correct).
It seems it would be good to somehow exclude these backup files from the user quotas. Does a feature like that already exist, and if not, what would be a good solution?Till BrehmTill Brehmhttps://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5793System > Server IP Addresses empty field2020-10-21T08:46:12ZTony GSystem > Server IP Addresses empty fieldOne of my servers is shown in the IP Addresses list without it's host name. I've tried changing all of the hosts, thinking it might trigger a data update somewhere.
Running 3.2.beta2 over Ubuntu 20
![image](/uploads/98629d0b37848ebe6654...One of my servers is shown in the IP Addresses list without it's host name. I've tried changing all of the hosts, thinking it might trigger a data update somewhere.
Running 3.2.beta2 over Ubuntu 20
![image](/uploads/98629d0b37848ebe6654aeba99a71397/image.png)
This isn't just a UI issue - the data is not in the HTML:
```html
<a href="#" data-load-content="admin/server_ip_edit.php?id=2"
data-toggle="tooltip" data-placement="bottom"
title="" data-original-title=""></a> <---
````https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5811Incorrect decimal value: '' for column `dbispconfig`.`spamfilter_policy`.`spa...2020-10-27T09:17:17ZJesse NorellIncorrect decimal value: '' for column `dbispconfig`.`spamfilter_policy`.`spam_dsn_cutoff_level` at row 1Some of the default spamfilter_policy are created with spam_dsn_cutoff_level set to NULL, which creates error when editing:
```
Incorrect decimal value: '' for column `dbispconfig`.`spamfilter_policy`.`spam_dsn_cutoff_level` at row 1
``...Some of the default spamfilter_policy are created with spam_dsn_cutoff_level set to NULL, which creates error when editing:
```
Incorrect decimal value: '' for column `dbispconfig`.`spamfilter_policy`.`spam_dsn_cutoff_level` at row 1
```
https://www.howtoforge.com/community/threads/error-at-spam-policy-page.83922/https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5818Need ui setting for bypass_spam_checks2020-10-14T10:21:58ZJesse NorellNeed ui setting for bypass_spam_checksThe bypass_spam_checks setting is stored in the database, and set for 'Non-Paying' policy at install via ispconfig3.sql, but there is no ui setting to change or set it for other policies.The bypass_spam_checks setting is stored in the database, and set for 'Non-Paying' policy at install via ispconfig3.sql, but there is no ui setting to change or set it for other policies.https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5835Backup tries to also run -and fails- on secondary DNS server, without having ...2020-10-21T08:54:08ZFerenc CsizmadiaBackup tries to also run -and fails- on secondary DNS server, without having Webservice enabled here.## short description
What is happening and what is wrong with that?
I have a multi-server environment with 2 servers (one of them is the master) and a secondary DNS server that has only DB and DNS services installed and enabled on. The ...## short description
What is happening and what is wrong with that?
I have a multi-server environment with 2 servers (one of them is the master) and a secondary DNS server that has only DB and DNS services installed and enabled on. The secondary DNS server is mirroring the "master" webserver where the primary DNS service runs.
Since the 3.2 update the backup of the websites is reporting error on the secondary DNS server as well, despite the fact these websites are not residing on it but on the master webserver only. The errors stating that the backup was not possible to run for the sites. (since the path is not valid on the secondary DNS but only on the master web server.)
The backup on the server, holding the site takes place properly.
## correct behaviour
What should happen instead?
The backup shall only run on the webserver where the sites do reside and not on any mirrored server, especially if the
service is not enabled on it at all.
## environment
Server OS: debian 9
Server OS version: stretch
ISPConfig version: 3.2
_you can use `grep 'ISPC_APP_VERSION' /usr/local/ispconfig/server/lib/config.inc.php` to get it from the command line_
If it might be related to the problem
```
insert the output of `nginx -v` or `apachectl -v` here
root@castor:~# apachectl -v
Server version: Apache/2.4.25 (Debian)
Server built: 2019-10-13T15:43:54
insert the output of `php -v` here
root@castor:~# php -v
PHP 7.0.33-34+0~20201018.42+debian9~1.gbp80c9be (cli) (built: Oct 18 2020 21:35:49) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies
with Zend OPcache v7.0.33-34+0~20201018.42+debian9~1.gbp80c9be, Copyright (c) 1999-2017, by Zend Technologies
with Xdebug v2.8.1, Copyright (c) 2002-2019, by Derick Rethans
## proposed fix
optional, of course.
if you want to post code snippets, please use
```
your code
```
or attach a code file. Best is to create a merge request of course.
## references
if you know of related bugs or feature requests, please reference them by using `#<bugnumber>`, e. g. #123
if you have done a merge request already, please reference it by using `!<mergenumber>`, e. g. !12
if you know of a forum post on howtoforge.com that deals with this topic, just add the link to the forum topic here
## screenshots
optional, of course.
Add screenshots of the problem by clicking "Attach a file" on the bottom right.
## log entries
```
apache / nginx error.log lines (if related)
```https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5857jailkit_chroot_authorized_keys_template in shelluser_base_plugin.inc.php2020-10-26T10:01:53ZJesse Norelljailkit_chroot_authorized_keys_template in shelluser_base_plugin.inc.phpThere are two `shelluser_*_plugin.inc.php` files, `shelluser_jailkit_plugin.inc.php` was updated to use the `jailkit_chroot_authorized_keys_template` server config setting, but `shelluser_base_plugin.inc.php` still has `/root/.ssh/author...There are two `shelluser_*_plugin.inc.php` files, `shelluser_jailkit_plugin.inc.php` was updated to use the `jailkit_chroot_authorized_keys_template` server config setting, but `shelluser_base_plugin.inc.php` still has `/root/.ssh/authorized_keys` hardcoded. I have not explored the conditions under which the latter is effective (I'd guess creating a shell user which is not using jailkit?).https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5861PHP version list does not load when opening the form to create a new Subdomai...2020-10-24T10:38:48ZDiogo BragaPHP version list does not load when opening the form to create a new Subdomain/Aliasdomain VhostFix suggestion:
On the template sites/templates/web_vhost_domain_edit.htm, change the following lines:
```
jQuery('#parent_domain_id').change(function() {
reloadServerId(false);
});
// new Vhostsubdomains/Vhostaliasdomains
if(serv...Fix suggestion:
On the template sites/templates/web_vhost_domain_edit.htm, change the following lines:
```
jQuery('#parent_domain_id').change(function() {
reloadServerId(false);
});
// new Vhostsubdomains/Vhostaliasdomains
if(serverId == ''){
jQuery('#parent_domain_id').trigger('change');
}
```
to
```
jQuery('#parent_domain_id').change(function(e, noFormChange) {
reloadServerId(noFormChange);
});
// new Vhostsubdomains/Vhostaliasdomains
if(serverId == ''){
jQuery('#parent_domain_id').trigger('change', [true]);
}
```https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5874.htaccess not updated in client change2020-11-01T16:17:38ZTony G.htaccess not updated in client changeChange the client for a site and all folders correctly move to the new clientX/webY location. But in a protected folder the .htaccess file has the original path to the AuthUserFile.Change the client for a site and all folders correctly move to the new clientX/webY location. But in a protected folder the .htaccess file has the original path to the AuthUserFile.https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5876Error on sites_web_vhost_subdomain_add2022-02-26T20:55:49ZLucaError on sites_web_vhost_subdomain_addDear,
i have tried to fork the project to my user in order to propose a merge about this fix, but can't do it (seems that i have no permission to create a project).
By the way, on that method lib/classes/remote.d/sites.inc.php:sites_we...Dear,
i have tried to fork the project to my user in order to propose a merge about this fix, but can't do it (seems that i have no permission to create a project).
By the way, on that method lib/classes/remote.d/sites.inc.php:sites_web_vhost_subdomain_add this line
`if($params['document_root'] == '') $params['document_root'] = '-';`
should be instead return an error if document_root is empty. Otherwise the sites_web_vhost_subdomain_add does not work at all.
tyhttps://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5881Translating the monitor language file damages the Monitor section2020-11-03T16:04:29ZClemente NogueiraTranslating the monitor language file damages the Monitor sectionI have been translating the ISPConfig 3.2 language into pt-pt.
When I translated the "monitor pt.lng" file and tried to open the Monitor tab, it blocked and did not open.
When I repaired the file for the English equivalent, everything ...I have been translating the ISPConfig 3.2 language into pt-pt.
When I translated the "monitor pt.lng" file and tried to open the Monitor tab, it blocked and did not open.
When I repaired the file for the English equivalent, everything went back to normal.
Also, the problem only happens when I use the pt-pt language into which I translated the file. If I choose the English language everything goes back to normal.
It seems that the problem stems from the translation.
I repeated the procedure several times, it always happens.
I checked the permissions and everything is normal: 770 ispconfig/ispconfig
I checked the file information, and found out when it was saved the quotes ' are replaced by ".
$ wb ['Server Load'] = 'Servidor carregado';
per
$ wb ['Server Load'] = "Servidor carregado";https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5888Wildcard (*) not allowed in SPF record editor2020-12-21T17:37:37ZThomWildcard (*) not allowed in SPF record editorShould be allowed because we introduced a function for thisShould be allowed because we introduced a function for thishttps://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5895"PHP Version is invalid" When hiding default php version2020-11-19T09:41:42ZPascal Dreissen"PHP Version is invalid" When hiding default php versionWhen you select in System -> Server config -> <server> -> Web -> PHP Settings = Hide Default PHP-Version in selectbox. Selecting Mod_PHP in a site config you cannot save and ISPConfig states: "PHP Version is invalid."
When you deselect ...When you select in System -> Server config -> <server> -> Web -> PHP Settings = Hide Default PHP-Version in selectbox. Selecting Mod_PHP in a site config you cannot save and ISPConfig states: "PHP Version is invalid."
When you deselect the hide default option you can select Mod_PHP and save again.https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5932When update ISPConfig, if a custom port is setted for apps domain it returns ...2022-12-03T23:05:07ZSergioWhen update ISPConfig, if a custom port is setted for apps domain it returns to the default 8081, only on the config file (remains custom on the web panel)## short description
When updating ISPConfig if App Domain have a non standard value it come back on the default 8081 even if the Web Panel reports the custom port.
## correct behaviour
App domain should remain on the custom port as set...## short description
When updating ISPConfig if App Domain have a non standard value it come back on the default 8081 even if the Web Panel reports the custom port.
## correct behaviour
App domain should remain on the custom port as setted on the web panel.
## environment
Server OS: Ubuntu
Server OS version: 20.04.01
ISPConfig version: <= 3.2.1https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/59413.2.1 update configured postfix on non-mail node2021-03-23T16:53:53ZJesse Norell3.2.1 update configured postfix on non-mail nodeOn a nameserver-only node, postfix is installed for local use, but was configured by the installer during a 3.1->3.2.1 update (so mail is now broken, with no amavis, etc.).
This was a debian 9 box. A second nameserver (mirror of the fi...On a nameserver-only node, postfix is installed for local use, but was configured by the installer during a 3.1->3.2.1 update (so mail is now broken, with no amavis, etc.).
This was a debian 9 box. A second nameserver (mirror of the first one) has been updated to debian 10 and did not have this problem (postfix is installed there, too).https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5946backup unmount script errors on mail server2020-12-04T13:52:26ZJesse Norellbackup unmount script errors on mail serverRecent 3.2 backup changes cause errors about unmount scripts failing.
Some discussion/info in https://www.howtoforge.com/community/threads/backup-directory-var-backup-could-not-be-unmounted.85701/
I see this error email from our mail s...Recent 3.2 backup changes cause errors about unmount scripts failing.
Some discussion/info in https://www.howtoforge.com/community/threads/backup-directory-var-backup-could-not-be-unmounted.85701/
I see this error email from our mail server node every night. The above discussion seems to be involving mail servers as well. I believe I do not see this error from our web/db server node (which uses the same mount/unmount scripts, to shared storage).https://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/5979symlinked pure-ftpd.pem to ispserver.pem not chmod 6002021-03-09T01:29:22ZHj Ahmad Rasyid Hj Ismailsymlinked pure-ftpd.pem to ispserver.pem not chmod 600I finally upgraded Ubuntu 18.04 to 20.04 (nginx) and everything when smooth EXCEPT:
pureftpd-pem that is symlinked to ispserver.pem is not defaulted to 600, as ispserver.pem, as it should be, resulting services relying on it failed.
Th...I finally upgraded Ubuntu 18.04 to 20.04 (nginx) and everything when smooth EXCEPT:
pureftpd-pem that is symlinked to ispserver.pem is not defaulted to 600, as ispserver.pem, as it should be, resulting services relying on it failed.
This is also reported in the forum by someone else: https://www.howtoforge.com/community/threads/monit-and-ispconfig3-2.85509
I am making a MR for it at https://git.ispconfig.org/ispconfig/ispconfig3/-/merge_requests/1370 anyway, and open it for further discussions.
Edited and added: Upon auto renewal of LE SSL certs for the server, ispserver.pem regenerated but the permission is not changed to 600. So the issue persisted unless resolved but the issue may not be on ISPConfig installer / updater.https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/6004private/quota-status is dovecot-only2022-03-01T21:36:41ZJesse Norellprivate/quota-status is dovecot-onlyThe private/quota-status service is always configured (in smtpd_recipient_restrictions), need to remove that if using courier.
https://www.howtoforge.com/community/threads/ispconfig-3-2-with-courier-incoming-mails-are-undelivered.86045/The private/quota-status service is always configured (in smtpd_recipient_restrictions), need to remove that if using courier.
https://www.howtoforge.com/community/threads/ispconfig-3-2-with-courier-incoming-mails-are-undelivered.86045/https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/6024change shell user Base Dir creates warning2022-09-25T19:19:23ZJesse Norellchange shell user Base Dir creates warningWhen changing the shell user Base dir, in my case from /var/www/clients/client1/web20 to /var/www/clients/client1/web20/blah, I see this error:
```
21.01.2021-13:08 - DEBUG - Calling function 'update' from plugin 'shelluser_base_plugin' ...When changing the shell user Base dir, in my case from /var/www/clients/client1/web20 to /var/www/clients/client1/web20/blah, I see this error:
```
21.01.2021-13:08 - DEBUG - Calling function 'update' from plugin 'shelluser_base_plugin' raised by event 'shell_user_update'.
21.01.2021-13:08 - DEBUG - Homedir New: /var/www/clients/client1/web20/blah
21.01.2021-13:08 - DEBUG - Homedir Old: /var/www/clients/client1/web20
21.01.2021-13:08 - DEBUG - safe_exec cmd: chattr -i '/var/www/clients/client1/web20' - return code: 0
PHP Warning: rename(/var/www/clients/client1/web20,/var/www/clients/client1/web20/blah): Invalid argument in /usr/local/ispconfig/server/lib/classes/
system.inc.php on line 894
```
(From https://www.howtoforge.com/community/threads/the-following-changes-are-not-yet-populated-to-all-servers.86171/#post-416503)Jesse NorellJesse Norellhttps://git.ispconfig.org/ispconfig/ispconfig3/-/issues/6025adding dns zone should add DKIM records2021-01-22T07:21:01ZJesse Norelladding dns zone should add DKIM recordsWhen adding a DNS zone, if a corresponding mail zone exists with a DKIM record set, that DKIM record should be added to DNS records. (Applies both to the dns wizard and adding a zone manually.)
Background:
Having found that many of our...When adding a DNS zone, if a corresponding mail zone exists with a DKIM record set, that DKIM record should be added to DNS records. (Applies both to the dns wizard and adding a zone manually.)
Background:
Having found that many of our DNS zones to not have DKIM records even though they are configured in the Email domain, the likely reason is the order of adding them - if you add an Email domain first, including a DKIM records, and add the DNS zone second, you will not have any DKIM record created in DNS. Mail will still be signed with the DKIM key, just not verifiable.https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/6078Default server PHP handler used even if client does not have the handler in h...2021-03-01T12:04:34ZThomDefault server PHP handler used even if client does not have the handler in his limitsIf the server's default is FastCGI (or any other mode), and the client creates a web, the default PHP handler is set, even if it is not within the client's limits.If the server's default is FastCGI (or any other mode), and the client creates a web, the default PHP handler is set, even if it is not within the client's limits.https://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/6087Apache vhost config invalid when using redirect: proxy and to-https2022-06-17T11:16:13ZPetr MifekApache vhost config invalid when using redirect: proxy and to-https## short description
Using both Redirect Type: proxy and Rewrite HTTP to HTTPS with Apache results in invalid configuration - Apache returns status 500. Site is configured on server with Apache and SSL with Letsencrypt enabled.
## corre...## short description
Using both Redirect Type: proxy and Rewrite HTTP to HTTPS with Apache results in invalid configuration - Apache returns status 500. Site is configured on server with Apache and SSL with Letsencrypt enabled.
## correct behaviour
The request should be handled with a rewrite to HTTPS and then proxied.
```
# Generated (faulting) config snippet (Apache non-ssl part of the config):
RewriteEngine on
RewriteCond %{REQUEST_URI} ^/\.well-known/acme-challenge/
RewriteRule ^ - [END]
RewriteCond %{HTTP_HOST} ^example\.com$ [NC]
RewriteRule ^/(.*)$ http://1.2.3.4/$1 [proxy]
RewriteCond %{HTTP_HOST} ^www\.example\.com$ [NC]
RewriteRule ^/(.*)$ http://1.2.3.4/$1 [proxy]
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L,NE]
```
```
# Updated (working) config snippet (Apache non-ssl part of the config):
RewriteEngine on
RewriteCond %{REQUEST_URI} ^/\.well-known/acme-challenge/
RewriteRule ^ - [END]
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L,NE]
RewriteCond %{HTTP_HOST} ^example\.com$ [NC]
RewriteRule ^/(.*)$ http://1.2.3.4/$1 [proxy]
RewriteCond %{HTTP_HOST} ^www\.example\.com$ [NC]
RewriteRule ^/(.*)$ http://1.2.3.4/$1 [proxy]
```
## environment
Server OS: debian
Server OS version: buster
ISPConfig version: 3.2.2/nightly
## proposed fix
Move the HTTP-to-HTTPS rewrite up just after the acme challenge exemption:
Patch:
```
--- ispconfig/server/conf/vhost.conf.master 2021-03-04 01:17:38.371357346 +0000
+++ ispconfig/server/conf/vhost.conf.master.fix_tossl_and_proxy 2021-03-04 01:16:47.113325799 +0000
@@ -493,6 +493,15 @@
RewriteCond %{REQUEST_URI} ^/\.well-known/acme-challenge/
RewriteRule ^ - [END]
</tmpl_if>
+<tmpl_if name='ssl_enabled'>
+<tmpl_else>
+<tmpl_if name='rewrite_to_https' op='==' value='y'>
+ RewriteCond %{HTTPS} off
+ <tmpl_if name='apache_version' op='<' value='2.4' format='version'>RewriteCond %{REQUEST_URI} !^/\.well-known/acme-challenge/
+</tmpl_if>
+ RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L,NE]
+</tmpl_if>
+</tmpl_if>
<tmpl_if name='seo_redirect_enabled'>
RewriteCond %{HTTP_HOST} <tmpl_var name='seo_redirect_operator'>^<tmpl_var name='seo_redirect_origin_domain'>$ [NC]
<tmpl_if name='apache_version' op='<' value='2.4' format='version'>
@@ -521,15 +530,6 @@
RewriteRule ^/(.*)$ <tmpl_var name='rewrite_target'><tmpl_if name="rewrite_add_path" op="==" value="y">$1</tmpl_if> <tmpl_var name='rewrite_type'>
</tmpl_loop>
-<tmpl_if name='ssl_enabled'>
-<tmpl_else>
-<tmpl_if name='rewrite_to_https' op='==' value='y'>
- RewriteCond %{HTTPS} off
- <tmpl_if name='apache_version' op='<' value='2.4' format='version'>RewriteCond %{REQUEST_URI} !^/\.well-known/acme-challenge/
-</tmpl_if>
- RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L,NE]
-</tmpl_if>
-</tmpl_if>
</tmpl_if>
# add support for apache mpm_itk
```
## screenshots
![ApacheRedirProxyAndHttpsResultsInStatus500](/uploads/578e36743df07352654ae7c2d349250c/ApacheRedirProxyAndHttpsResultsInStatus500.jpg)https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/6104Creating DNS secondary zone fails if name has ÅÄÖ characters and name without...2022-06-17T12:51:22ZTapio LehtonenCreating DNS secondary zone fails if name has ÅÄÖ characters and name without umlauts exists## short description
Trying to create DNS secondary zone for a zone where zone name has non ASCII characters fails. Looks like if there is zone name with Ö replaced by O or Ä replaced by A adding fails with error
There is already a reco...## short description
Trying to create DNS secondary zone for a zone where zone name has non ASCII characters fails. Looks like if there is zone name with Ö replaced by O or Ä replaced by A adding fails with error
There is already a record for this zone.
## correct behaviour
It should work so also those zones get secondary.
Example: I have primary zone hääyöaie.fi. Adding secondary for that works.
I remove the secondary zone, create new primary zone haayoaie.fi, create secondary zone fo haayoaie.fi. Now creating secondary zone for hääyöaie.fi fails with error "There is already a record for this zone."
How to work around the bug: Create the secondary zone where name has ÅÄÖ characters first. Then adding secondary zone with umlauts removed works.
I'm guessing ISPConfig checks for existing secondary zone by removing umlauts. It does not add umlauts when checking so changing order of creating secondary zones helps
## environment
root@posti:~# cat /etc/debian_version
10.8
ISPConfig 3.2.2
If it might be related to the problem
```
insert the output of `nginx -v` or `apachectl -v` here
root@posti:~# apachectl -v
Server version: Apache/2.4.38 (Debian)
Server built: 2020-08-25T20:08:29
```
```
insert the output of `php -v` here
root@posti:~# php -v
PHP 7.3.27-9+0~20210227.82+debian10~1.gbpa4a3d6 (cli) (built: Feb 27 2021 15:50:50) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.27, Copyright (c) 1998-2018 Zend Technologies
with Zend OPcache v7.3.27-9+0~20210227.82+debian10~1.gbpa4a3d6, Copyright (c) 1999-2018, by Zend Technologies
root@posti:~#
```https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/6125cp user passwords mishandled2022-03-17T23:03:22ZJesse Norellcp user passwords mishandledI generated a random password and change the 'admin' password via System > CP Users, and afterwards could not login with the new password. (I did verify the sys_user.passwort value changed.) The password was: 'u^iv9nbV(SU\KE[gj I te...I generated a random password and change the 'admin' password via System > CP Users, and afterwards could not login with the new password. (I did verify the sys_user.passwort value changed.) The password was: 'u^iv9nbV(SU\KE[gj I tested the same procedure with a simpler alphanumeric password and I was able to login, so the UI is mishandling the password when saving it.https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/6126Add mail_plugins to separate dovecot config file which is included earlier2021-05-21T12:35:34ZThomAdd mail_plugins to separate dovecot config file which is included earlierUpdate: mail_plugins (and postmaster address?) are refered to in the service blocks from the ISPConfig template. A script should grab them from the conf-custom file, comment them out in the `99-ispconfig-custom-config.conf` file and add ...Update: mail_plugins (and postmaster address?) are refered to in the service blocks from the ISPConfig template. A script should grab them from the conf-custom file, comment them out in the `99-ispconfig-custom-config.conf` file and add them to a new file `98-ispconfig-custom-config.conf` or something like that. This file should be included in the ISPConfig template before the service blocks.
~~I am now looking to the code of !1459 - This will break the implementation~~
~~Because it is included earlier, values after it will override the custom config, but the custom config should override the config in dovecot.conf ofcourse.
I tested the order before the original MR.~~
~~$mail_plugins should be added, that's good!~~https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/6132dns: better cname checks2022-05-09T17:33:41ZJesse Norelldns: better cname checksNeed to implement more/better checking for CNAME records to prevent invalid records. Eg. not long ago someone reported an issue which was caused by creating CAA records for a hostname which had a CNAME records. Just now I created a CNA...Need to implement more/better checking for CNAME records to prevent invalid records. Eg. not long ago someone reported an issue which was caused by creating CAA records for a hostname which had a CNAME records. Just now I created a CNAME record for a hostname which already had a TXT record, which is invalid. We should look up the exact set of what is allowed to be present with CNAME and only allow those.https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/6161php-fpm wrong sock file creation and configuration2021-10-10T16:01:12ZFco. David Ferraes Feriaphp-fpm wrong sock file creation and configurationIn a multiple php-fpm version setup, when you change from one version to another the webXX.sock and the vhost configuration has incorrect paths of the new php-fpm-sock directory.
To reproduce this behaviour yo need:
1. Multiple php-fp...In a multiple php-fpm version setup, when you change from one version to another the webXX.sock and the vhost configuration has incorrect paths of the new php-fpm-sock directory.
To reproduce this behaviour yo need:
1. Multiple php-fpm versions configured for example:
PHP-FPM 7.0
Path to the PHP-FPM init script: /etc/init.d/php7.0-fpm
Path to the php.ini directory: /etc/php/7.0/fpm/php.ini
Path to the PHP-FPM pool directory: /etc/php/7.0/fpm/pool.d/
PHP-FPM socket directory: /var/lib/php7.0-fpm/
PHP-FPM 7.4
Path to the PHP-FPM init script: /etc/init.d/php7.4-fpm
Path to the php.ini directory: /etc/php/7.4/fpm/php.ini
Path to the PHP-FPM pool directory: /etc/php/7.4/fpm/pool.d/
PHP-FPM socket directory: /var/lib/php7.4-fpm/
2. Select a different version of php-fpm on vhost configuration
3. The webxx.sock was created in the right place.
/etc/php/7.0/fpm/pool.d# ls -l
total 28
-rw-r--r-- 1 root root 1013 abr 27 14:23 web6.conf
4. But the contents was wrong
[web6]
listen = /var/lib/php7.4-fpm/web6.sock
listen.owner = web6
listen.group = www-data
listen.mode = 0660
...
5. The sock was created according this configuration
/etc/php/7.0/fpm/pool.d# ls -l /var/lib/php7.4-fpm/web6.sock
srw-rw---- 1 web6 www-data 0 abr 27 12:59 /var/lib/php7.4-fpm/web6.sock
6. And the vhost has the same error:
/etc/apache2/sites-available# grep FastCgiExternalServer xxxxxxxx.net.vhost
FastCgiExternalServer /var/www/clients/client3/web6/cgi-bin/php-fcgi-*-80-xxxxxxx.net -idle-timeout 300 -socket /var/lib/php7.4-fpm/web6.sock -pass-header Authorization -pass-header Content-Type
FastCgiExternalServer /var/www/clients/client3/web6/cgi-bin/php-fcgi-*-443-xxxxxxx.net -idle-timeout 300 -socket /var/lib/php7.4-fpm/web6.sock -pass-header Authorization -pass-header Content-Type
7. But the php versión is ok
PHP Version 7.0.33-47+ubuntu20.04.1+deb.sury.org+1
System Linux vsweb01 5.11.16-arch1-1 #1 SMP PREEMPT Wed, 21 Apr 2021 17:22:13 +0000 x86_64
Build Date Feb 23 2021 15:04:06
Server API FPM/FastCGI
Virtual Directory Support disabled
Configuration File (php.ini) Path /etc/php/7.0/fpm
Loaded Configuration File /etc/php/7.0/fpm/php.ini
Scan this dir for additional .ini files /etc/php/7.0/fpm/conf.d
...
open_basedir /var/www/clients/client3/web6/web:/var/www/clients/client3/web6/private:/var/www/clients/client3/web6/tmp:/var/www/recupera.net/web:/srv/www/recupera.net/web:/usr/share/php5:/usr/share/php:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin:/dev/random:/dev/urandom
8. In the creation of the vhost no error was reported:
mar 27 abr 2021 14:23:01 CDT 27.04.2021-19:23 - DEBUG - Calling function 'ssl' from plugin 'apache2_plugin' raised by event 'web_domain_update'.
mar 27 abr 2021 14:23:01 CDT 27.04.2021-19:23 - DEBUG - Calling function 'update' from plugin 'apache2_plugin' raised by event 'web_domain_update'.
mar 27 abr 2021 14:23:01 CDT 27.04.2021-19:23 - DEBUG - safe_exec cmd: chattr -i '/var/www/clients/client3/web6' - return code: 0
mar 27 abr 2021 14:23:01 CDT chattr: Operation not permitted while setting flags on /var/www/clients/client3/web6
mar 27 abr 2021 14:23:01 CDT 27.04.2021-19:23 - DEBUG - safe_exec cmd: chattr +i '/var/www/clients/client3/web6' - return code: 1
mar 27 abr 2021 14:23:01 CDT 27.04.2021-19:23 - DEBUG - safe_exec cmd: df -T '/var/www/clients/client3/web6'|awk 'END{print $2,$NF}' - return code: 0
mar 27 abr 2021 14:23:01 CDT 27.04.2021-19:23 - DEBUG - safe_exec cmd: which 'setquota' 2> /dev/null - return code: 0
mar 27 abr 2021 14:23:01 CDT 27.04.2021-19:23 - DEBUG - safe_exec cmd: setquota -u 'web6' '0' '0' 0 0 -a &> /dev/null - return code: 0
mar 27 abr 2021 14:23:01 CDT 27.04.2021-19:23 - DEBUG - safe_exec cmd: setquota -T -u 'web6' 604800 604800 -a &> /dev/null - return code: 0
mar 27 abr 2021 14:23:01 CDT chattr: Operation not permitted while setting flags on /var/www/clients/client3/web6
mar 27 abr 2021 14:23:01 CDT 27.04.2021-19:23 - DEBUG - safe_exec cmd: chattr +i '/var/www/clients/client3/web6' - return code: 1
mar 27 abr 2021 14:23:01 CDT 27.04.2021-19:23 - DEBUG - safe_exec cmd: which 'apache2ctl' 2> /dev/null - return code: 0
mar 27 abr 2021 14:23:01 CDT 27.04.2021-19:23 - DEBUG - safe_exec cmd: which 'apache2ctl' 2> /dev/null - return code: 0
mar 27 abr 2021 14:23:01 CDT 27.04.2021-19:23 - DEBUG - Enable SSL for: recupera.net
mar 27 abr 2021 14:23:01 CDT 27.04.2021-19:23 - DEBUG - Writing the vhost file: /etc/apache2/sites-available/recupera.net.vhost
mar 27 abr 2021 14:23:01 CDT 27.04.2021-19:23 - DEBUG - Creating symlink: /etc/apache2/sites-enabled/100-recupera.net.vhost->/etc/apache2/sites-available/recupera.net.vhost
mar 27 abr 2021 14:23:01 CDT 27.04.2021-19:23 - DEBUG - Created GoAccess config file: /var/www/clients/client3/web6/log/goaccess.conf
mar 27 abr 2021 14:23:01 CDT 27.04.2021-19:23 - DEBUG - safe_exec cmd: which 'apache2ctl' 2> /dev/null - return code: 0
mar 27 abr 2021 14:23:02 CDT 27.04.2021-19:23 - DEBUG - Writing the PHP-FPM config file: /etc/php/7.0/fpm/pool.d/web6.conf
mar 27 abr 2021 14:23:03 CDT 27.04.2021-19:23 - DEBUG - Calling function 'restartPHP_FPM' from module 'web_module'.
mar 27 abr 2021 14:23:03 CDT 27.04.2021-19:23 - DEBUG - Restarting php-fpm: systemctl reload php7.0-fpm.service
mar 27 abr 2021 14:23:03 CDT 27.04.2021-19:23 - DEBUG - Apache status is: running
mar 27 abr 2021 14:23:03 CDT 27.04.2021-19:23 - DEBUG - Calling function 'restartHttpd' from module 'web_module'.
mar 27 abr 2021 14:23:03 CDT 27.04.2021-19:23 - DEBUG - Restarting httpd: systemctl restart apache2.service
mar 27 abr 2021 14:23:03 CDT 27.04.2021-19:23 - DEBUG - Apache restart return value is: 0
mar 27 abr 2021 14:23:05 CDT 27.04.2021-19:23 - DEBUG - Apache online status after restart is: running
mar 27 abr 2021 14:23:05 CDT 27.04.2021-19:23 - DEBUG - Processed datalog_id 97
The correct behaviour is:
1. The webxxx.sock file will be created on the right PHP-FPM socket directory.
2. In the vhost configuration, the parameter FastCgiExternalServer and all other parameters related to php-fpm configuration will be pointed to the right webxxx.sock configuration.
No problem was detected with this configuration, the correct version of php-fpm selected was working but this get some confusion.
My environment is:
Server OS + version: Ubuntu 20.04
ISPConfig version: 3.2.4
Thanks in advance.https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/6166private/cron.log, private/cron_error.log are rotated multiple times2023-12-25T13:43:49Zlennartprivate/cron.log, private/cron_error.log are rotated multiple times<!-- 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? -->
Users cron log files private/cron.log, private/cron_error.log, are rotated multiple times every night if there are multiple records in table web_domain of type = 'vhost' or type = 'vhostsubdomain' or type = 'vhostalias'.
## Steps to reproduce
1. [First step]
2. [Second step]
3. [and so on...]
see [https://www.howtoforge.com/community/threads/many-user-cron-log-files.86937/#post-422325](https://www.howtoforge.com/community/threads/many-user-cron-log-files.86937/#post-422325)
## Correct behaviour
<!-- What should happen instead? -->
private/cron.log, private/cron_error.log should be rotated only once every night.
## Environment
Server OS + version: (Debian 10/Ubuntu 20.04/CentOS 8/...) \
ISPConfig version: (3.1.15p3/3.2.3/3.2dev/...)
<!-- _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: -->
```
PRETTY_NAME="Debian GNU/Linux 10 (buster)"
NAME="Debian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
define('ISPC_APP_VERSION', '3.2.4');
$conf['app_version'] = ISPC_APP_VERSION;
Server version: Apache/2.4.38 (Debian)
Server built: 2020-08-25T20:08:29
PHP 7.3.28-1+0~20210503.84+debian10~1.gbp6819da (cli) (built: May 3 2021 11:59:15) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.28, Copyright (c) 1998-2018 Zend Technologies
with the ionCube PHP Loader + ionCube24 v10.4.5, Copyright (c) 2002-2020, by ionCube Ltd.
with Zend OPcache v7.3.28-1+0~20210503.84+debian10~1.gbp6819da, Copyright (c) 1999-2018, by Zend Technologies
```
## Proposed fix
optional, of course.
if you want to post code snippets, please use
```
*** 200-logfiles.inc-orig-324.php 2021-05-09 14:47:49.000000000 +0200
--- 200-logfiles.inc.php 2021-05-09 15:25:34.000000000 +0200
***************
*** 71,76 ****
--- 71,79 ----
$sql = "SELECT domain_id, domain, type, document_root, web_folder, parent_domain_id, log_retention FROM web_domain WHERE (type = 'vhost' or type = 'vhostsubdomain' or type = 'vhostalias') AND server_id = ?";
$records = $app->db->queryAllRecords($sql, $conf['server_id']);
+ // ikasp
+ // rotate user cron files once
+ $cron_logfile_rotated = [];
foreach($records as $rec) {
//* create traffic statistics based on yesterdays access log file
***************
*** 126,131 ****
--- 129,139 ----
foreach($cron_logfiles as $cron_logfile) {
$cron_logfile = $rec['document_root'].'/private/' . $cron_logfile;
+ // ikasp
+ // check if already rotated
+ if (isset($cron_logfile_rotated[$cron_logfile]) and $cron_logfile_rotated[$cron_logfile]) continue;
+ $cron_logfile_rotated[$cron_logfile] = true;
+
// rename older files (move up by one)
$num = $log_retention;
while($num >= 1) {
```
or attach a code file. Best is to create a merge request of course.
## References
if you know of related bugs or feature requests, please reference them by using `#<issuenumber>`, e. g. #6105
if you have done a merge request already, please reference it by using `!<mergenumber>`, e. g. !1444
if you know of a forum post on howtoforge.com that deals with this topic, just add the link to the forum topic here
## Screenshots
optional, of course.
Add screenshots of the problem by clicking "Attach a file" on the bottom right.
## Related log entrieshttps://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/6197Use of want_spam & actions (wblist) in rspamd yields unexpected results2022-12-05T16:55:28ZZakUse of want_spam & actions (wblist) in rspamd yields unexpected results## Summary
User Block-/Allowlist config is generated with both "actions" and "want_spam" present. \
The usage of "actions" renders "want_spam" obsolete und does not honor the function that "want_spam" is supposed to provide. \
If "want_s...## Summary
User Block-/Allowlist config is generated with both "actions" and "want_spam" present. \
The usage of "actions" renders "want_spam" obsolete und does not honor the function that "want_spam" is supposed to provide. \
If "want_spam" is used rspamd is supposed to skip the evaluation of an email. The resulting config might provide the expected result because of "actions", but it still adds the "X-Spamd-Bar" header, which is unwanted behaviour because the header might be used in sieve rules and therefore should not be present (or at least present without a value) on emails that are handled by an entry in the allowlist.
## Steps to reproduce
Using the stock template (slightly modified to also match the from header):
```
spamfilter_wblist-2046 {
priority = 26;
from = "sender@domain.tld";
rcpt = "recipient@domain.tld";
want_spam = yes;
apply {
actions {
reject = null;
"add header" = null;
greylist = null;
"rewrite subject" = null;
}
}
}
spamfilter_wblist-2046.2 {
priority = 26;
mime_from = "sender@domain.tld";
rcpt = "recipient@domain.tld";
want_spam = yes;
apply {
actions {
reject = null;
"add header" = null;
greylist = null;
"rewrite subject" = null;
}
}
}
```
the following is logged by rspamd:
```
2021-07-12 11:03:46 #930(normal) <24ddc3>; task; rspamd_task_write_log: id: <CAP03e=xDdfHS_j7N=7JdzSrOc3fiXA2Efk+oumGrzZ9ugWEwHw@mail.domain.tld>, qid: <4698E3BE9D>, ip: 209.85.160.171, from: <sender@domain.tld>, (default: F (no action): [-0.51/nan] [DMARC_POLICY_ALLOW(-0.50){domain.tld;none;},R_PARTS_DIFFER(0.50){100.0%;},R_DKIM_ALLOW(-0.20){domain.tld:s=20161025;},R_SPF_ALLOW(-0.20){+ip4:209.85.128.0/17;},MIME_GOOD(-0.10){multipart/alternative;text/plain;},MX_GOOD(-0.01){},ALREADY_AV_CHECKED(0.00){},ARC_NA(0.00){},ASN(0.00){asn:15169, ipnet:209.85.128.0/17, country:US;},DKIM_TRACE(0.00){domain.tld:+;},FREEMAIL_ENVFROM(0.00){domain.tld;},FREEMAIL_FROM(0.00){domain.tld;},FROM_EQ_ENVFROM(0.00){},FROM_HAS_DN(0.00){},MID_RHS_MATCH_FROMTLD(0.00){},MIME_TRACE(0.00){0:+;1:+;2:~;},PREVIOUSLY_DELIVERED(0.00){recipient@domain.tld;},RCPT_COUNT_ONE(0.00){1;},RCVD_COUNT_TWO(0.00){2;},RCVD_TLS_ALL(0.00){},SENDER_REP_HAM(0.00){asn: 15169(-0.19), country: US(-0.00), ip: 0.0.0.0(-0.50);},TO_DN_ALL(0.00){},TO_MATCH_ENVRCPT_ALL(0.00){},USER_REJECTS_BLACKLISTED_FILES(0.00){recipient@domain.tld;}]), len: 2555, time: 775.295ms, dns req: 21, digest: <4915ae6bed441b333c191c11653f0540>, rcpts: <recipient@domain.tld>, mime_rcpts: <recipient@domain.tld>, settings_id: spamfilter_wblist-2046.2
```
## Correct behaviour
Skip evaluation of an email immediately. \
Using a config without the actions stanza
```
spamfilter_wblist-2046 {
priority = 26;
from = "sender@domain.tld";
rcpt = "recipient@domain.tld";
want_spam = yes;
}
spamfilter_wblist-2046.2 {
priority = 26;
mime_from = "sender@domain.tld";
rcpt = "recipient@domain.tld";
want_spam = yes;
}
```
the following is logged:
```
2021-07-12 11:04:44 #1587(normal) <7a17ab>; task; rspamd_task_write_log: id: <CAP03e=wRW8By+3ONS3BcpcFF=EHqP0Ja9SpDV0gBqubzt2FiMQ@mail.domain.tld>, qid: <BCD863BFA5>, ip: 209.85.219.51, from: <sender@domain.tld>, (default: S (no action): [0.00/15.00] []), len: 2548, time: 1.217ms, dns req: 0, digest: <5eb295da1042112a088cf8f7958bcbe6>, rcpts: <recipient@domain.tld>, mime_rcpts: <recipient@domain.tld>, settings_id: spamfilter_wblist-2046.2
```
Therefore the evaluation is immediately skipped.
## Environment
OS: irrelevant \
ISPConfig up to 3.2.5.
## Proposed fix
Remove "actions from the "rspamd_wblist.inc.conf.master" template. \
(And add a second entry to match the "From header" - I already proposed that in #5419)https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/6205vhost for ispconfig seems never updated on CentOS 72021-08-02T06:28:12Zumaxxvhost for ispconfig seems never updated on CentOS 7## Summary
In 'long running' ISPConfig installations the vhost (file) for ISPconfig itself
is never re-generated, hence contains outdated (template) settings, for example
the old (template) line:
` ssl_protocols TLSv1 TLSv1.1 TLSv1.2;`
...## Summary
In 'long running' ISPConfig installations the vhost (file) for ISPconfig itself
is never re-generated, hence contains outdated (template) settings, for example
the old (template) line:
` ssl_protocols TLSv1 TLSv1.1 TLSv1.2;`
Newer nginx vhost template contains the following line instead:
`ssl_protocols TLSv1.3 TLSv1.2;`
## Steps to reproduce
1. Install ISPConfig
2. run re-sync tool
## Correct behaviour
ispconfig.vhost file should be re-generated and updated from template
in case of ISPConfig updates or in case of re-sync
## Environment
Server OS + version: CentOS7
ISPConfig version: 3.2.3
Software version of the related software: nginx version: nginx/1.20.1https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/6223Feature Request: Allow sending from alias domains2023-02-09T13:29:17ZCollin MachineFeature Request: Allow sending from alias domainsWould there be a way to allow sending from alias domains? As in, when configuring an alias domain as a source to be directed to a different as the destination, could an option be added to allow sending from this alias (source) domain as ...Would there be a way to allow sending from alias domains? As in, when configuring an alias domain as a source to be directed to a different as the destination, could an option be added to allow sending from this alias (source) domain as well, so that all email accounts, aliases, and forwarders for the "destination" domain are duplicated for every domain alias as well?
An example would be I have a domain called firstdomain.tld but I want an alias domain of seconddomain.tld. When active, any email sent to secomddomain.tld will check if the address exists in firstdomain.tld and send to the recipient, i.e user@firstdomain.tld. But what if I want to send an email from user@seconddomain.tld. I can't currently because the address is not owned by user@firstdomain.tld.
It would be great to have the option to enable this above the Active checkbox/option, similar to how alias and forwarder addresses have the Allow sending from this address option.https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/6232mail domain alias allowed when shouldn't be2022-02-10T18:39:50ZJesse Norellmail domain alias allowed when shouldn't beWhen adding a mail domain alias there should be a check for existing addresses (mailboxes, forwards, aliases and catchall) in that domain and not allow creating the domain alias if found.
Checks in the other direction exist for mailboxe...When adding a mail domain alias there should be a check for existing addresses (mailboxes, forwards, aliases and catchall) in that domain and not allow creating the domain alias if found.
Checks in the other direction exist for mailboxes/forwards/alaises, but also missing for catchall. (Ie. you cannot create a mailbox for a domain which is setup as an alias, but you can create a catchall.)https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/6248FTP Users unable to log in when client (owner) of parent website is changed2022-03-23T16:21:44ZMarius BurkardFTP Users unable to log in when client (owner) of parent website is changedWhen changing the owner (client) of a website, the document root is updated, but the home dir of the FTP users of the websites are not.
Afterwards the FTP users are no longer able to login because the home dir does not exist. It is hard ...When changing the owner (client) of a website, the document root is updated, but the home dir of the FTP users of the websites are not.
Afterwards the FTP users are no longer able to login because the home dir does not exist. It is hard to debug because the pureftp server just behaves as if the password was wrong.