Hanno Böck To the extent possible under law, the author(s) have dedicated all copyright and related and neighboring rights to this software to the public domain worldwide. This software is distributed without any warranty. You should have received a copy of the CC0 Public Domain Dedication along with this software. If not, see http://creativecommons.org/publicdomain/zero/1.0/ Nevertheless, in case you use a significant part of this code, we ask (but not require, see the license) that you keep the authors' names in place and return your changes to the public. We would be especially happy if you tell us what you're going to do with this code. */ require_once('inc/base.php'); require_once('inc/security.php'); require_role(ROLE_SYSTEMUSER); require_once('inc/jquery.php'); javascript('domains.js'); require_once('vmail.php'); $settings = domainsettings(); $domains = $settings['domains']; $subdomains = $settings['subdomains']; DEBUG($settings); title("E-Mail-Verwaltung"); output('

Sie können bei '.config('company_name').' die E-Mails Ihrer Domains auf zwei unterschiedliche Arten empfangen.

  1. Sie können einfache E-Mail-Konten erstellen, die ankommende E-Mails speichern oder weiterleiten.
  2. Sie können die manuelle Verwaltung wählen, bei der Sie passende .courier-Dateien für den Empfang und manuelle POP3/IMAP-Konten für den Abruf erstellen können.

Diese Wahlmöglichkeit haben Sie pro Domain bzw. Subdomain. Eine parallel Nutzung beider Verfahren ist nicht möglich. Wenn Sie eine Domain auf Webinterface-Verwaltung einrichten, dann werden eventuell vorhandene .courier-Dateien nicht mehr beachtet. Subdomains können grundsätzlich nur durch Administratoren eingerichtet und verändert werden.

Ihre Domains sind momentan wie folgt konfiguriert:

'); $odd = true; foreach ($domains as $id => $dom) { $odd = !$odd; $trextra = ($odd ? ' class="odd"' : ' class="even"'); $edit_disabled = false; $notice = ''; if ($dom['type'] == 'manual') { $edit_disabled = true; $notice = 'Kann nur von Admins geändert werden'; } if (domain_has_vmail_accounts($id)) { $edit_disabled = true; $notice = 'Keine Änderung möglich, so lange noch '.internal_link("vmail", "E-Mail-Konten").' für diese Domain eingerichtet sind.'; } if ($dom['mailserver_lock']) { $trextra .= ' style="background-color: #faa;"'; $notice .= ' Mailserver-Sperre aktiv!'; } $check_off = ($dom['type'] == 'none' ? ' checked="checked"' : ''); $check_webinterface = ($dom['type'] == 'virtual' ? ' checked="checked"' : ''); $check_manual = ($dom['type'] == 'auto' || $dom['type'] == 'manual' ? ' checked="checked"' : ''); $buttons = ' '; output("\n"); if (array_key_exists($id, $subdomains)) { foreach ($subdomains[$id] as $subdom) { $odd = !$odd; $trextra = ($odd ? ' class="odd"' : ' class="even"'); $edit_disabled = true; $check_webinterface = ($subdom['type'] == 'virtual' ? ' checked="checked"' : ''); $check_manual = ($subdom['type'] == 'auto' || $subdom['type'] == 'manual' ? ' checked="checked"' : ''); $id = $id.'-'.$subdom['name']; $buttons = ' '; output("\n"); } } } output('
DomainnameEinstellung
{$dom['name']}".html_form('vmail_domainchange', 'domainchange', '', $buttons)."{$notice}
{$subdom['name']}.{$dom['name']}{$buttons}Subdomains können nur von Admins geändert werden!

'); output('

Sicherheitshinweis: Während der Umstellung der Empfangsart ist Ihre Domain eventuell für einige Minuten in einem undefinierten Zustand. In dieser Zeit kann es passieren, dass E-Mails nicht korrekt zugestellt oder sogar ganz zurückgewiesen werden. Sie sollten diese Einstellungen daher nicht mehr ändern, wenn die Domain aktiv für den E-Mail-Verkehr benutzt wird.

');