ISPConfig 3 issueshttps://git.ispconfig.org/ispconfig/ispconfig3/-/issues2023-01-29T20:49:52Zhttps://git.ispconfig.org/ispconfig/ispconfig3/-/issues/6429Statistics (FTP, traffic ect) displays NAN when no records in DB2023-01-29T20:49:52ZKrzysztof BaranowskiStatistics (FTP, traffic ect) displays NAN when no records in DBWhen account is new or don't have any stats there are NAN everywere.
Sites -> ftp stats, traffic stats, backup stats
Email -> mailbox stats, backup stats, traffic stats
![Screenshot_2022-12-16_at_11-37-04_ISPConfig](/uploads/03158c0ae...When account is new or don't have any stats there are NAN everywere.
Sites -> ftp stats, traffic stats, backup stats
Email -> mailbox stats, backup stats, traffic stats
![Screenshot_2022-12-16_at_11-37-04_ISPConfig](/uploads/03158c0aee0a0ff6d9d9411d5f4863d8/Screenshot_2022-12-16_at_11-37-04_ISPConfig.png)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/6080Sieve Filter isn't rewritten in resync tool2023-12-03T21:11:58ZDominikSieve Filter isn't rewritten in resync toolRecently I migrated from an old IPSConfig 3.0 (Debian Jessie) server to ISPConfig 3.2 (Ubuntu 20.04) with migration-tool
in the old version the mail user filter have been realized by uncompiled sieve-file in the mailbox-folder.
In IPSCO...Recently I migrated from an old IPSConfig 3.0 (Debian Jessie) server to ISPConfig 3.2 (Ubuntu 20.04) with migration-tool
in the old version the mail user filter have been realized by uncompiled sieve-file in the mailbox-folder.
In IPSCOnfig 3.2 it is solved via compiled svbin-files .ispconfig(-before).svbin.
Directly after migrating I found out, that all Mail-user-filter didn't work and after investigation I found out, that it is because the migration copied the old plain-text sieve-files. I then thought, that resyncing all Mailboxes and Mailfilters should do the trick, but it seems like none of the resync-functions really (re)creates this sieve and svbin files?!
Only re-saving the mail-user-filters itself really results in a change/creation of sieve and svbin-file.
Shouldn't be that part of the mailfilter-resync?https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/6011Whether To Overwrite Existing Certbot LE SSL Certs With 3.2 Hook Parameters2021-05-18T15:24:25ZHj Ahmad Rasyid Hj IsmailWhether To Overwrite Existing Certbot LE SSL Certs With 3.2 Hook ParametersI noted everything is working quite fine and both acme.sh and certbot are issuing new LE SSL certs whenever there is none exist. However, I also noted that most users especially those who are using certbot may not realized that ISPConfig...I noted everything is working quite fine and both acme.sh and certbot are issuing new LE SSL certs whenever there is none exist. However, I also noted that most users especially those who are using certbot may not realized that ISPConfig 3.2 will not create new LE SSL certs if there are existing LE SSL certs and thus, hook system is not fully implemented.
One way to upgrade to ISPConfig 3.2 and use hook system will be by deleting the previous server LE SSL certs and request the new ones during update process but many did not do this. It is fine if they personally choose incron to monitor and it works when LE SSL Certs for the server is renewed.
Otherwise, it fall back on ISPConfig 3.2 to make sure it works but ISPConfig 3.2 make sure it works via hook, not incron. A dilemma when the code was written and proposed, and I chose hook since it won't use any resources to monitor but will just run before and after LE SSL certs for the server renewal process.
I would propose, that either the existing LE SSL certs is deleted, so the new ones can be issued with hook parameters OR, re-run certbot for the server hostname -f (FQDN) with the new parameters so it will [overwrite the parameters for the existing ones](https://community.letsencrypt.org/t/edit-renewal-parameters-of-certificate/65173).
However, I am not so sure if acme.sh works similarly whether it can overwrite existing parameters OR, simply the previous LE SSL certs need to be revoked and deleted and request new ones to with the new parameters.
Hence, I opened this issue for a revisit on how this can be handled more efficiently by ISPConfig 3.2.https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5893Problem with letsencrypt certificates for services2021-02-19T14:23:07ZFlorian MaiProblem with letsencrypt certificates for services## short description
On upgrade or installation ISPConfig asks to configure the services with letsencrypt certs. It links the services certificate files to the ISPConfig interface certificates, which are linked to the hostnames cert.pem ...## short description
On upgrade or installation ISPConfig asks to configure the services with letsencrypt certs. It links the services certificate files to the ISPConfig interface certificates, which are linked to the hostnames cert.pem in the letsencrypt live folder.
This causes issues for example with mail clients (trust anchor for certification path not found).
## correct behaviour
Services like postfix or dovecot should use the fullchain.pem in the letsencrypt live folder.
## environment
Server OS: debian
Server OS version: buster
ISPConfig version: 3.2https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5878Some domain's aren't backed up2021-03-12T16:40:39ZThomSome domain's aren't backed upHaven't seen this behaviour myself, but 3 people reported it on the forum: \
https://www.howtoforge.com/community/threads/i-get-some-errors-after-upgrading-to-ispconfig-3-2.85384/ \
https://www.howtoforge.com/community/threads/backup-log...Haven't seen this behaviour myself, but 3 people reported it on the forum: \
https://www.howtoforge.com/community/threads/i-get-some-errors-after-upgrading-to-ispconfig-3-2.85384/ \
https://www.howtoforge.com/community/threads/backup-log-errors.85478/
We will have to do some more digging to find the problem...Ramil ValitovRamil Valitovhttps://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5877Autoresponder doesn't work2021-02-13T20:42:09ZThomAutoresponder doesn't workAutoresponder doesn't work, either with or without start and end date.Autoresponder doesn't work, either with or without start and end date.https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5819Rapidly created zones over API get SOA serial 02021-02-13T20:42:28ZJohan EhnbergRapidly created zones over API get SOA serial 0## short description
When rapidly creating a zone over API, they get SOA serial 0. In my case, this reliably reproduced with
`ispconfig-cli -b file`
Where file contains:
```
dns_zone_add client-1 client-1.fi. ns1.molnix.com. webmaster.m...## short description
When rapidly creating a zone over API, they get SOA serial 0. In my case, this reliably reproduced with
`ispconfig-cli -b file`
Where file contains:
```
dns_zone_add client-1 client-1.fi. ns1.molnix.com. webmaster.molnix.com. 7200 540 604800 3600 3600
dns_ns_add client-1.fi. client-1.fi. ns1.molnix.com.
dns_a_add client-1.fi. client-1.fi. 10.0.0.1
dns_a_add client-1.fi. www 10.0.0.1
```
## correct behaviour
Serial must me non-zero unsigned 32-bit integer
## environment
Server OS: ubuntu
Server OS version: xenial
ISPConfig version: 3.1.15p3
## proposed fix
1) automatically use recommended and default YYYYMMDD## format when serial is not specified
2) make serial default to 1 if INSERT is empty
3) make serial a required field on APIhttps://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5627spamd: ispconfig did not write milter to postfix main.cf2021-01-23T20:18:48ZTapio Lehtonenspamd: ispconfig did not write milter to postfix main.cf## short description
What is happening and what is wrong with that?
Replaced amavisd with rspamd following https://www.howtoforge.com/replacing-amavisd-with-rspamd-in-ispconfig/. No e-mails were handled by rspamd, because the milter lin...## short description
What is happening and what is wrong with that?
Replaced amavisd with rspamd following https://www.howtoforge.com/replacing-amavisd-with-rspamd-in-ispconfig/. No e-mails were handled by rspamd, because the milter lines in postfix/main.cf were missing. Looks like the /etc/postfix/main.cf file was not modified at all.
## correct behaviour
What should happen instead?
This:
```
# diff /var/tmp/main.cf main.cf
89,90c89,90
< content_filter = amavis:[127.0.0.1]:10024
< receive_override_options = no_address_mappings
---
> ####content_filter = amavis:[127.0.0.1]:10024
> ####receive_override_options = no_address_mappings
91a92,97
> #Taleman added 2020-05-31
> smtpd_milters = inet:localhost:11332
> non_smtpd_milters = inet:localhost:11332
> milter_protocol = 6
> milter_mail_macros = i {mail_addr} {client_addr} {client_name} {auth_authen}
> milter_default_action = accept
```
## environment
Server OS: Debian
Server OS version: Stretch 9.12
ISPConfig version: 3.1.15p3
If it might be related to the problem
insert the output of `php -v` here
```
# php -v
PHP 7.0.33-0+deb9u7 (cli) (built: Feb 16 2020 15:11:40) ( 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-0+deb9u7, Copyright (c) 1999-2017, by Zend Technologies
```
## references
Discussion on forum:
https://www.howtoforge.com/community/threads/rspamd-ispconfig-did-not-write-milter-to-postfix-main-cf.84506/
Previously I installed rspamd on two other hosts, first was a single host system, second was ISPConfig multiserver setup but all services were on master except name service was on two name severs which were running only name service.
This third setup has e-mail server separate from the master. It may be the rspamd setup does not in this case write to the main.cf on the e-mail server host.https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5452PHP version select box size2023-08-01T13:39:56ZSteffan NoordPHP version select box sizeFuture request
Is it possible to change the size of the php version select box after selecting PHP-FPM?Future request
Is it possible to change the size of the php version select box after selecting PHP-FPM?https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5398Powerdns domain_id field is not set on a dns mirror server.2020-10-04T10:04:42ZmPoloskeyPowerdns domain_id field is not set on a dns mirror server.The domain_ID field in powerdns is not set when using a ispconfig server as a mirror (DNS).
On the master server everything seems to be ok.
how to reproduce
you need two servers.
primary server, with dns.
Secudary server as a dns mirro...The domain_ID field in powerdns is not set when using a ispconfig server as a mirror (DNS).
On the master server everything seems to be ok.
how to reproduce
you need two servers.
primary server, with dns.
Secudary server as a dns mirror.
Resync dns.
Using two ubuntu servers with the lastest ispconfig.https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5314Clean up SSL-config at least for apache2 to disable TLS1.0 and make use of re...2020-09-07T12:35:56ZKaiClean up SSL-config at least for apache2 to disable TLS1.0 and make use of recommended settings## Whats wrong?
Using ispconfig with Apache and Lets Encrypt leads to a situation where one seems to have no chance to disable TLSv1.0.
There is a setting in httpd.conf, maybe in httpd.conf.d, in the vhosts-File, in /etc/letsencrypt/opti...## Whats wrong?
Using ispconfig with Apache and Lets Encrypt leads to a situation where one seems to have no chance to disable TLSv1.0.
There is a setting in httpd.conf, maybe in httpd.conf.d, in the vhosts-File, in /etc/letsencrypt/options-ssl-apache.conf
Some of them are rewritten if you change settings of the specific vhost, some not. The settings in /etc/letsencrypt/options-ssl-apache.conf seem to overwrite some settings. Some settings seem to be overwritten, when the ispconfig cronjobs run, but it is not exactly clear, which of those files are affected.
## correct behaviour
Maybe it might be considered to clean up this mess ;-)
Considerations:
* make use of the settings from https://cipherli.st/ and put them into the template-files for apache2/nginx/lighttpd
* create a graphical representation of how and when which setting wins, especially for apache2
* remove duplicates of settings or try to find out, who wins
* add option to set this stuff at a central place to be used for all vhosts (either as a textfile or as a setting in the GUI)
## environment
Server OS: Ubuntu, but independent
Server OS version: independent
Webserver: Apache/2.4.18
ISPConfig version: 3.1.13p1https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5292mdbox backup problem2020-11-11T21:11:29ZPiotr J.mdbox backup problemI have a problem with cron email backups not working. This is (not) happening on two independent servers / installations. DB and websites are backing up correctly.
The loges contained:
```
tar: You may not specify more than one '-Acdtrux...I have a problem with cron email backups not working. This is (not) happening on two independent servers / installations. DB and websites are backing up correctly.
The loges contained:
```
tar: You may not specify more than one '-Acdtrux', '--delete' or '--test-label' option
Try 'tar --help' or 'tar --usage' for more information.
```
This has also been shown when running the cronjob manualy. After adding some php print commands the output is as following. (Users and domain changed):
```
# php /usr/local/ispconfig/server/cron_debug.php --cronjob=500-backup_mail.inc.php
su -c 'dsync backup -u "user1@domain1" mdbox:/var/vmail/domain1/user1/backup'
tar pczf /var/backup/mail3/mail14_2019-04-15_21-50.tar.gz --directory /var/vmail/domain1/user1 backup && rm -rf /var/vmail/domain1/user1/backup
tar: You may not specify more than one '-Acdtrux', '--delete' or '--test-label' option
Try 'tar --help' or 'tar --usage' for more information.
su -c 'dsync backup -u "user2@domain1" mdbox:/var/vmail/domain1/user1/backup'
tar pczf /var/backup/mail3/mail12_2019-04-15_21-50.tar.gz --directory /var/vmail/domain1/user1 backup && rm -rf /var/vmail/domain1/user1/backup
tar: You may not specify more than one '-Acdtrux', '--delete' or '--test-label' option
Try 'tar --help' or 'tar --usage' for more information.
*finished.
```
The second dsync and tar has also user1 in some party. Should be user2.
However still every tar gives that error massage.
If I run manually the same command there are no problems:
```
root@mail:~# su -c 'dsync backup -u "user1@domain1" mdbox:/var/vmail/domain1/user1/backup'
root@mail:~# tar pczf /var/backup/mail3/mail14_2019-04-15_21-50.tar.gz --directory /var/vmail/domain1/user1 backup && rm -rf /var/vmail/doamin1/user1/backup
root@mail:~# ls -l /var/backup/mail3/mail14_2019-04-15_21-50.tar.gz
-rw-r--r-- 1 root root 1004 Apr 15 22:07 /var/backup/mail3/mail14_2019-04-15_21-50.tar.gz
```
Anyone else using mdbox backups? Without any problems? Any suggestions what I am / we are missing?https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5269Using OVH secondary DNS server automatically2020-10-24T18:21:54ZJan KopeckyUsing OVH secondary DNS server automaticallyOVH offer dedicated servers with preinstalled ISPConfig. It would be nice to have option for using OVH secondary DNS server in ISPConfig automatically. There is OVH API available for this purpose:
https://api.ovh.com/
with PHP wrapper:...OVH offer dedicated servers with preinstalled ISPConfig. It would be nice to have option for using OVH secondary DNS server in ISPConfig automatically. There is OVH API available for this purpose:
https://api.ovh.com/
with PHP wrapper:
https://github.com/ovh/php-ovh
Unfortunatelly I have not enough skills to add it myself but I can help with testing.https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5257Email usage quota not max quota2020-09-08T16:08:04ZSteffan NoordEmail usage quota not max quotaIt wouild be nice if the quota calculation for a customer will calculate by actual usages and not max set.
example:
limit_mailquota 100 MB on all mailboxes
actual in use:
1 mailbox = 10 MB
2 mailbox = 5 MB
3 mailbox = 10 MB
The questio...It wouild be nice if the quota calculation for a customer will calculate by actual usages and not max set.
example:
limit_mailquota 100 MB on all mailboxes
actual in use:
1 mailbox = 10 MB
2 mailbox = 5 MB
3 mailbox = 10 MB
The question is whether we can do that in the dashboard display data:
Mail Quota allocated to all accounts 100 MB
assigned 25 MB
free quota of 75 MB
And only blocks incomming email if the max quota of the mailbox or customer is reached.
In a controlpanel i used in the past this was the default.
question 2
Is it possible to display the data:
assigned mail quota of 100 MB
used quota (actually used in place of sliding all the mailboxes).https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5213rfe: installer should update default php settings2020-12-26T10:07:28ZJesse Norellrfe: installer should update default php settingsThe installer should be able to reset the default php settings according to the current OS (or according to /etc/alternatives/, whatever it does now for new installations should work). It could either do that unconditionally or prompt f...The installer should be able to reset the default php settings according to the current OS (or according to /etc/alternatives/, whatever it does now for new installations should work). It could either do that unconditionally or prompt for whether default php settings should be reset or not.
This seems necessary for consistency and it eases OS updates (like https://www.howtoforge.com/community/threads/after-upgrade-to-ubuntu-18-04-01-all-websites-get-502.80746/page-2#post-383683 and I have had the same issue on debian updates from php 5.6 -> 7.x).https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5188[Feature Request] PHP-FPM & "disable website"2020-12-26T10:07:28ZSébastien Coureau[Feature Request] PHP-FPM & "disable website"When disabling a website which run with php-fpm (verified at least on Debian-8, php5.6-fpm, ISPC-3.1.13), the FPM pool is not deactivated.
It would be really nice if only pool of actives websites are (re)loaded.When disabling a website which run with php-fpm (verified at least on Debian-8, php5.6-fpm, ISPC-3.1.13), the FPM pool is not deactivated.
It would be really nice if only pool of actives websites are (re)loaded.https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5182Set IP for syncronisation in multi server setups2020-04-04T21:15:10ZBernd SchuhmacherSet IP for syncronisation in multi server setupsHi
If I have a multi server setup with multiple IPs on each used server there is the problem that the slave instance is using the first defined IP address for syncing with the master ISPConfig server.
When setting all things up like desc...Hi
If I have a multi server setup with multiple IPs on each used server there is the problem that the slave instance is using the first defined IP address for syncing with the master ISPConfig server.
When setting all things up like described in https://www.howtoforge.com/multiserver-setup-with-dedicated-web-email-dns-and-mysql-database-servers-on-debian-squeeze-with-ispconfig-3 or in the official documentation the users for syncing the slaves with the master are set for ispcsrvX-user@<ip of hostname> but not for the first ip found in the system.
I think it would be nice if the IP which is set for the hostname would be used for syncing.
For example if I use a Hetzner cloud server the server gets an dynamic IP as the first IP. If I add a floating IP to the server which I use for ht ehostname I have a problem with the given setup and need to set up some more privileges for the ispcsrvX-user.
Regards
Bernd
P.s.: This should be a feature request ... but i did not find a way to mark it correctly.https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5176The problem with automatic creating DKIM DMARC2020-11-30T12:45:21ZViktorThe problem with automatic creating DKIM DMARCI think that they need to know everything and discuss it does not make sense.
Indeed, the recordings are already in demand, and there is still no functionality for them. (Generation).
BUT I would like to draw attention to this question f...I think that they need to know everything and discuss it does not make sense.
Indeed, the recordings are already in demand, and there is still no functionality for them. (Generation).
BUT I would like to draw attention to this question from a different angle.
DNS generation can be done through a wizard. And it may contain not only local opendkim but also external gmail services and many others. They provide an API, but there is no pick up of this data, and rather you will not be able to automatically.
In my case, there are only 3 mailboxes from 651 sites on the server, everyone prefers to use external mail services.
Consequently, even if you complete the opendkim hegeration, this will never solve the problem.
My suggestion:
The wizard DNS
Add a field api request in which by default will be a request to opendkim
exec or curl, just a string.
plus the ability to substitute these values (and there may be more than one) in the DNS record
In this case, it does not require processing of the ispconfig interfaces.
All logic will remain leka.
And for each service, you can lay out a separate manus or search on the forum, the main thing is that it will already be technically possible to implement the request to both local and third-party servers.
In the future, when the exact amount of required data, the method of obtaining them will be understood, it will be possible to make a full-fledged control, but this is quite a long time. Let's be realistic, we need the minimum possible opportunity.
![11](/uploads/3e02d379ff489086d0ad3dba47c79440/11.png)https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5169Webhook support2020-12-26T10:07:28ZHelmoWebhook supportGitHub (Settings -> webhooks) and GitLab (under Settings -> Integrations) have a nice feature that they can call a HTTP endpoint for you when new code is pushed or other specific events happen in the repository.
It would be nice if ISPc...GitHub (Settings -> webhooks) and GitLab (under Settings -> Integrations) have a nice feature that they can call a HTTP endpoint for you when new code is pushed or other specific events happen in the repository.
It would be nice if ISPconfig had a configurable endpoint for this.
- Activated per site
- The Options tab could have a checkbox to activate it and then show a unique url to call.
- the cron queue could then handle a configured action... like call `git pull` somewhere as the web user.
- this can be a scripts located in e.g. `/var/www/clients/client2/web3/webhooks/webhook.sh`
It would be nice to have pre-configured actions but I expect there to be many variations... therefore the predictable script name.
In that script I can then do some checks and call git pull.
Other uses could be to
- import a fresh database into a test site
- execute database updates for the site
- clear caches
- sent notifications
## Security impact
If the user can edit webhooks.sh they can run any code as their own web user... but they can already run any code from php.