Skip to main content
Altcraft Docs LogoAltcraft Docs Logo
User guideDeveloper guideAdmin guide
Company siteHelp center
English
  • Русский
  • English
v73
  • v74
  • v73
  • v72
Login
  • Getting Started
  • Administrator documentation
  • Functional characteristics
  • Technology description
  • System requirements
  • Admin Panel
  • Platform installation
  • Platform configuration
    • Configuration file
    • Domain settings
    • LDAP access configuration
    • Sending Email via SMTP relay
    • Pixel and push domain configuration
    • Cluster and Replication Setup
    • System notifications configuration
    • Processes UNIX sockets configuration
    • HTTPS Configuration
    • External SQL database integration
    • Adding sender IP addresses
    • Deduplication request settings
    • PostgreSQL database for account data
    • Proxy server settings
    • Getting HTTP service statuses
    • Configuration MongoDB logs rotation
    • Configuration of system constants and directories
      • Filtering bot actions
      • Directory of gender markers
  • Platform maintenance
  • Custom channels guide
  • Extra
  • Processing HTTP/HTTPS traffic
  • Administrator API
This is documentation for Altcraft Platform v73. This documentation is no longer maintained.
The information for up-to-date platform version at this page is available (v74).
  • Platform configuration
  • Configuration of system constants and directories
Documentation for version v73

Configuration of system constants and directories

The system settings of the platform are regulated in configuration files. Such JSON files contain various parameters of the platform components, such as templates, dictionaries and lists of constants. If necessary, these files can be modified by users to customize the system to suit their needs.

caution

If you are not sure that you will be able to create and customize a custom configuration yourself, we strongly recommend that you do not make changes to the config files. If you do decide to change the system configuration, do not edit the original configuration files. In case they are damaged or lost, the platform operation will be disrupted.

Creating a custom configuration​

In order to change the JSON configuration, you need to create a copy of the original file and rename it to "custom.<original_name>". Next, you can make the necessary changes to the copy of the file and save it. The next time you run the platform, the system uses the new custom config file.

For example, you want to add new cities to the "cities.json" config. To do this, create a copy of the "cities.json" file, rename it to "custom.cities.json" and move it back to the "json_consts" folder. Any changes to the platform are made only after it has been rebooted, so you will need to restart the platform after saving the new config.

Settings from custom files like custom. will be loaded in priority. If critical errors are detected in this config file, the system will notify the user that the configuration is not working correctly. In such a case it is necessary to delete the created custom-file from the folder, then at the next startup the platform will load the default configuration.

To configure custom communication channels from the "channels " folder, it is not necessary to add the custom. string to the name of the custom config. Files with the "mta_" prefix can be reconfigured via Admin Panel.

List of JSON configurations​

FileDescription
bots_ip.jsonContains a list of IP addresses to be identified as bots, and the actions associated with those addresses
bots_ua.jsonContains a list of UserAgents that will be identified as bots and the actions associated with these agents
browsers.jsonDictionary of major browsers
cities.jsoncities.json
countries.jsonDictionary of countries
default_eventgen.jsonEvent Generator default settings
devices.jsonDictionary of device types
domain_groups.jsonDictionary of domain groups for MTA ISPs
genders.jsonDictionary of sex and genders
languages.jsonAvailable languages for the platform interface
oses.jsonDictionary of Operating Systems
platforms.jsonDictionary of major user platforms
preset_reports.jsonStandard metrics for the summary report
sender_types.jsonSender types supported by the platform
sql_requests.jsonSQL query templates
tlds.jsonDictionary of top-level domains
tzones.jsonPlatform-supported time zones
reports/channels.jsonChannel report parameters
reports/traffic.jsonTraffic report parameters
tag_manager/built_in_vars.jsonTag manager system variables
platforms.yamlAdditional config file to define the user's platform and OS

Configurations reconfigurable in Admin Panel​

FileDescription
mta_globals.jsonGeneral MTA-sender settings
mta_isps.jsonMTA-sender ISP strategies
mta_lock_rules.jsonMTA-sender locking strategies
mta_retry_rules.jsonStrategies for retries on the MTA sender
mta_strategies.jsonStrategies for sending on the MTA sender
Last updated on Nov 5, 2024
Previous
Configuration MongoDB logs rotation
Next
Filtering bot actions
  • Creating a custom configuration
  • List of JSON configurations
  • Configurations reconfigurable in Admin Panel
© 2015 - 2025 Altcraft, LLC. All rights reserved.