Jump to content
Froxlor Forum

d00p

Administrators
  • Posts

    10311
  • Joined

  • Last visited

  • Days Won

    43

Everything posted by d00p

  1. so, even for FCGID there's "Passing HTTP AUTH BASIC/DIGEST headers from Apache to PHP" for each php-option. Validate that the froxlor vhost php-config has this flag enabled
  2. so why dont you give a bit more info then instead of saying "i use fcgi" ...how are we supposed to know your system or what your settings are etc.etc.etc.
  3. https://docs.froxlor.org/latest/api-guide/ NOTE If you are using php-fpm with apache2, in order for the API authentication to work properly, you need to enable Add "-pass-header Authorization" / "CGIPassAuth On" to vhosts in the PHP-configuration assigned to froxlor.
  4. Grundsätzlich eigentlich: den Client halt korrekt einrichten. Was die automatisch erkennen muss ja nicht immer das richtige sein Du könntest alternativ entsprechende autoconfigs einrichten, dass Mail-Clients wie Thunderbird gesagt bekommen was auf dem Server die korrekten IMAP und SMTP Server sind Oder: postfix und dovecot configs entsprechend anpassen, dass sie auf Domain Basis unterschiedliche Zertifikate liefern (SNI).
  5. Lief dein Cron vllt nicht? Normal erledigt das eigentliche renew alles acme.sh über seinen Cron selbst
  6. Das hatte ich auch öfter jetzt, ich vermute einen Bug in der aktuellen Version. Lass den Cron Mal manuell mit --force laufen, das hat es bei mir jedesmal gefixed.
  7. Dann wirst du da um eigene Scripts / eigene Migrations-Pfade nicht herumkommen
  8. na wenn es die komplette alte DB von froxlor-0.10.x noch gibt, spiel die ein und lass das upgrade laufen mit den aktuellen 2.1 dateien... Ich verweise auf deinen anderen Thread...ich würde es mit einem Script unter Nutzung der froxlor API machen, dann stimmen auch alle Verknüpfungen und resource Countings usw. Alternativ gibt es für Domains auch einen Import, siehe https://docs.froxlor.org/latest/admin-guide/domain-import/ (im Grunde ein CSV2API wrapper) - für Email Adressen/Konten gibt es das bisher leider nicht
  9. Neuer nick, gleiche Schreibweise ... aber hey, ich werde dir trotzdem antworten.... Ja, warum sollte es nicht, wo steht bitte das DNS/Nameserver betreiben ein "must have" ist? Ja, dafür ist froxlor da ... Es gibt kein froxlor v1.xx, wenn meinst du wohl 0.10.x. Kurzantwort: Ja, das ginge, aber nicht ganz ohne manuelles zutun (ein upgrade von froxlor 0.10 auf 2.x würde das für dich erledigen) unnötiger Zusatz, aber ey, wenns dir nicht gefällt ... die Auswahl ist groß...bitte nutz gern was anderes was dir mehr zusagt
  10. Parameter: store_defaultindex (bool) Parameter: sendpassword (bool) You pass the plaintext password as froxlor hashes it according to the settings (and it's needed in plaintext to add the default ftp-user etc. internally or to send the password to the customer if the parameter 'sendpassword' is set to true) See: https://docs.froxlor.org/latest/api-guide/commands/customers.html#customers-add
  11. ich wollte dir helfen aber offenbar war es dir nicht genug weil du was dafür tun musst. Ich gehe nicht erneut auf deine Kommentare ein, das dreht sich im Kreis.
  12. Na bei der Art und Weise wie du hier schreibst und mit Hilfe und Antworten umgehst, hat keiner Lust dir zu antworten
  13. du DARFST natürlich im quellcode rummachen und genauso habe ich gesagt, dass du deine Verbesserungen auch gerne beisteuern kannst sodass alle was davon haben, denn so funktioniert open-source. Und sorry das unser privates und in Freizeit entwickeltes Projekt deinen Ansprüchen noch nicht genügt und wir nicht 24/7 daran arbeiten und alles vollumfänglich und 100% korrekt implementieren können. Tut mir leid, dass es dir offenbar nicht zusagt. Wie gesagt, dieses Projekt wird privat und in unserer Freizeit entwickelt - natürlich fokussieren wir uns hier auf die "breite Masse" Ich habe nichts gegen Feedback - du hast allerdings eine konkrete Anforderung wie du deine DNS Zonen importieren kannst und ich habe versucht dir aufzuzeigen wie es aktuell möglich ist. Wenn meine Infos für dich nicht hilfreich sind, tut es mir leid.
  14. ??? Du sollst ja nicht im code von froxlor rummachen sondern die API in deinen eigenen scripts verwenden... Einen eigenen DNS betreiben vllt eine handvoll Leute mit froxlor - dieses Feature bekommt einfach nicht so viel Liebe wie andere Elemente da es nicht sonderlich gefragt und genutzt wird. Dann beteilige dich doch gern am Projekt und erweitere die DNS integration Dafür ist es open-source hab ich dir genannt...siehe API command dafür: https://docs.froxlor.org/latest/api-guide/commands/domainzones.html#domainzones-add Welche Datengrundlage ein import hat ist doch völlig egal.
  15. via API oder direkt in die entsprechende Tabelle der froxlor-Datenbank. Die SOA Serial ist in der domains-tabelle pro domain hinterlegt (bindserial). Eine automatische Erhöhung ist nicht in froxlor integriert, aber auch hierfür kannst du die API nutzen um Felder automatisiert anzupassen Sofern du die 2fa Absicherung gewisser Einstellungen meinst, dann https://docs.froxlor.org/latest/admin-guide/settings/#_3-settings-in-config-inc-php Es gibt ja auch in dem Sinn keinen DNS-import in froxlor...
  16. Yes it should, might be a bug, please create an issue on github using https://github.com/Froxlor/Froxlor/issues/new
  17. Froxlor uses acme.sh, you can use certificates managed there if you want or issue your own
  18. Standardsubdomains do not have the nameserver flag enabled by default. You will have to edit the domain and set it.
  19. Yes, Settings -> System settings -> Customer standard subdomain, set it to "lab.mydomain.com" for the desired effect
  20. you can always add/edit ip addresses, see https://docs.froxlor.org/latest/admin-guide/resources/ips-and-ports/
  21. froxlor hat gar nix mit memcached zu tun ... das kommt jetzt ganz drauf an WIE wordpress das prüft. Eventuell funkt dir hier eine der `disabled_functions` in der php.ini dazwischen
  22. nein, Konto anlegen ist ein zweiter Schritt - man kann ja auch Adressen haben, ohne das diese ein Konto sind. Müsstest du einen zweiten API call machen: <?php // include FroxlorAPI helper class require __DIR__ . '/FroxlorAPI.php'; // create object of FroxlorAPI with URL, apikey and apisecret $fapi = new FroxlorAPI('http://127.0.0.1/api.php', 'your-api-key', 'your-api-secret'); // source data (loginname only required if called as admin/reseller) $email_addresses = [ ['email_part' => 'one', 'domain' => 'domain.tld', 'loginname' => 'web1', 'email_password' => 's3cret'], ['email_part' => 'two', 'domain' => 'domain.tld', 'loginname' => 'web1'], ['email_part' => 'three', 'domain' => 'domain.tld', 'loginname' => 'web2'], ['email_part' => 'four', 'domain' => 'domain.tld', 'loginname' => 'web2'], // ... ]; // loop through data foreach ($email_addresses as $email_addr) { // check for account-password $accnt_pwd = $email_addr['email_password'] ?? null; unset($email_addr['email_password']); // send request $fapi->request('Emails.add', $email_addr); // check for error if ($fapi->getLastStatusCode() != 200) { echo "HTTP-STATUS: " . $fapi->getLastStatusCode() . PHP_EOL; echo "Description: " . $response['message'] . PHP_EOL; continue; } // create account if password is set if (!empty($accnt_pwd)) { // send request $fapi->request('EmailAccounts.add', [ 'emailaddr' => $email_addr['email_part'] . '@' . $email_addr['domain'], 'loginname' => $email_addr['loginname'], 'email_password' => $accnt_pwd ]); // check for error if ($fapi->getLastStatusCode() != 200) { echo "HTTP-STATUS: " . $fapi->getLastStatusCode() . PHP_EOL; echo "Description: " . $response['message'] . PHP_EOL; } } }
  23. Das Ganze funktioniert auch via CLI (siehe https://docs.froxlor.org/latest/admin-guide/cli-scripts/#api-call) bin/froxlor-cli froxlor:api-call admin Emails.add '{"email_part": "one", "domain": "domain.tld", "loginname": "web1"}'
  24. da es keinen email-adressen importer via UI gibt bietet sich die API an ja Ein beispiel wäre: <?php // include FroxlorAPI helper class require __DIR__ . '/FroxlorAPI.php'; // create object of FroxlorAPI with URL, apikey and apisecret $fapi = new FroxlorAPI('http://127.0.0.1/api.php', 'your-api-key', 'your-api-secret'); // source data (loginname only required if called as admin/reseller) $email_addresses = [ ['email_part' => 'one', 'domain' => 'domain.tld', 'loginname' => 'web1'], ['email_part' => 'two', 'domain' => 'domain.tld', 'loginname' => 'web1'], ['email_part' => 'three', 'domain' => 'domain.tld', 'loginname' => 'web2'], ['email_part' => 'four', 'domain' => 'domain.tld', 'loginname' => 'web2'], // ... ]; // loop through data foreach ($email_addresses as $email_addr) { // send request $fapi->request('Emails.add', $email_addr); // check for error if ($fapi->getLastStatusCode() != 200) { echo "HTTP-STATUS: " . $fapi->getLastStatusCode() . PHP_EOL; echo "Description: " . $response['message'] . PHP_EOL; } } See also API documentation: https://docs.froxlor.org/latest/api-guide/commands/emails.html
  25. Nix, es ist nur ein hinweis das der eintrag syntaktisch korrigiert wurde, inhaltlich bleibt es das was eingestellt war
×
×
  • Create New...