This function can be used to edit the settings of a mailbox.
The password can optionally be passed as a salted MD5 password hash (e.g. $1$abcdefgh$abcdefghijklmnopqrstuv
); this is then directly passed to the password database (important for importing existing mailbox passwords from other control panels). In this case, however, the authentication mechanism CRAM-MD5 should be disabled on the server, otherwise problems can occur when trying to log in. Alternatively, existing passwords with the prefix {CRAM-MD5}
can be imported unchanged.
Field |
Type |
RegExp |
Null? |
Description |
---|---|---|---|---|
|
AuthData |
no |
Authentication data |
|
|
string |
|
no |
E-Mail address to be edited |
|
string[] |
|
yes |
Array with alias names for this address (usually up to 10) |
|
integer |
|
yes |
|
|
string |
|
yes |
Password (required for POP3/IMAP mailboxes, optionally in all other cases) |
|
integer |
|
yes |
Allow login to LiveConfig? ( |
|
integer |
|
yes |
Mailbox size (MB) (required for POP3/IMAP mailboxes) |
|
string[] |
|
yes |
Array with e-mail addresses to forward incoming e-mails to |
|
integer |
|
yes |
Autoresponder enabled? ( |
|
string |
|
yes |
Subject for autoresponder (required when |
|
string |
|
yes |
Message for autoresponder (required when |
|
integer |
|
yes |
Greylisting enabled? (only if greylisting is supported!) ( |
|
integer |
|
yes |
Spam check enabled? (only if spam filter is supported!) ( |
|
integer |
|
yes |
Warn threshold for spam filter (only when |
|
integer |
|
yes |
Reject threshold for spam filter (only when |
|
string |
|
yes |
Prefix for e-mail subject, when warn threshold is reached (only when |
Field |
Type |
Null? |
Description |
---|---|---|---|
|
string |
no |
Status („ok“) |