Documentation for version v73
System notifications configuration
Mailbox configuration
To allow Altcraft MP to send weekly and daily reports, credentials changes and other email notifications, NOREPLY_MAILER object is configured in main.json file.
This configuration consists of SMTP access credentials for notifications mailbox. If you do not have a dedicated mailbox, ask your system administrator to create one like altcraft@example.com, where example.com is your corporate email domain.
This configuration may be different depending on your email server type:
{
"NOREPLY_MAILER": {
"email": "altcraft@example.com",
"login": "altcraft@example.com",
"pass": "xeiT9oL8We",
"port": 587,
"server": "mail.example.com"
}
}
Mailbox parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
| server | string | Yes | Email server domain |
| port | int | No | Port. By default - 25 |
| string | Yes | Email address | |
| login | string | * | Email server username, often the same as email address |
| pass | string | No | Email server password |
| helo | string | No | Email server greeting mode. By default - PTR record |
| insecure | bool | No | Disable SSL сcertificate verification. By default - false |
| force_no_ssl | bool | No | Disable SSL including standard ports. By default - false |
You can ignore "login" parameter if you are sending to an open mail relay.
Notifications configuration
System notifications are configured by several main.json parameters.
The default values are the following:
"NOTIFICATION" {
"HARDBOUNCES_WARNING_PERCENT": 1,
"SOFTBOUNCES_WARNING_PERCENT": 30,
"COMPLAINS_WARNING_PERCENT": 0.07,
"PERFOMANCE_WARNING_PERCENT": 90,
"SELECT_INTERVAL_HOURS": 1,
"NOTIFY_INTERVAL_HOURS": 12,
"MINIMAL_DIVIDER": 1000
}
Notification parameters
| Parameter | Description |
|---|---|
| HARDBOUNCES_WARNING_PERCENT SOFTBOUNCES_WARNING_PERCENT COMPLAINS_WARNING_PERCENT | Define Hard bounces, Soft bounces and Complaints warning thresholds. By default – 1, 30 and 0.07. |
| PERFOMANCE_WARNING_PERCENT | Defines the threshold for triggering a notification when the message delivery rate drops (in percentage terms). By default – 90. |
| SELECT_INTERVAL_HOURS | Assessment time interval for data aggregation. By default – 1 hour. Maximum – 24 hours. |
| NOTIFY_INTERVAL_HOURS | Duplicated notifications time interval. By default – 12 hours (If the same problem occurs within 12 hours - no new notification will be sent). |
| MINIMAL_DIVIDER | Minimum deliveries number to aggregate statistics. By default – 1000. |