ISPConfig 3 issueshttps://git.ispconfig.org/ispconfig/ispconfig3/-/issues2022-01-18T11:43:10Zhttps://git.ispconfig.org/ispconfig/ispconfig3/-/issues/6032API event support2022-01-18T11:43:10ZCédricAPI event supportHello Guys,
Original post : https://www.howtoforge.com/community/threads/working-with-plugin-control-panel-vs-api.86218/
It's appear the API have some event support missing.
![image](/uploads/56395a33728b5d28334ad4eb1a4b44a5/image.png)...Hello Guys,
Original post : https://www.howtoforge.com/community/threads/working-with-plugin-control-panel-vs-api.86218/
It's appear the API have some event support missing.
![image](/uploads/56395a33728b5d28334ad4eb1a4b44a5/image.png)
How to try it:
1. Add error login to your ispconfig vhost (/etc/apache2/sites-enabled/000-ispconfig.vhost)
- add / edit the line : ErrorLog /var/log/ispconfig/httpd/YourVHOST.DOMAIN.TLS/error.log
2. Plugin demonstration :
```php
<?php
class exemple_plugin {
var $plugin_name = 'exemple_plugin';
var $class_name = 'exemple_plugin';
function onLoad() {
global $app;
$app->plugin->registerEvent('mail:mail_user:on_before_insert', 'exemple_plugin', 'fonction_edit');
$app->plugin->registerEvent('mail:mail_user:on_before_update', 'exemple_plugin', 'fonction_edit');
$app->plugin->registerEvent('mail:mail_user:on_before_delete', 'exemple_plugin', 'fonction_del');
}
function fonction_edit($event_name, $page_form){
error_log('You should see this line in the log when you add / edit an email');
}
function fonction_del($event_name, $page_form){
error_log('You should see this line in the log when you remove an email');
}
}
```
3. IMPORTANT : Relog into your ISPConfig control panel
4. Time to try
1. Go to Ispconfig;
- Email > Email Mailbox > Select an existing mailbox > Change something > Save
- When you do that you should see this inside your logfile ![image](/uploads/d64e220d0b9665ce5535c9a3f998cf36/image.png)
2. When you make the same change by the API, nothing is wrote inside the logfile.
- That mean the plugin isn't call by the API.
Also the support of multi event would be great (before/after)
Regards,3.2.8https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/6027rspamd: redis server and password fields2021-03-31T19:48:28ZJesse Norellrspamd: redis server and password fieldsAdd 4 fields for the redis server and password when using rspamd, the default redis server/password and bayes redis/password (which uses default if unspecified).
This allows specifying unix sockets to talk to the redis server, as well a...Add 4 fields for the redis server and password when using rspamd, the default redis server/password and bayes redis/password (which uses default if unspecified).
This allows specifying unix sockets to talk to the redis server, as well as a password. Having the second optional parameters for bayes allows using a second redis instance with a memory limit to cap the growth of bayes data without evicting non-bayes keys which would happen if using a single redis instance.3.2.4Jesse NorellJesse Norellhttps://git.ispconfig.org/ispconfig/ispconfig3/-/issues/6012Update README.md2021-01-13T09:57:28ZThomUpdate README.mdUpdate the read me with up to date information on the project (any pointers?)Update the read me with up to date information on the project (any pointers?)3.2.3ThomThomhttps://git.ispconfig.org/ispconfig/ispconfig3/-/issues/6008Remove "Form to ..." from forms of system module2021-03-09T19:37:43ZThomRemove "Form to ..." from forms of system module3.2.3ThomThomhttps://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5988Add files for custom lines Postfix & Dovecot2021-02-27T11:10:13ZThomAdd files for custom lines Postfix & DovecotAfter updating to 3.2.2, I saw my whole Dovecot config was overwritten. Luckily I keep versioned backups so my dsync setup and stuff like that wasn't lost. But to make upgrading more easy, I think it would be a good idea to let the insta...After updating to 3.2.2, I saw my whole Dovecot config was overwritten. Luckily I keep versioned backups so my dsync setup and stuff like that wasn't lost. But to make upgrading more easy, I think it would be a good idea to let the installer use 2 files from conf-custom (if they exist) that take precedence with the lines set it in, like we already do for configuration that's postfix version dependent.
So we could have a `custom_postfix.cf` and `custom_dovecot.conf` in the conf-custom folder with only our own custom lines.
e.g. for postfix:
`message_size_limit = 31457280` \
`smtpd_tls_mandatory_ciphers = high` \
which will overrule the parameters we set in our templates.
for dovecot, we could let it overrule and if the line doesn't exist, add it.
Not sure how difficult this would be to implement in the installer. I'm curious what others think about this.
I think this would make upgrading for our users a more fluent task so they do it without hestitating in the future.3.2.3https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5986Don't use md5 hashing for remote user passwords2021-01-04T13:56:12ZMarius BurkardDon't use md5 hashing for remote user passwordsChange remote user password encryption to `CRYPT`Change remote user password encryption to `CRYPT`3.2.2Marius BurkardMarius Burkardhttps://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5985Don't use md5 on admin password2021-01-04T14:24:32ZMarius BurkardDon't use md5 on admin passwordThe installer still uses `md5` hashing on admin password. This should be changed to the new crypt algo. Also on first login with a md5 hashed password it should be rewritten to new algo.The installer still uses `md5` hashing on admin password. This should be changed to the new crypt algo. Also on first login with a md5 hashed password it should be rewritten to new algo.3.2.2Marius BurkardMarius Burkardhttps://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5983Show rendered bind dns zone in extra tab2022-01-18T11:41:20ZHelmoShow rendered bind dns zone in extra tabI like to show the 'finished' zone to users. Both for transparency, and data portability.
The code in !1379 adds a third tab and prints the zonefile, stored in the database after rendering in the backend.I like to show the 'finished' zone to users. Both for transparency, and data portability.
The code in !1379 adds a third tab and prints the zonefile, stored in the database after rendering in the backend.3.2.8HelmoHelmohttps://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5967sender_login_maps should read email.cc2020-12-18T21:15:25ZJesse Norellsender_login_maps should read email.ccWhen a mailbox forwards to other mailboxes via the cc ("send copy to") field, those destination accounts should be able to send mail as the original account, just like an alias/forward.
Use cases for not just using an alias/forward are ...When a mailbox forwards to other mailboxes via the cc ("send copy to") field, those destination accounts should be able to send mail as the original account, just like an alias/forward.
Use cases for not just using an alias/forward are when you want an autoresponder or filters for the mailbox.
It can use the 'disabledeliver' field to more or less emulate current behavior; if disabledeliver='y' (no local delivery, it's acting like an alias/forward), this new behavior will happen; if disabledeliver='n' (local delivery does happen), it's acting more like a standard mailbox and retains current/legacy behavior.3.2.2Jesse NorellJesse Norellhttps://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5965Do OS-Update - Red Hat family2020-12-18T21:16:37ZJozef SrokaDo OS-Update - Red Hat familyIt's can be good to add update os command fro "Red Hat family". I also created a merge request !1356It's can be good to add update os command fro "Red Hat family". I also created a merge request !13563.2.2https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5956Remove log/ folder exclude from backup routine2020-12-10T10:26:44ZMichaelRemove log/ folder exclude from backup routineAs the title states, currently the backup routine excludes the log folder.
Imho the log folder should be included in the backup since, beside the vhost log files, there is in this folder also the webalizer and goaccess.conf located as ...As the title states, currently the backup routine excludes the log folder.
Imho the log folder should be included in the backup since, beside the vhost log files, there is in this folder also the webalizer and goaccess.conf located as well as the GoAccess database files saved.3.2.2Jesse NorellJesse Norellhttps://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5954Center quota % usage2020-12-28T13:53:15ZThomCenter quota % usage![image](/uploads/16a91fc94c42fc1c91bd28f5f307e840/image.png)
I propose to center the value because it looks weird when the usage is low.
cc @pdreissen![image](/uploads/16a91fc94c42fc1c91bd28f5f307e840/image.png)
I propose to center the value because it looks weird when the usage is low.
cc @pdreissen3.2.2Pascal DreissenPascal Dreissenhttps://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5950Add Fedora 32 and 33 detection2020-12-09T10:23:46ZJozef SrokaAdd Fedora 32 and 33 detectionIt's can be good to add Fedora 32 and 33 detection. I also created a merge request !1338It's can be good to add Fedora 32 and 33 detection. I also created a merge request !13383.2.2Jozef SrokaJozef Srokahttps://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5948add redirect to https for ispconfig interface by 000-ispconfig.vhost in apache22022-03-09T12:45:27Zcharlesadd redirect to https for ispconfig interface by 000-ispconfig.vhost in apache2Hello every body
It's can be good to add this :\
For Apache2 in install/tpl/apache_ispconfig.vhost.master\
`ErrorDocument 400 "<script>document.location.href='https://'+location.hostname+':'+location.port';</script><h1>Change http to htt...Hello every body
It's can be good to add this :\
For Apache2 in install/tpl/apache_ispconfig.vhost.master\
`ErrorDocument 400 "<script>document.location.href='https://'+location.hostname+':'+location.port';</script><h1>Change http to http<b>s</b> into the url</h1>"`
For ngnix in install/tpl/nginx_ispconfig.vhost.master it's already redirected (I think)\
`# redirect to https if accessed with http`\
`{ssl_comment}error_page 497 https://$host:{vhost_port}$request_uri;`
Have good day :)3.2.8ThomThomhttps://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5943Allow @ for cname target hostname2020-12-10T13:50:00ZThomAllow @ for cname target hostnameConvert @ to example.com.Convert @ to example.com.3.2.2ThomThomhttps://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5934Update default dns wizard template2020-12-10T12:59:25ZThomUpdate default dns wizard templateAdd more examples and add dnssec_wanted=nAdd more examples and add dnssec_wanted=n3.2.2ThomThomhttps://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5928Remove deprecated bind settings from template config2022-03-09T12:45:17ZThomRemove deprecated bind settings from template config`dnssec-enable` and `dnssec-lookaside` are obsolete and have no effect since BIND 9.15.
Also, I think `dnssec-validation yes;` should be changed to `dnssec-validation auto;` (see `dnssec-validation` under https://bind9.readthedocs.io/en...`dnssec-enable` and `dnssec-lookaside` are obsolete and have no effect since BIND 9.15.
Also, I think `dnssec-validation yes;` should be changed to `dnssec-validation auto;` (see `dnssec-validation` under https://bind9.readthedocs.io/en/v9_16_8/reference.html#boolean-options), or am I missing something?3.2.8ThomThomhttps://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5922Disable HTTP NameVirtualHost for IP addresses by default2020-11-18T10:54:29ZThomDisable HTTP NameVirtualHost for IP addresses by defaultBased on https://www.howtoforge.com/community/threads/apache-serving-wrong-vhost.85620/page-2#post-412501Based on https://www.howtoforge.com/community/threads/apache-serving-wrong-vhost.85620/page-2#post-4125013.2.1ThomThomhttps://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5909Purge trash and junk on mdboxes in Dovecot2020-12-23T09:08:37ZPiotr J.Purge trash and junk on mdboxes in DovecotLooking at !1015 we have purge trash and junk only for maildirs:
`/server/lib/classes/cron.d/500-clean_mailboxes.inc.php`
I would like to suggest adding also purge for mdbox'es.
This topic has been touches in this discussion: https://www...Looking at !1015 we have purge trash and junk only for maildirs:
`/server/lib/classes/cron.d/500-clean_mailboxes.inc.php`
I would like to suggest adding also purge for mdbox'es.
This topic has been touches in this discussion: https://www.howtoforge.com/community/threads/email-cleanup.80522/
`doveadm expunge -u user@domain ... some_criteria`
Also it would be nice to have the frame setting for purges also inherited: global, per domain, and per user (that last one exists).3.2.2https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5908"From" in welcome email template2020-12-09T10:21:04ZJesse Norell"From" in welcome email templateAll the server/conf/mail/* templates use `From: {admin_mail}` except the welcome_email_* templates, which have `From: ISPConfig <postmaster@localhost.localdomain>` - those should use the {admin_mail} placeholder, too.All the server/conf/mail/* templates use `From: {admin_mail}` except the welcome_email_* templates, which have `From: ISPConfig <postmaster@localhost.localdomain>` - those should use the {admin_mail} placeholder, too.3.2.2Jesse NorellJesse Norell