mirror of
https://github.com/postfixadmin/postfixadmin.git
synced 2026-11-20 23:43:26 +03:00
Clarify alias destination status indicators (#1150)
Alias destinations absent from local records previously shared the misleading “maybe UNDELIVERABLE” indicator, including valid external addresses such as Gmail. The indicator now distinguishes “Check local destination” (red) from “External destination” (blue), with short explanatory tooltips. An alias with both kinds of destinations can show both indicators. thanks @TrapoSAMA
This commit is contained in:
1 parent
b0fe5db364
commit
ff0ae9ddbe
43 files changed
+295
-77
No files matched your search
@@ -9,6 +9,7 @@
|
||||
Changes in 'master' (not in a release yet) (20XX/XX/XX)
|
||||
--------------------------
|
||||
|
||||
- Distinguish unknown local alias destinations from external destinations without inspecting other administrators' domains (see discussion #886, thanks @TrapoSAMA)
|
||||
- Show available usage for unlimited quotas and retain neutral quota boxes.
|
||||
- Remove the obsolete quota_usage.pl example and Horde 3 SQL password guide.
|
||||
See ADDITIONS/README.md for quota integration and modernization notes.
|
||||
|
||||
+9
-5
@@ -614,11 +614,12 @@ $CONF['show_status_key']='YES';
|
||||
// 'show_status_text' will be displayed with the background colors
|
||||
// associated with each status, you can customize it here
|
||||
$CONF['show_status_text']=' ';
|
||||
// show_undeliverable is useful if most accounts are delivered to this
|
||||
// postfix system. If many aliases and mailboxes are forwarded
|
||||
// elsewhere, you will probably want to disable this.
|
||||
// Highlight undeliverable destinations in locally managed domains.
|
||||
// This checks PostfixAdmin records, not actual mail delivery.
|
||||
$CONF['show_undeliverable']='YES';
|
||||
$CONF['show_undeliverable_color']='tomato';
|
||||
// Destinations outside the administrator's managed domains (no existence check).
|
||||
$CONF['show_external_color']='lightblue';
|
||||
// mails to these domains will never be flagged as undeliverable
|
||||
$CONF['show_undeliverable_exceptions']=array("unixmail.domain.ext","exchangeserver.domain.ext");
|
||||
// show mailboxes with expired password; requires password_expiration to be enabled
|
||||
@@ -636,8 +637,11 @@ $CONF['show_popimap_color']='darkgrey';
|
||||
// you can assign special colors to some domains. To do this,
|
||||
// - add the domain to show_custom_domains
|
||||
// - add the corresponding color to show_custom_colors
|
||||
$CONF['show_custom_domains']=array("subdomain.domain.ext","domain2.ext");
|
||||
$CONF['show_custom_colors']=array("lightgreen","lightblue");
|
||||
// Example:
|
||||
// $CONF['show_custom_domains']=array("subdomain.domain.ext","domain2.ext");
|
||||
// $CONF['show_custom_colors']=array("lightgreen","lightblue");
|
||||
$CONF['show_custom_domains']=array();
|
||||
$CONF['show_custom_colors']=array();
|
||||
// If you use a recipient_delimiter in your postfix config, you can also honor it when aliases are checked.
|
||||
// Example: $CONF['recipient_delimiter'] = "+";
|
||||
// Set to "" to disable this check.
|
||||
|
||||
+41
-32
@@ -2381,9 +2381,10 @@ function check_db_version($error_out = true)
|
||||
* addresses list in show_custom_domains
|
||||
*
|
||||
* @param string $show_alias
|
||||
* @param array $allowed_domains Domains authorized for the caller. Domains not listed here are marked as external.
|
||||
* @return string
|
||||
*/
|
||||
function gen_show_status($show_alias)
|
||||
function gen_show_status($show_alias, array $allowed_domains)
|
||||
{
|
||||
global $CONF;
|
||||
$table_alias = table_by_key('alias');
|
||||
@@ -2403,47 +2404,55 @@ function gen_show_status($show_alias)
|
||||
$delimiter_regex = '/' . $delimiter . '[^' . $delimiter . '@]*@/';
|
||||
}
|
||||
|
||||
// UNDELIVERABLE CHECK
|
||||
// Only inspect destination records within the caller's authorized domains.
|
||||
if ($CONF['show_undeliverable'] == 'YES') {
|
||||
$gotos = explode(',', $stat_goto);
|
||||
|
||||
//make sure this alias goes somewhere known
|
||||
$stat_ok = 1;
|
||||
foreach ($gotos as $g) {
|
||||
if (!$stat_ok) {
|
||||
break;
|
||||
$destination_status = ['undeliverable' => false, 'external' => false];
|
||||
foreach (explode(',', $stat_goto) as $destination) {
|
||||
$destination = trim($destination);
|
||||
if (strpos($destination, '@') === false) {
|
||||
continue;
|
||||
}
|
||||
if (strpos($g, '@') === false) {
|
||||
[$local_part, $domain] = explode('@', $destination, 2);
|
||||
if ($domain == $CONF['vacation_domain'] || in_array($domain, $CONF['show_undeliverable_exceptions'])) {
|
||||
continue;
|
||||
}
|
||||
if (!in_array($domain, $allowed_domains, true)) {
|
||||
$destination_status['external'] = true;
|
||||
continue;
|
||||
}
|
||||
|
||||
list($_, $stat_domain) = explode('@', $g);
|
||||
|
||||
$alias_domain = db_query_one(
|
||||
'SELECT target_domain FROM ' . table_by_key('alias_domain') . ' WHERE alias_domain = ? AND active = ?',
|
||||
[$domain, true]
|
||||
);
|
||||
if ($alias_domain) {
|
||||
$domain = $alias_domain['target_domain'];
|
||||
if (!in_array($domain, $allowed_domains, true)) {
|
||||
$destination_status['external'] = true;
|
||||
continue;
|
||||
}
|
||||
$destination = $local_part . '@' . $domain;
|
||||
}
|
||||
|
||||
$sql = "SELECT address FROM $table_alias WHERE address = ? OR address = ?";
|
||||
$v = [$g, '@' . $stat_domain];
|
||||
|
||||
if (!empty($CONF['recipient_delimiter']) && isset($delimiter_regex)) {
|
||||
$v[] = preg_replace($delimiter_regex, "@", $g);
|
||||
$sql .= " OR address = ? ";
|
||||
$values = [$destination, '@' . $domain];
|
||||
if ($delimiter_regex !== null) {
|
||||
$sql .= ' OR address = ?';
|
||||
$values[] = preg_replace($delimiter_regex, '@', $destination);
|
||||
}
|
||||
|
||||
$stat_result = db_query_one($sql, $v);
|
||||
|
||||
if (empty($stat_result)) {
|
||||
$stat_ok = 0;
|
||||
if (!db_query_one($sql, $values)) {
|
||||
$destination_status['undeliverable'] = true;
|
||||
}
|
||||
|
||||
if ($stat_ok == 0) {
|
||||
if ($stat_domain == $CONF['vacation_domain'] || in_array($stat_domain, $CONF['show_undeliverable_exceptions'])) {
|
||||
$stat_ok = 1;
|
||||
}
|
||||
}
|
||||
foreach ($destination_status as $status => $present) {
|
||||
if ($present) {
|
||||
$tooltip = htmlspecialchars(Config::lang('pStatus_' . $status . '_tooltip'), ENT_QUOTES, 'UTF-8');
|
||||
$color = htmlspecialchars($CONF['show_' . $status . '_color'], ENT_QUOTES, 'UTF-8');
|
||||
$stat_string .= "<span role='img' aria-label='$tooltip' title='$tooltip' style='background-color:$color'>" .
|
||||
$CONF['show_status_text'] . '</span> ';
|
||||
} else {
|
||||
$stat_string .= $CONF['show_status_text'] . ' ';
|
||||
}
|
||||
} // while
|
||||
if ($stat_ok == 0) {
|
||||
$stat_string .= "<span style='background-color:" . $CONF['show_undeliverable_color'] . "'>" . $CONF['show_status_text'] . "</span> ";
|
||||
} else {
|
||||
$stat_string .= $CONF['show_status_text'] . " ";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+4
-1
@@ -415,7 +415,10 @@ $PALANG['pAdminMenu_broadcast_message'] = 'Съобщение до всички'
|
||||
$PALANG['pBroadcast_error_empty'] = 'Полетата Име, Заглавие и Съобщение са задължителни!';
|
||||
$PALANG['broadcast_mailboxes_only'] = 'Only send to mailboxes'; # XXX
|
||||
$PALANG['broadcast_to_domains'] = 'Send to domains:'; # XXX
|
||||
$PALANG['pStatus_undeliverable'] = 'maybe UNDELIVERABLE '; # XXX
|
||||
$PALANG['pStatus_undeliverable'] = 'maybe UNDELIVERABLE '; # XXX English text changed: Undeliverable local destination. Please retranslate.
|
||||
$PALANG['pStatus_undeliverable_tooltip'] = 'Not listed as a local destination.'; # XXX
|
||||
$PALANG['pStatus_external'] = 'External destination'; # XXX
|
||||
$PALANG['pStatus_external_tooltip'] = 'Outside your managed domains.'; # XXX
|
||||
$PALANG['pStatus_disabled'] = 'Account disabled '; # XXX
|
||||
$PALANG['pStatus_expired'] = 'Password expired '; # XXX
|
||||
$PALANG['pStatus_vacation'] = 'Vacation enabled '; # XXX
|
||||
|
||||
+4
-1
@@ -414,7 +414,10 @@ $PALANG['pAdminMenu_broadcast_message'] = 'Broadcast message'; # XXX
|
||||
$PALANG['pBroadcast_error_empty'] = 'The fields Name, Subject and Message shouldn\'t be empty!'; # XXX
|
||||
$PALANG['broadcast_mailboxes_only'] = 'Only send to mailboxes'; # XXX
|
||||
$PALANG['broadcast_to_domains'] = 'Send to domains:'; # XXX
|
||||
$PALANG['pStatus_undeliverable'] = 'maybe UNDELIVERABLE '; # XXX
|
||||
$PALANG['pStatus_undeliverable'] = 'maybe UNDELIVERABLE '; # XXX English text changed: Undeliverable local destination. Please retranslate.
|
||||
$PALANG['pStatus_undeliverable_tooltip'] = 'Not listed as a local destination.'; # XXX
|
||||
$PALANG['pStatus_external'] = 'External destination'; # XXX
|
||||
$PALANG['pStatus_external_tooltip'] = 'Outside your managed domains.'; # XXX
|
||||
$PALANG['pStatus_disabled'] = 'Account disabled '; # XXX
|
||||
$PALANG['pStatus_expired'] = 'Password expired '; # XXX
|
||||
$PALANG['pStatus_vacation'] = 'Vacation enabled '; # XXX
|
||||
|
||||
+4
-1
@@ -414,7 +414,10 @@ $PALANG['pAdminMenu_broadcast_message'] = 'Broadcast message'; # XXX
|
||||
$PALANG['pBroadcast_error_empty'] = 'The fields Name, Subject and Message shouldn\'t be empty!'; # XXX
|
||||
$PALANG['broadcast_mailboxes_only'] = 'Only send to mailboxes'; # XXX
|
||||
$PALANG['broadcast_to_domains'] = 'Send to domains:'; # XXX
|
||||
$PALANG['pStatus_undeliverable'] = 'maybe UNDELIVERABLE '; # XXX
|
||||
$PALANG['pStatus_undeliverable'] = 'maybe UNDELIVERABLE '; # XXX English text changed: Undeliverable local destination. Please retranslate.
|
||||
$PALANG['pStatus_undeliverable_tooltip'] = 'Not listed as a local destination.'; # XXX
|
||||
$PALANG['pStatus_external'] = 'External destination'; # XXX
|
||||
$PALANG['pStatus_external_tooltip'] = 'Outside your managed domains.'; # XXX
|
||||
$PALANG['pStatus_disabled'] = 'Account disabled '; # XXX
|
||||
$PALANG['pStatus_expired'] = 'Password expired '; # XXX
|
||||
$PALANG['pStatus_vacation'] = 'Vacation enabled '; # XXX
|
||||
|
||||
+4
-1
@@ -428,7 +428,10 @@ $PALANG['pAdminMenu_broadcast_message'] = 'Poslat email všem';
|
||||
$PALANG['pBroadcast_error_empty'] = 'Pole Od, Předmět a Zpráva by neměly být prázdné!';
|
||||
$PALANG['broadcast_mailboxes_only'] = 'Pouze poslat do schránek';
|
||||
$PALANG['broadcast_to_domains'] = 'Poslat na domény:';
|
||||
$PALANG['pStatus_undeliverable'] = 'možná NEDORUČITELNÉ ';
|
||||
$PALANG['pStatus_undeliverable'] = 'možná NEDORUČITELNÉ '; # XXX English text changed: Undeliverable local destination. Please retranslate.
|
||||
$PALANG['pStatus_undeliverable_tooltip'] = 'Not listed as a local destination.'; # XXX
|
||||
$PALANG['pStatus_external'] = 'External destination'; # XXX
|
||||
$PALANG['pStatus_external_tooltip'] = 'Outside your managed domains.'; # XXX
|
||||
$PALANG['pStatus_disabled'] = 'Účet pozastaven ';
|
||||
$PALANG['pStatus_expired'] = 'Heslo expirováno ';
|
||||
$PALANG['pStatus_vacation'] = 'Aktivní mód dovolené ';
|
||||
|
||||
+4
-1
@@ -426,7 +426,10 @@ $PALANG['pBroadcast_error_empty'] = 'Felterne "Dit navn", "Emne" og "Medde
|
||||
$PALANG['broadcast_mailboxes_only'] = 'Only send to mailboxes'; # XXX
|
||||
$PALANG['broadcast_to_domains'] = 'Send to domains:'; # XXX
|
||||
|
||||
$PALANG['pStatus_undeliverable'] = 'kan måske ikke leveres ';
|
||||
$PALANG['pStatus_undeliverable'] = 'kan måske ikke leveres '; # XXX English text changed: Undeliverable local destination. Please retranslate.
|
||||
$PALANG['pStatus_undeliverable_tooltip'] = 'Not listed as a local destination.'; # XXX
|
||||
$PALANG['pStatus_external'] = 'External destination'; # XXX
|
||||
$PALANG['pStatus_external_tooltip'] = 'Outside your managed domains.'; # XXX
|
||||
$PALANG['pStatus_disabled'] = 'Account disabled '; # XXX
|
||||
$PALANG['pStatus_expired'] = 'Password expired '; # XXX
|
||||
$PALANG['pStatus_vacation'] = 'Vacation enabled '; # XXX
|
||||
|
||||
+4
-1
@@ -424,7 +424,10 @@ $PALANG['pBroadcast_error_empty'] = 'Die Felder Name, Betreff und Nachricht dür
|
||||
$PALANG['broadcast_mailboxes_only'] = "Nur an Postfächer senden";
|
||||
$PALANG['broadcast_to_domains'] = "Senden an Domains:";
|
||||
|
||||
$PALANG['pStatus_undeliverable'] = 'möglicherweise UNZUSTELLBAR ';
|
||||
$PALANG['pStatus_undeliverable'] = 'möglicherweise UNZUSTELLBAR '; # XXX English text changed: Undeliverable local destination. Please retranslate.
|
||||
$PALANG['pStatus_undeliverable_tooltip'] = 'Not listed as a local destination.'; # XXX
|
||||
$PALANG['pStatus_external'] = 'External destination'; # XXX
|
||||
$PALANG['pStatus_external_tooltip'] = 'Outside your managed domains.'; # XXX
|
||||
$PALANG['pStatus_disabled'] = 'Konto deaktiviert ';
|
||||
$PALANG['pStatus_expired'] = 'Passwort abgelaufen ';
|
||||
$PALANG['pStatus_vacation'] = 'Automatische Antwort aktiviert ';
|
||||
|
||||
+4
-1
@@ -490,7 +490,10 @@ $PALANG['pBroadcast_error_empty'] = 'The fields Name, Subject and Message should
|
||||
$PALANG['broadcast_mailboxes_only'] = 'Only send to mailboxes';
|
||||
$PALANG['broadcast_to_domains'] = 'Send to domains:';
|
||||
|
||||
$PALANG['pStatus_undeliverable'] = 'maybe UNDELIVERABLE ';
|
||||
$PALANG['pStatus_undeliverable'] = 'Undeliverable local destination';
|
||||
$PALANG['pStatus_undeliverable_tooltip'] = 'Not listed as a local destination.';
|
||||
$PALANG['pStatus_external'] = 'External destination';
|
||||
$PALANG['pStatus_external_tooltip'] = 'Outside your managed domains.';
|
||||
$PALANG['pStatus_disabled'] = 'Account disabled ';
|
||||
$PALANG['pStatus_expired'] = 'Password expired ';
|
||||
$PALANG['pStatus_vacation'] = 'Vacation enabled ';
|
||||
|
||||
+4
-1
@@ -415,7 +415,10 @@ $PALANG['pAdminMenu_broadcast_message'] = 'Mensajería GLOBAL';
|
||||
$PALANG['pBroadcast_error_empty'] = '¡Los campos Nombre, Asunto y Mensaje no pueden estar vacíos!';
|
||||
$PALANG['broadcast_mailboxes_only'] = 'Envíar solo a los buzones';
|
||||
$PALANG['broadcast_to_domains'] = 'Envíar a los dominios:';
|
||||
$PALANG['pStatus_undeliverable'] = 'posiblemente NO SE ENTREGÓ';
|
||||
$PALANG['pStatus_undeliverable'] = 'Destino local no entregable';
|
||||
$PALANG['pStatus_undeliverable_tooltip'] = 'No figura como destino local.';
|
||||
$PALANG['pStatus_external'] = 'Destino externo';
|
||||
$PALANG['pStatus_external_tooltip'] = 'Fuera de tus dominios administrados.';
|
||||
$PALANG['pStatus_disabled'] = 'Cuenta desactivada ';
|
||||
$PALANG['pStatus_expired'] = 'Contraseña vencida ';
|
||||
$PALANG['pStatus_vacation'] = 'Mensaje de vacaciones activado ';
|
||||
|
||||
+4
-1
@@ -418,7 +418,10 @@ $PALANG['pAdminMenu_broadcast_message'] = 'Broadcast message'; # XXX
|
||||
$PALANG['pBroadcast_error_empty'] = 'The fields Name, Subject and Message shouldn\'t be empty!'; # XXX
|
||||
$PALANG['broadcast_mailboxes_only'] = 'Only send to mailboxes'; # XXX
|
||||
$PALANG['broadcast_to_domains'] = 'Send to domains:'; # XXX
|
||||
$PALANG['pStatus_undeliverable'] = 'maybe UNDELIVERABLE '; # XXX
|
||||
$PALANG['pStatus_undeliverable'] = 'maybe UNDELIVERABLE '; # XXX English text changed: Undeliverable local destination. Please retranslate.
|
||||
$PALANG['pStatus_undeliverable_tooltip'] = 'Not listed as a local destination.'; # XXX
|
||||
$PALANG['pStatus_external'] = 'External destination'; # XXX
|
||||
$PALANG['pStatus_external_tooltip'] = 'Outside your managed domains.'; # XXX
|
||||
$PALANG['pStatus_disabled'] = 'Account disabled '; # XXX
|
||||
$PALANG['pStatus_expired'] = 'Password expired '; # XXX
|
||||
$PALANG['pStatus_vacation'] = 'Vacation enabled '; # XXX
|
||||
|
||||
+4
-1
@@ -413,7 +413,10 @@ $PALANG['pAdminMenu_broadcast_message'] = 'Broadcast message'; # XXX
|
||||
$PALANG['pBroadcast_error_empty'] = 'The fields Name, Subject and Message shouldn\'t be empty!'; # XXX
|
||||
$PALANG['broadcast_mailboxes_only'] = 'Only send to mailboxes'; # XXX
|
||||
$PALANG['broadcast_to_domains'] = 'Send to domains:'; # XXX
|
||||
$PALANG['pStatus_undeliverable'] = 'maybe UNDELIVERABLE '; # XXX
|
||||
$PALANG['pStatus_undeliverable'] = 'maybe UNDELIVERABLE '; # XXX English text changed: Undeliverable local destination. Please retranslate.
|
||||
$PALANG['pStatus_undeliverable_tooltip'] = 'Not listed as a local destination.'; # XXX
|
||||
$PALANG['pStatus_external'] = 'External destination'; # XXX
|
||||
$PALANG['pStatus_external_tooltip'] = 'Outside your managed domains.'; # XXX
|
||||
$PALANG['pStatus_disabled'] = 'Account disabled '; # XXX
|
||||
$PALANG['pStatus_expired'] = 'Password expired '; # XXX
|
||||
$PALANG['pStatus_vacation'] = 'Vacation enabled '; # XXX
|
||||
|
||||
+4
-1
@@ -414,7 +414,10 @@ $PALANG['pAdminMenu_broadcast_message'] = 'Tiedotusviesti';
|
||||
$PALANG['pBroadcast_error_empty'] = 'Nimi, Aihe tai Viesti kenttien ei pidä olla tyhjiä!';
|
||||
$PALANG['broadcast_mailboxes_only'] = 'Only send to mailboxes'; # XXX
|
||||
$PALANG['broadcast_to_domains'] = 'Send to domains:'; # XXX
|
||||
$PALANG['pStatus_undeliverable'] = 'ehkä ei voida toimittaa ';
|
||||
$PALANG['pStatus_undeliverable'] = 'ehkä ei voida toimittaa '; # XXX English text changed: Undeliverable local destination. Please retranslate.
|
||||
$PALANG['pStatus_undeliverable_tooltip'] = 'Not listed as a local destination.'; # XXX
|
||||
$PALANG['pStatus_external'] = 'External destination'; # XXX
|
||||
$PALANG['pStatus_external_tooltip'] = 'Outside your managed domains.'; # XXX
|
||||
$PALANG['pStatus_disabled'] = 'Account disabled '; # XXX
|
||||
$PALANG['pStatus_expired'] = 'Password expired '; # XXX
|
||||
$PALANG['pStatus_vacation'] = 'Vacation enabled '; # XXX
|
||||
|
||||
+4
-1
@@ -419,7 +419,10 @@ $PALANG['pAdminMenu_broadcast_message'] = 'Broadcast message'; # XXX
|
||||
$PALANG['pBroadcast_error_empty'] = 'The fields Name, Subject and Message shouldn\'t be empty!'; # XXX
|
||||
$PALANG['broadcast_mailboxes_only'] = 'Only send to mailboxes'; # XXX
|
||||
$PALANG['broadcast_to_domains'] = 'Send to domains:'; # XXX
|
||||
$PALANG['pStatus_undeliverable'] = 'maybe UNDELIVERABLE '; # XXX
|
||||
$PALANG['pStatus_undeliverable'] = 'maybe UNDELIVERABLE '; # XXX English text changed: Undeliverable local destination. Please retranslate.
|
||||
$PALANG['pStatus_undeliverable_tooltip'] = 'Not listed as a local destination.'; # XXX
|
||||
$PALANG['pStatus_external'] = 'External destination'; # XXX
|
||||
$PALANG['pStatus_external_tooltip'] = 'Outside your managed domains.'; # XXX
|
||||
$PALANG['pStatus_disabled'] = 'Account disabled '; # XXX
|
||||
$PALANG['pStatus_expired'] = 'Password expired '; # XXX
|
||||
$PALANG['pStatus_vacation'] = 'Vacation enabled '; # XXX
|
||||
|
||||
+4
-1
@@ -419,7 +419,10 @@ $PALANG['pAdminMenu_broadcast_message'] = 'Message général';
|
||||
$PALANG['pBroadcast_error_empty'] = 'Les champs "Nom", "Sujet" et "Message" ne peuvent pas être vides !';
|
||||
$PALANG['broadcast_mailboxes_only'] = 'Envoyer seulement aux comptes courriel';
|
||||
$PALANG['broadcast_to_domains'] = 'Envoyer aux domaines:';
|
||||
$PALANG['pStatus_undeliverable'] = 'Non délivrable ';
|
||||
$PALANG['pStatus_undeliverable'] = 'Non délivrable '; # XXX English text changed: Undeliverable local destination. Please retranslate.
|
||||
$PALANG['pStatus_undeliverable_tooltip'] = 'Not listed as a local destination.'; # XXX
|
||||
$PALANG['pStatus_external'] = 'External destination'; # XXX
|
||||
$PALANG['pStatus_external_tooltip'] = 'Outside your managed domains.'; # XXX
|
||||
$PALANG['pStatus_disabled'] = 'Compte désactivé ';
|
||||
$PALANG['pStatus_expired'] = 'Mot de passe expiré ';
|
||||
$PALANG['pStatus_vacation'] = 'Répondeur activé ';
|
||||
|
||||
+4
-1
@@ -414,7 +414,10 @@ $PALANG['pAdminMenu_broadcast_message'] = 'Mensaxe de Broadcast'; # XXX
|
||||
$PALANG['pBroadcast_error_empty'] = 'Os campos Nome, Asunto e Mensaxe non poden estar baleiros!';
|
||||
$PALANG['broadcast_mailboxes_only'] = 'Só enviar a buzóns'; # XXX
|
||||
$PALANG['broadcast_to_domains'] = 'Enviar a dominios:'; # XXX
|
||||
$PALANG['pStatus_undeliverable'] = 'posiblemente NON SE ENTREGOU';
|
||||
$PALANG['pStatus_undeliverable'] = 'posiblemente NON SE ENTREGOU'; # XXX English text changed: Undeliverable local destination. Please retranslate.
|
||||
$PALANG['pStatus_undeliverable_tooltip'] = 'Not listed as a local destination.'; # XXX
|
||||
$PALANG['pStatus_external'] = 'External destination'; # XXX
|
||||
$PALANG['pStatus_external_tooltip'] = 'Outside your managed domains.'; # XXX
|
||||
$PALANG['pStatus_disabled'] = 'Conta desabilitada '; # XXX
|
||||
$PALANG['pStatus_expired'] = 'Contrasinal vencido '; # XXX
|
||||
$PALANG['pStatus_vacation'] = 'Ausencia activada '; # XXX
|
||||
|
||||
+4
-1
@@ -412,7 +412,10 @@ $PALANG['pAdminMenu_broadcast_message'] = 'Broadcast message'; # XXX
|
||||
$PALANG['pBroadcast_error_empty'] = 'The fields Name, Subject and Message shouldn\'t be empty!'; # XXX
|
||||
$PALANG['broadcast_mailboxes_only'] = 'Only send to mailboxes'; # XXX
|
||||
$PALANG['broadcast_to_domains'] = 'Send to domains:'; # XXX
|
||||
$PALANG['pStatus_undeliverable'] = 'maybe UNDELIVERABLE '; # XXX
|
||||
$PALANG['pStatus_undeliverable'] = 'maybe UNDELIVERABLE '; # XXX English text changed: Undeliverable local destination. Please retranslate.
|
||||
$PALANG['pStatus_undeliverable_tooltip'] = 'Not listed as a local destination.'; # XXX
|
||||
$PALANG['pStatus_external'] = 'External destination'; # XXX
|
||||
$PALANG['pStatus_external_tooltip'] = 'Outside your managed domains.'; # XXX
|
||||
$PALANG['pStatus_disabled'] = 'Account disabled '; # XXX
|
||||
$PALANG['pStatus_expired'] = 'Password expired '; # XXX
|
||||
$PALANG['pStatus_vacation'] = 'Vacation enabled '; # XXX
|
||||
|
||||
+4
-1
@@ -425,7 +425,10 @@ $PALANG['pBroadcast_error_empty'] = 'A név, téma és üzenet mezők nem lehetn
|
||||
$PALANG['broadcast_mailboxes_only'] = 'Only send to mailboxes'; # XXX
|
||||
$PALANG['broadcast_to_domains'] = 'Send to domains:'; # XXX
|
||||
|
||||
$PALANG['pStatus_undeliverable'] = 'lehet hogy nem kézbesíthető ';
|
||||
$PALANG['pStatus_undeliverable'] = 'lehet hogy nem kézbesíthető '; # XXX English text changed: Undeliverable local destination. Please retranslate.
|
||||
$PALANG['pStatus_undeliverable_tooltip'] = 'Not listed as a local destination.'; # XXX
|
||||
$PALANG['pStatus_external'] = 'External destination'; # XXX
|
||||
$PALANG['pStatus_external_tooltip'] = 'Outside your managed domains.'; # XXX
|
||||
$PALANG['pStatus_disabled'] = 'Account disabled '; # XXX
|
||||
$PALANG['pStatus_expired'] = 'Password expired '; # XXX
|
||||
$PALANG['pStatus_vacation'] = 'Vacation enabled '; # XXX
|
||||
|
||||
+4
-1
@@ -414,7 +414,10 @@ $PALANG['pAdminMenu_broadcast_message'] = 'Broadcast message'; # XXX
|
||||
$PALANG['pBroadcast_error_empty'] = 'The fields Name, Subject and Message shouldn\'t be empty!'; # XXX
|
||||
$PALANG['broadcast_mailboxes_only'] = 'Only send to mailboxes'; # XXX
|
||||
$PALANG['broadcast_to_domains'] = 'Send to domains:'; # XXX
|
||||
$PALANG['pStatus_undeliverable'] = 'maybe UNDELIVERABLE '; # XXX
|
||||
$PALANG['pStatus_undeliverable'] = 'maybe UNDELIVERABLE '; # XXX English text changed: Undeliverable local destination. Please retranslate.
|
||||
$PALANG['pStatus_undeliverable_tooltip'] = 'Not listed as a local destination.'; # XXX
|
||||
$PALANG['pStatus_external'] = 'External destination'; # XXX
|
||||
$PALANG['pStatus_external_tooltip'] = 'Outside your managed domains.'; # XXX
|
||||
$PALANG['pStatus_disabled'] = 'Account disabled '; # XXX
|
||||
$PALANG['pStatus_expired'] = 'Password expired '; # XXX
|
||||
$PALANG['pStatus_vacation'] = 'Vacation enabled '; # XXX
|
||||
|
||||
+4
-1
@@ -415,7 +415,10 @@ $PALANG['pAdminMenu_broadcast_message'] = 'Invio di gruppo';
|
||||
$PALANG['pBroadcast_error_empty'] = 'Nome, oggetto e testo del messaggio non possono restare vuoti!';
|
||||
$PALANG['broadcast_mailboxes_only'] = 'Only send to mailboxes'; # XXX
|
||||
$PALANG['broadcast_to_domains'] = 'Send to domains:'; # XXX
|
||||
$PALANG['pStatus_undeliverable'] = 'presumibilmente NON CONSEGNABILE ';
|
||||
$PALANG['pStatus_undeliverable'] = 'presumibilmente NON CONSEGNABILE '; # XXX English text changed: Undeliverable local destination. Please retranslate.
|
||||
$PALANG['pStatus_undeliverable_tooltip'] = 'Not listed as a local destination.'; # XXX
|
||||
$PALANG['pStatus_external'] = 'External destination'; # XXX
|
||||
$PALANG['pStatus_external_tooltip'] = 'Outside your managed domains.'; # XXX
|
||||
$PALANG['pStatus_disabled'] = 'Account disabled '; # XXX
|
||||
$PALANG['pStatus_expired'] = 'Password expired '; # XXX
|
||||
$PALANG['pStatus_vacation'] = 'Vacation enabled '; # XXX
|
||||
|
||||
+4
-1
@@ -423,7 +423,10 @@ $PALANG['pBroadcast_error_empty'] = '名前、件名、メッセージは入力
|
||||
$PALANG['broadcast_mailboxes_only'] = 'メールアドレスだけに送信';
|
||||
$PALANG['broadcast_to_domains'] = '送信先のドメイン:';
|
||||
|
||||
$PALANG['pStatus_undeliverable'] = 'おそらく配送不可能 ';
|
||||
$PALANG['pStatus_undeliverable'] = 'おそらく配送不可能 '; # XXX English text changed: Undeliverable local destination. Please retranslate.
|
||||
$PALANG['pStatus_undeliverable_tooltip'] = 'Not listed as a local destination.'; # XXX
|
||||
$PALANG['pStatus_external'] = 'External destination'; # XXX
|
||||
$PALANG['pStatus_external_tooltip'] = 'Outside your managed domains.'; # XXX
|
||||
$PALANG['pStatus_disabled'] = 'Account disabled '; # XXX
|
||||
$PALANG['pStatus_expired'] = 'Password expired '; # XXX
|
||||
$PALANG['pStatus_vacation'] = 'Vacation enabled '; # XXX
|
||||
|
||||
+4
-1
@@ -487,7 +487,10 @@ $PALANG['pBroadcast_error_empty'] = '이름, 제목, 메시지 항목은 비워
|
||||
$PALANG['broadcast_mailboxes_only'] = '메일박스 계정에만 발송';
|
||||
$PALANG['broadcast_to_domains'] = '발송 대상 도메인:';
|
||||
|
||||
$PALANG['pStatus_undeliverable'] = '전달 불가 가능성 높음 ';
|
||||
$PALANG['pStatus_undeliverable'] = '전달 불가 가능성 높음 '; # XXX English text changed: Undeliverable local destination. Please retranslate.
|
||||
$PALANG['pStatus_undeliverable_tooltip'] = 'Not listed as a local destination.'; # XXX
|
||||
$PALANG['pStatus_external'] = 'External destination'; # XXX
|
||||
$PALANG['pStatus_external_tooltip'] = 'Outside your managed domains.'; # XXX
|
||||
$PALANG['pStatus_disabled'] = '계정 비활성화됨 ';
|
||||
$PALANG['pStatus_expired'] = '비밀번호 만료됨 ';
|
||||
$PALANG['pStatus_vacation'] = '부재중 응답 켜짐 ';
|
||||
|
||||
+4
-1
@@ -420,7 +420,10 @@ $PALANG['pAdminMenu_broadcast_message'] = 'Broadcast message'; # XXX
|
||||
$PALANG['pBroadcast_error_empty'] = 'The fields Name, Subject and Message shouldn\'t be empty!'; # XXX
|
||||
$PALANG['broadcast_mailboxes_only'] = 'Only send to mailboxes'; # XXX
|
||||
$PALANG['broadcast_to_domains'] = 'Send to domains:'; # XXX
|
||||
$PALANG['pStatus_undeliverable'] = 'maybe UNDELIVERABLE '; # XXX
|
||||
$PALANG['pStatus_undeliverable'] = 'maybe UNDELIVERABLE '; # XXX English text changed: Undeliverable local destination. Please retranslate.
|
||||
$PALANG['pStatus_undeliverable_tooltip'] = 'Not listed as a local destination.'; # XXX
|
||||
$PALANG['pStatus_external'] = 'External destination'; # XXX
|
||||
$PALANG['pStatus_external_tooltip'] = 'Outside your managed domains.'; # XXX
|
||||
$PALANG['pStatus_disabled'] = 'Account disabled '; # XXX
|
||||
$PALANG['pStatus_expired'] = 'Password expired '; # XXX
|
||||
$PALANG['pStatus_vacation'] = 'Vacation enabled '; # XXX
|
||||
|
||||
+4
-1
@@ -415,7 +415,10 @@ $PALANG['pAdminMenu_broadcast_message'] = 'Broadcast message'; # XXX
|
||||
$PALANG['pBroadcast_error_empty'] = 'The fields Name, Subject and Message shouldn\'t be empty!'; # XXX
|
||||
$PALANG['broadcast_mailboxes_only'] = 'Only send to mailboxes'; # XXX
|
||||
$PALANG['broadcast_to_domains'] = 'Send to domains:'; # XXX
|
||||
$PALANG['pStatus_undeliverable'] = 'maybe UNDELIVERABLE '; # XXX
|
||||
$PALANG['pStatus_undeliverable'] = 'maybe UNDELIVERABLE '; # XXX English text changed: Undeliverable local destination. Please retranslate.
|
||||
$PALANG['pStatus_undeliverable_tooltip'] = 'Not listed as a local destination.'; # XXX
|
||||
$PALANG['pStatus_external'] = 'External destination'; # XXX
|
||||
$PALANG['pStatus_external_tooltip'] = 'Outside your managed domains.'; # XXX
|
||||
$PALANG['pStatus_disabled'] = 'Account disabled '; # XXX
|
||||
$PALANG['pStatus_expired'] = 'Password expired '; # XXX
|
||||
$PALANG['pStatus_vacation'] = 'Vacation enabled '; # XXX
|
||||
|
||||
+4
-1
@@ -414,7 +414,10 @@ $PALANG['pAdminMenu_broadcast_message'] = 'Send masseutsendelse';
|
||||
$PALANG['pBroadcast_error_empty'] = 'Feltene Ditt navn, Emne og Melding kan ikke være tomme!';
|
||||
$PALANG['broadcast_mailboxes_only'] = 'Only send to mailboxes'; # XXX
|
||||
$PALANG['broadcast_to_domains'] = 'Send to domains:'; # XXX
|
||||
$PALANG['pStatus_undeliverable'] = 'kan kanskje IKKE LEVERES ';
|
||||
$PALANG['pStatus_undeliverable'] = 'kan kanskje IKKE LEVERES '; # XXX English text changed: Undeliverable local destination. Please retranslate.
|
||||
$PALANG['pStatus_undeliverable_tooltip'] = 'Not listed as a local destination.'; # XXX
|
||||
$PALANG['pStatus_external'] = 'External destination'; # XXX
|
||||
$PALANG['pStatus_external_tooltip'] = 'Outside your managed domains.'; # XXX
|
||||
$PALANG['pStatus_disabled'] = 'Account disabled '; # XXX
|
||||
$PALANG['pStatus_expired'] = 'Password expired '; # XXX
|
||||
$PALANG['pStatus_vacation'] = 'Vacation enabled '; # XXX
|
||||
|
||||
+4
-1
@@ -416,7 +416,10 @@ $PALANG['pAdminMenu_broadcast_message'] = 'Algemeen bericht';
|
||||
$PALANG['pBroadcast_error_empty'] = 'De velden Naam, Onderwerp en Bericht mogen niet leeg zijn !';
|
||||
$PALANG['broadcast_mailboxes_only'] = 'Verstuur alleen aan mailboxen';
|
||||
$PALANG['broadcast_to_domains'] = 'Verstuur aan de domeinen:';
|
||||
$PALANG['pStatus_undeliverable'] = 'Misschien niet af te leveren ';
|
||||
$PALANG['pStatus_undeliverable'] = 'Misschien niet af te leveren '; # XXX English text changed: Undeliverable local destination. Please retranslate.
|
||||
$PALANG['pStatus_undeliverable_tooltip'] = 'Not listed as a local destination.'; # XXX
|
||||
$PALANG['pStatus_external'] = 'External destination'; # XXX
|
||||
$PALANG['pStatus_external_tooltip'] = 'Outside your managed domains.'; # XXX
|
||||
$PALANG['pStatus_disabled'] = 'Account uitgeschakeld ';
|
||||
$PALANG['pStatus_expired'] = 'Wachwoord is verlopen ';
|
||||
$PALANG['pStatus_vacation'] = 'Vakatie toegestaan ';
|
||||
|
||||
+4
-1
@@ -413,7 +413,10 @@ $PALANG['pAdminMenu_broadcast_message'] = 'Broadcast message'; # XXX
|
||||
$PALANG['pBroadcast_error_empty'] = 'The fields Name, Subject and Message shouldn\'t be empty!'; # XXX
|
||||
$PALANG['broadcast_mailboxes_only'] = 'Only send to mailboxes'; # XXX
|
||||
$PALANG['broadcast_to_domains'] = 'Send to domains:'; # XXX
|
||||
$PALANG['pStatus_undeliverable'] = 'maybe UNDELIVERABLE '; # XXX
|
||||
$PALANG['pStatus_undeliverable'] = 'maybe UNDELIVERABLE '; # XXX English text changed: Undeliverable local destination. Please retranslate.
|
||||
$PALANG['pStatus_undeliverable_tooltip'] = 'Not listed as a local destination.'; # XXX
|
||||
$PALANG['pStatus_external'] = 'External destination'; # XXX
|
||||
$PALANG['pStatus_external_tooltip'] = 'Outside your managed domains.'; # XXX
|
||||
$PALANG['pStatus_disabled'] = 'Account disabled '; # XXX
|
||||
$PALANG['pStatus_expired'] = 'Password expired '; # XXX
|
||||
$PALANG['pStatus_vacation'] = 'Vacation enabled '; # XXX
|
||||
|
||||
+4
-1
@@ -420,7 +420,10 @@ $PALANG['pAdminMenu_broadcast_message'] = 'Wiadomość do wszystkich';
|
||||
$PALANG['pBroadcast_error_empty'] = 'Pola Nazwa, Temat i Wiadomość nie powinny być puste !';
|
||||
$PALANG['broadcast_mailboxes_only'] = 'Only send to mailboxes'; # XXX
|
||||
$PALANG['broadcast_to_domains'] = 'Send to domains:'; # XXX
|
||||
$PALANG['pStatus_undeliverable'] = 'może być NIEDOSTARCZALNA ';
|
||||
$PALANG['pStatus_undeliverable'] = 'może być NIEDOSTARCZALNA '; # XXX English text changed: Undeliverable local destination. Please retranslate.
|
||||
$PALANG['pStatus_undeliverable_tooltip'] = 'Not listed as a local destination.'; # XXX
|
||||
$PALANG['pStatus_external'] = 'External destination'; # XXX
|
||||
$PALANG['pStatus_external_tooltip'] = 'Outside your managed domains.'; # XXX
|
||||
$PALANG['pStatus_disabled'] = 'Account disabled '; # XXX
|
||||
$PALANG['pStatus_expired'] = 'Password expired '; # XXX
|
||||
$PALANG['pStatus_vacation'] = 'Vacation enabled '; # XXX
|
||||
|
||||
@@ -425,7 +425,10 @@ $PALANG['pBroadcast_error_empty'] = 'Os campos Nome, Assunto e Mensagem devem se
|
||||
$PALANG['broadcast_mailboxes_only'] = 'Only send to mailboxes'; # XXX
|
||||
$PALANG['broadcast_to_domains'] = 'Send to domains:'; # XXX
|
||||
|
||||
$PALANG['pStatus_undeliverable'] = 'talvez NÃO-ENTREGÁVEL ';
|
||||
$PALANG['pStatus_undeliverable'] = 'talvez NÃO-ENTREGÁVEL '; # XXX English text changed: Undeliverable local destination. Please retranslate.
|
||||
$PALANG['pStatus_undeliverable_tooltip'] = 'Not listed as a local destination.'; # XXX
|
||||
$PALANG['pStatus_external'] = 'External destination'; # XXX
|
||||
$PALANG['pStatus_external_tooltip'] = 'Outside your managed domains.'; # XXX
|
||||
$PALANG['pStatus_disabled'] = 'Account disabled '; # XXX
|
||||
$PALANG['pStatus_expired'] = 'Password expired '; # XXX
|
||||
$PALANG['pStatus_vacation'] = 'Vacation enabled '; # XXX
|
||||
|
||||
@@ -425,7 +425,10 @@ $PALANG['pBroadcast_error_empty'] = 'Os campos Nome, Assunto e Mensagem devem se
|
||||
$PALANG['broadcast_mailboxes_only'] = 'Apenas envia para mailboxes'; # XXX
|
||||
$PALANG['broadcast_to_domains'] = 'Enviar para os domínios:'; # XXX
|
||||
|
||||
$PALANG['pStatus_undeliverable'] = 'talvez NÃO-ENTREGÁVEL ';
|
||||
$PALANG['pStatus_undeliverable'] = 'talvez NÃO-ENTREGÁVEL '; # XXX English text changed: Undeliverable local destination. Please retranslate.
|
||||
$PALANG['pStatus_undeliverable_tooltip'] = 'Not listed as a local destination.'; # XXX
|
||||
$PALANG['pStatus_external'] = 'External destination'; # XXX
|
||||
$PALANG['pStatus_external_tooltip'] = 'Outside your managed domains.'; # XXX
|
||||
$PALANG['pStatus_disabled'] = 'Conta desctivada '; # XXX
|
||||
$PALANG['pStatus_expired'] = 'Password expirada '; # XXX
|
||||
$PALANG['pStatus_vacation'] = 'Férias activadas '; # XXX
|
||||
|
||||
+4
-1
@@ -423,7 +423,10 @@ $PALANG['pBroadcast_error_empty'] = 'Campurile Nume, Subiect si Mesaj nu pot fi
|
||||
$PALANG['broadcast_mailboxes_only'] = 'Only send to mailboxes'; # XXX
|
||||
$PALANG['broadcast_to_domains'] = 'Send to domains:'; # XXX
|
||||
|
||||
$PALANG['pStatus_undeliverable'] = 'probabil UNDELIVERABLE ';
|
||||
$PALANG['pStatus_undeliverable'] = 'probabil UNDELIVERABLE '; # XXX English text changed: Undeliverable local destination. Please retranslate.
|
||||
$PALANG['pStatus_undeliverable_tooltip'] = 'Not listed as a local destination.'; # XXX
|
||||
$PALANG['pStatus_external'] = 'External destination'; # XXX
|
||||
$PALANG['pStatus_external_tooltip'] = 'Outside your managed domains.'; # XXX
|
||||
$PALANG['pStatus_disabled'] = 'Account disabled '; # XXX
|
||||
$PALANG['pStatus_expired'] = 'Password expired '; # XXX
|
||||
$PALANG['pStatus_vacation'] = 'Vacation enabled '; # XXX
|
||||
|
||||
+4
-1
@@ -426,7 +426,10 @@ $PALANG['pBroadcast_error_empty'] = 'Поля Имя, Тема и Сообщен
|
||||
$PALANG['broadcast_mailboxes_only'] = 'Отправить только на почтовые ящики';
|
||||
$PALANG['broadcast_to_domains'] = 'Отправить на домены:';
|
||||
|
||||
$PALANG['pStatus_undeliverable'] = 'возможно НЕ ДОСТАВЛЕНО ';
|
||||
$PALANG['pStatus_undeliverable'] = 'возможно НЕ ДОСТАВЛЕНО '; # XXX English text changed: Undeliverable local destination. Please retranslate.
|
||||
$PALANG['pStatus_undeliverable_tooltip'] = 'Not listed as a local destination.'; # XXX
|
||||
$PALANG['pStatus_external'] = 'External destination'; # XXX
|
||||
$PALANG['pStatus_external_tooltip'] = 'Outside your managed domains.'; # XXX
|
||||
$PALANG['pStatus_disabled'] = 'Учетная запись отключена ';
|
||||
$PALANG['pStatus_expired'] = 'Срок действия пароля истек ';
|
||||
$PALANG['pStatus_vacation'] = 'Автоответчик включен ';
|
||||
|
||||
+4
-1
@@ -415,7 +415,10 @@ $PALANG['pAdminMenu_broadcast_message'] = 'Hromadná správa';
|
||||
$PALANG['pBroadcast_error_empty'] = 'Polia Vaše meno, Predmet a Obsah nemôžu byť prázdne!';
|
||||
$PALANG['broadcast_mailboxes_only'] = 'Posielať len do schránok';
|
||||
$PALANG['broadcast_to_domains'] = 'Posielať na domény:';
|
||||
$PALANG['pStatus_undeliverable'] = 'možno NEDORUČITEĽNÉ ';
|
||||
$PALANG['pStatus_undeliverable'] = 'možno NEDORUČITEĽNÉ '; # XXX English text changed: Undeliverable local destination. Please retranslate.
|
||||
$PALANG['pStatus_undeliverable_tooltip'] = 'Not listed as a local destination.'; # XXX
|
||||
$PALANG['pStatus_external'] = 'External destination'; # XXX
|
||||
$PALANG['pStatus_external_tooltip'] = 'Outside your managed domains.'; # XXX
|
||||
$PALANG['pStatus_disabled'] = 'Account disabled '; # XXX
|
||||
$PALANG['pStatus_expired'] = 'Password expired '; # XXX
|
||||
$PALANG['pStatus_vacation'] = 'Vacation enabled '; # XXX
|
||||
|
||||
+4
-1
@@ -414,7 +414,10 @@ $PALANG['pAdminMenu_broadcast_message'] = 'Broadcast message'; # XXX
|
||||
$PALANG['pBroadcast_error_empty'] = 'The fields Name, Subject and Message shouldn\'t be empty!'; # XXX
|
||||
$PALANG['broadcast_mailboxes_only'] = 'Only send to mailboxes'; # XXX
|
||||
$PALANG['broadcast_to_domains'] = 'Send to domains:'; # XXX
|
||||
$PALANG['pStatus_undeliverable'] = 'maybe UNDELIVERABLE '; # XXX
|
||||
$PALANG['pStatus_undeliverable'] = 'maybe UNDELIVERABLE '; # XXX English text changed: Undeliverable local destination. Please retranslate.
|
||||
$PALANG['pStatus_undeliverable_tooltip'] = 'Not listed as a local destination.'; # XXX
|
||||
$PALANG['pStatus_external'] = 'External destination'; # XXX
|
||||
$PALANG['pStatus_external_tooltip'] = 'Outside your managed domains.'; # XXX
|
||||
$PALANG['pStatus_disabled'] = 'Account disabled '; # XXX
|
||||
$PALANG['pStatus_expired'] = 'Password expired '; # XXX
|
||||
$PALANG['pStatus_vacation'] = 'Vacation enabled '; # XXX
|
||||
|
||||
+4
-1
@@ -424,7 +424,10 @@ $PALANG['pBroadcast_error_empty'] = 'Fälten namn, ämne och meddelande ska inte
|
||||
$PALANG['broadcast_mailboxes_only'] = 'Only send to mailboxes'; # XXX
|
||||
$PALANG['broadcast_to_domains'] = 'Send to domains:'; # XXX
|
||||
|
||||
$PALANG['pStatus_undeliverable'] = 'kan eventuellt ej levereras ';
|
||||
$PALANG['pStatus_undeliverable'] = 'kan eventuellt ej levereras '; # XXX English text changed: Undeliverable local destination. Please retranslate.
|
||||
$PALANG['pStatus_undeliverable_tooltip'] = 'Not listed as a local destination.'; # XXX
|
||||
$PALANG['pStatus_external'] = 'External destination'; # XXX
|
||||
$PALANG['pStatus_external_tooltip'] = 'Outside your managed domains.'; # XXX
|
||||
$PALANG['pStatus_disabled'] = 'Account disabled '; # XXX
|
||||
$PALANG['pStatus_expired'] = 'Password expired '; # XXX
|
||||
$PALANG['pStatus_vacation'] = 'Vacation enabled '; # XXX
|
||||
|
||||
+4
-1
@@ -414,7 +414,10 @@ $PALANG['pAdminMenu_broadcast_message'] = 'Sistem mesajı';
|
||||
$PALANG['pBroadcast_error_empty'] = 'İsim, Konu ve Mesaj gibi alanlar boş bırakılmamalı!';
|
||||
$PALANG['broadcast_mailboxes_only'] = 'Sadece belirtilen e-posta hesaplarına gönder';
|
||||
$PALANG['broadcast_to_domains'] = 'Domainlere gönder:';
|
||||
$PALANG['pStatus_undeliverable'] = 'GÖNDERİLEMEMİŞ veya gönderilemeyen olabilir ';
|
||||
$PALANG['pStatus_undeliverable'] = 'GÖNDERİLEMEMİŞ veya gönderilemeyen olabilir '; # XXX English text changed: Undeliverable local destination. Please retranslate.
|
||||
$PALANG['pStatus_undeliverable_tooltip'] = 'Not listed as a local destination.'; # XXX
|
||||
$PALANG['pStatus_external'] = 'External destination'; # XXX
|
||||
$PALANG['pStatus_external_tooltip'] = 'Outside your managed domains.'; # XXX
|
||||
$PALANG['pStatus_disabled'] = 'Hesap pasif ';
|
||||
$PALANG['pStatus_expired'] = 'Şifrenin süresi doldu ';
|
||||
$PALANG['pStatus_vacation'] = 'Tatil modu aktif ';
|
||||
|
||||
+4
-1
@@ -416,7 +416,10 @@ $PALANG['pAdminMenu_broadcast_message'] = '發送給所有用戶';
|
||||
$PALANG['pBroadcast_error_empty'] = 'The fields Name, Subject and Message shouldn\'t be empty!'; # XXX
|
||||
$PALANG['broadcast_mailboxes_only'] = 'Only send to mailboxes'; # XXX
|
||||
$PALANG['broadcast_to_domains'] = 'Send to domains:'; # XXX
|
||||
$PALANG['pStatus_undeliverable'] = '可能無法送遞 ';
|
||||
$PALANG['pStatus_undeliverable'] = '可能無法送遞 '; # XXX English text changed: Undeliverable local destination. Please retranslate.
|
||||
$PALANG['pStatus_undeliverable_tooltip'] = 'Not listed as a local destination.'; # XXX
|
||||
$PALANG['pStatus_external'] = 'External destination'; # XXX
|
||||
$PALANG['pStatus_external_tooltip'] = 'Outside your managed domains.'; # XXX
|
||||
$PALANG['pStatus_disabled'] = 'Account disabled '; # XXX
|
||||
$PALANG['pStatus_expired'] = 'Password expired '; # XXX
|
||||
$PALANG['pStatus_vacation'] = 'Vacation enabled '; # XXX
|
||||
|
||||
+4
-1
@@ -425,7 +425,10 @@ $PALANG['pBroadcast_error_empty'] = 'Поля Ім'я, Тема і Пов
|
||||
$PALANG['broadcast_mailboxes_only'] = 'Відправити тільки на поштові скриньки';
|
||||
$PALANG['broadcast_to_domains'] = 'Надіслати на домени:';
|
||||
|
||||
$PALANG['pStatus_undeliverable'] = 'може бути НЕМОЖЛИВО ДОСТАВИТИ ';
|
||||
$PALANG['pStatus_undeliverable'] = 'може бути НЕМОЖЛИВО ДОСТАВИТИ '; # XXX English text changed: Undeliverable local destination. Please retranslate.
|
||||
$PALANG['pStatus_undeliverable_tooltip'] = 'Not listed as a local destination.'; # XXX
|
||||
$PALANG['pStatus_external'] = 'External destination'; # XXX
|
||||
$PALANG['pStatus_external_tooltip'] = 'Outside your managed domains.'; # XXX
|
||||
$PALANG['pStatus_disabled'] = 'Обліковий запис відключений ';
|
||||
$PALANG['pStatus_expired'] = 'Термін дії пароля минув ';
|
||||
$PALANG['pStatus_vacation'] = 'Автовідповідач увімкнено ';
|
||||
|
||||
@@ -436,7 +436,7 @@ class AliasHandler extends PFAHandler
|
||||
}
|
||||
|
||||
if ($this->struct['status']['display_in_list'] && Config::bool('show_status')) {
|
||||
$db_result[$key]['status'] = gen_show_status($db_result[$key]['address']);
|
||||
$db_result[$key]['status'] = gen_show_status($db_result[$key]['address'], $this->allowed_domains);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -351,7 +351,7 @@ $gen_show_status_mailbox = array();
|
||||
$divide_quota = array('current' => [], 'quota' => [], 'percent' => [], 'quota_width' => []);
|
||||
|
||||
for ($i = 0; $i < sizeof($tMailbox); $i++) {
|
||||
$gen_show_status_mailbox[$i] = gen_show_status($tMailbox[$i]['username']);
|
||||
$gen_show_status_mailbox[$i] = gen_show_status($tMailbox[$i]['username'], $list_domains);
|
||||
|
||||
$divide_quota['current'][$i] = Config::Lang('unknown');
|
||||
$divide_quota['quota_width'][$i] = 0;
|
||||
|
||||
@@ -132,8 +132,15 @@
|
||||
<br/>
|
||||
{if $CONF.show_undeliverable===YES}
|
||||
|
||||
<span style='background-color:{$CONF.show_undeliverable_color};'>{$CONF.show_status_text}</span>
|
||||
={$PALANG.pStatus_undeliverable}
|
||||
<span title="{$PALANG.pStatus_undeliverable_tooltip|escape:"html"}">
|
||||
<span style='background-color:{$CONF.show_undeliverable_color};'>{$CONF.show_status_text}</span>
|
||||
={$PALANG.pStatus_undeliverable}
|
||||
</span>
|
||||
|
||||
<span title="{$PALANG.pStatus_external_tooltip|escape:"html"}">
|
||||
<span style='background-color:{$CONF.show_external_color};'>{$CONF.show_status_text}</span>
|
||||
={$PALANG.pStatus_external}
|
||||
</span>
|
||||
{/if}
|
||||
{if $CONF.show_popimap===YES}
|
||||
|
||||
|
||||
@@ -0,0 +1,89 @@
|
||||
<?php
|
||||
|
||||
class AliasDestinationStatusTest extends \PHPUnit\Framework\TestCase
|
||||
{
|
||||
private array $savedConfig;
|
||||
|
||||
protected function setUp(): void
|
||||
{
|
||||
global $CONF;
|
||||
$this->savedConfig = $CONF;
|
||||
$CONF['show_undeliverable'] = 'YES';
|
||||
$CONF['show_undeliverable_color'] = 'tomato';
|
||||
$CONF['show_external_color'] = 'lightblue';
|
||||
$CONF['show_undeliverable_exceptions'] = ['exception.test'];
|
||||
$CONF['vacation_domain'] = 'vacation.test';
|
||||
$CONF['recipient_delimiter'] = '+';
|
||||
$CONF['show_popimap'] = 'NO';
|
||||
$CONF['show_vacation'] = 'NO';
|
||||
$CONF['show_disabled'] = 'NO';
|
||||
$CONF['password_expiration'] = 'NO';
|
||||
$CONF['show_custom_domains'] = [];
|
||||
|
||||
foreach (['local.test', 'alias.test', 'private.test'] as $domain) {
|
||||
db_insert('domain', ['domain' => $domain, 'description' => 'status test', 'transport' => '']);
|
||||
}
|
||||
}
|
||||
|
||||
protected function tearDown(): void
|
||||
{
|
||||
global $CONF;
|
||||
$CONF = $this->savedConfig;
|
||||
db_execute('DELETE FROM ' . table_by_key('alias'));
|
||||
db_execute('DELETE FROM ' . table_by_key('alias_domain'));
|
||||
db_execute('DELETE FROM ' . table_by_key('domain'));
|
||||
}
|
||||
|
||||
private function alias(string $address, string $goto): void
|
||||
{
|
||||
db_execute('INSERT INTO ' . table_by_key('alias') . ' (address, goto, domain) VALUES (?, ?, ?)', [$address, $goto, explode('@', $address)[1]]);
|
||||
}
|
||||
|
||||
private function renderStatus(string $goto, array $domains = ['local.test', 'alias.test']): string
|
||||
{
|
||||
db_execute('DELETE FROM ' . table_by_key('alias') . ' WHERE address = ?', ['source@local.test']);
|
||||
$this->alias('source@local.test', $goto);
|
||||
return gen_show_status('source@local.test', $domains);
|
||||
}
|
||||
|
||||
public function testMissingLocalAndExternalDestinationsAreIndependent(): void
|
||||
{
|
||||
$local = $this->renderStatus('missing@local.test');
|
||||
self::assertStringContainsString('background-color:tomato', $local);
|
||||
self::assertStringNotContainsString('background-color:lightblue', $local);
|
||||
$mixed = $this->renderStatus('missing@local.test, person@outside.test');
|
||||
self::assertStringContainsString('background-color:tomato', $mixed);
|
||||
self::assertStringContainsString('background-color:lightblue', $mixed);
|
||||
}
|
||||
|
||||
public function testOtherAdministratorsRecordsDoNotAffectOutput(): void
|
||||
{
|
||||
$before = $this->renderStatus('person@private.test');
|
||||
$this->alias('person@private.test', 'person@private.test');
|
||||
self::assertSame($before, $this->renderStatus('person@private.test'));
|
||||
self::assertStringContainsString('background-color:lightblue', $before);
|
||||
self::assertStringNotContainsString('background-color:tomato', $before);
|
||||
self::assertStringContainsString('background-color:lightblue', $this->renderStatus('missing@local.test', []));
|
||||
}
|
||||
|
||||
public function testKnownRecipientsCatchallsAndExceptions(): void
|
||||
{
|
||||
$this->alias('person@local.test', 'person@local.test');
|
||||
self::assertStringNotContainsString('background-color:', $this->renderStatus('person+tag@local.test'));
|
||||
$this->alias('@local.test', 'person@local.test');
|
||||
self::assertStringNotContainsString('background-color:', $this->renderStatus('anything@local.test'));
|
||||
self::assertStringNotContainsString('background-color:', $this->renderStatus('person@exception.test,person@vacation.test'));
|
||||
}
|
||||
|
||||
public function testAliasDomainsRespectTargetPermissions(): void
|
||||
{
|
||||
db_execute('INSERT INTO ' . table_by_key('alias_domain') . ' (alias_domain, target_domain, active) VALUES (?, ?, ?)', ['alias.test', 'local.test', true]);
|
||||
$this->alias('person@local.test', 'person@local.test');
|
||||
self::assertStringNotContainsString('background-color:', $this->renderStatus('person@alias.test'));
|
||||
self::assertStringContainsString('background-color:tomato', $this->renderStatus('missing@alias.test'));
|
||||
$hidden = $this->renderStatus('person@alias.test', ['alias.test']);
|
||||
db_execute('DELETE FROM ' . table_by_key('alias') . ' WHERE address = ?', ['person@local.test']);
|
||||
self::assertSame($hidden, $this->renderStatus('person@alias.test', ['alias.test']));
|
||||
self::assertStringContainsString('background-color:lightblue', $hidden);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user