diff --git a/bureau/admin/mail_list.php b/bureau/admin/mail_list.php
index 67ec5833..0eba53d1 100644
--- a/bureau/admin/mail_list.php
+++ b/bureau/admin/mail_list.php
@@ -170,7 +170,7 @@ if (date("Y-m-d")==substr($val["lastlogin"],0,10)) echo substr($val["lastlogin"]
-
- - FIXME
+ - srv_submission); ?>
- (example : myuser@example.tld)");?>
- 587
@@ -180,7 +180,7 @@ if (date("Y-m-d")==substr($val["lastlogin"],0,10)) echo substr($val["lastlogin"]
-
- - FIXME
+ - srv_smtp); ?>
- (example : myuser@example.tld)");?>
- 25
@@ -190,7 +190,7 @@ if (date("Y-m-d")==substr($val["lastlogin"],0,10)) echo substr($val["lastlogin"]
-
- - FIXME
+ - srv_smtps); ?>
- (example : myuser@example.tld)");?>
- 465
@@ -204,7 +204,7 @@ if (date("Y-m-d")==substr($val["lastlogin"],0,10)) echo substr($val["lastlogin"]
-
- - FIXME
+ - srv_imap); ?>
- 143
@@ -214,7 +214,7 @@ if (date("Y-m-d")==substr($val["lastlogin"],0,10)) echo substr($val["lastlogin"]
-
- - FIXME
+ - srv_imaps); ?>
- 993
@@ -224,7 +224,7 @@ if (date("Y-m-d")==substr($val["lastlogin"],0,10)) echo substr($val["lastlogin"]
-
- - FIXME
+ - srv_pop3); ?>
- 110
@@ -234,7 +234,7 @@ if (date("Y-m-d")==substr($val["lastlogin"],0,10)) echo substr($val["lastlogin"]
-
- - FIXME
+ - srv_pop3s); ?>
- 995
diff --git a/bureau/class/m_mail.php b/bureau/class/m_mail.php
index 5f77a3ca..2c0478b9 100644
--- a/bureau/class/m_mail.php
+++ b/bureau/class/m_mail.php
@@ -65,6 +65,33 @@ class m_mail {
*/
var $total;
+
+ // Human server name for help
+ var $srv_submission;
+ var $srv_smtp;
+ var $srv_smtps;
+ var $srv_imap;
+ var $srv_imaps;
+ var $srv_pop3;
+ var $srv_pop3s;
+
+ /* ----------------------------------------------------------------- */
+ /**
+ * Constructeur
+ */
+ function m_mail() {
+ global $L_FQDN;
+ $this->srv_submission = variable_get('mail_human_submission', $L_FQDN,'Human name for mail server (submission protocol)');
+ $this->srv_smtp = variable_get('mail_human_smtp', $L_FQDN,'Human name for mail server (SMTP protocol)');
+ $this->srv_smtps = variable_get('mail_human_smtps', $L_FQDN,'Human name for mail server (SMTPS protocol)');
+ $this->srv_imap = variable_get('mail_human_imap', $L_FQDN,'Human name for IMAP mail server');
+ $this->srv_imaps = variable_get('mail_human_imaps', $L_FQDN,'Human name for IMAPS mail server');
+ $this->srv_pop3 = variable_get('mail_human_pop3', $L_FQDN,'Human name for POP3 mail server');
+ $this->srv_pop3s = variable_get('mail_human_pop3s', $L_FQDN,'Human name for POP3s mail server');
+ }
+
+
+
/* ----------------------------------------------------------------- */
/** get_quota (hook for quota class), returns the number of used
* service for a quota-bound service