> ## Documentation Index
> Fetch the complete documentation index at: https://docs.superoffice.com/llms.txt
> Use this file to discover all available pages before exploring further.

# config table

> This table contains certain system-wide configuration values.

## config Table (255)

This table contains certain system-wide configuration values.

## Fields

| Name               | Description                                                                                                                                                           | Type        | Nullable |
| ------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------- | :------: |
| id                 | The primary key (auto-incremented)                                                                                                                                    | PK          |    No    |
| text\_path         | The path to the text-folder containing the emailBackup, trashbin, etc. subfolders.                                                                                    | String(255) |    Yes   |
| attachment\_path   | The path to the folder containing the attachments.                                                                                                                    | String(255) |    Yes   |
| template\_path     | The path to the templates used for the customer front-end.                                                                                                            | String(255) |    Yes   |
| admin\_mail        | The email address to the administrator of the system. E.g. [ejournal-admin@company.com](mailto:ejournal-admin@company.com).                                           | String(255) |    Yes   |
| default\_mail      | The default from address in emails being sent from the system. E.g. [support@company.com](mailto:support@company.com).                                                | String(255) |    Yes   |
| panic\_mail        | The email address to where error messages are sent. Normally [error@superoffice.com](mailto:error@superoffice.com).                                                   | String(255) |    Yes   |
| smtp\_host         | The hostname or IP-address of the SMTP server used for sending email.                                                                                                 | String(255) |    Yes   |
| smtp\_port         | The port of the SMTP server used for sending email.                                                                                                                   | Int         |    No    |
| cgi\_bin           | The cgi-bin alias used to access the executables through HTTP. E.g. \&apos;/bin\&apos;                                                                                | String(255) |    Yes   |
| cgi\_url           | The base URL to the system. E.g. \&apos;[http://ejournal.company.com\&amp;apos](http://ejournal.company.com\&amp;apos);.                                              | String(255) |    Yes   |
| gfx\_url           | The base URL to the graphics files.                                                                                                                                   | String(255) |    Yes   |
| warning            | The path + leading filename for the warning logfiles.                                                                                                                 | String(255) |    Yes   |
| tag                | The tag used as ticket id identificator in the subject of emails.                                                                                                     | String(32)  |    Yes   |
| mailheader         | The default header used (i.e. line 1) in outbound email.                                                                                                              | String(255) |    Yes   |
| autologout         | The number of minutes if idle time before a user is logged ut. A zero value means no autologout.                                                                      | Int         |    Yes   |
| simautologout      | The number of minutes if idle time before a simultaneus user is logged ut. A zero value means no autologout.                                                          | Int         |    Yes   |
| flags              | A bitmask of flags controlling various options.                                                                                                                       | Int         |    Yes   |
| debug\_flags       | A default bitmask of flags controlling debug logging.                                                                                                                 | Int         |    Yes   |
| language           | The systemlanguage. \&apos;no\&apos; or \&apos;en\&apos;.                                                                                                             | String(5)   |    Yes   |
| mb\_max\_value     | This is the upper (initial) value for the spam-control algorithm, which makes sure that a single email address does not recieve too many emails.                      | Int         |    Yes   |
| mb\_threshold      | This is the treshold value for the spam-contol algorithm. When the value for a given email address is below this value, emails will be blocked.                       | Int         |    Yes   |
| mb\_modifier       | This is the \&apos;cost\&apos; of sending an email, which is subtracted from the mb-value for the given email address. The mb-value is increased with 1 every second. | Int         |    Yes   |
| version            | The version of the installed software.                                                                                                                                | String(32)  |    Yes   |
| installed\_at      | The timestamp of when the system was installed, or last upgraded.                                                                                                     | DateTime    |    Yes   |
| installed\_by      | Whoever installed the software.                                                                                                                                       | String(255) |    Yes   |
| unique\_id         | An ID that should be unique for all eJournal installations.                                                                                                           | String(32)  |    Yes   |
| cgi\_url\_internal | The internal base URL to the system. E.g. \&apos;[http://ejournal.company.com\&amp;apos](http://ejournal.company.com\&amp;apos);.                                     | String(255) |    Yes   |
| temp\_license      | Temporary license key created for this session.                                                                                                                       | String(255) |    Yes   |
| feature\_toggle    | Temporary values used for feature toggles                                                                                                                             | Clob        |    Yes   |

<img src="https://mintcdn.com/superofficeas/i6M2qZmvMNH7UTeu/media/loc/en/database/tables/config.png?fit=max&auto=format&n=i6M2qZmvMNH7UTeu&q=85&s=103daadda2ebe0047070a9724a768ef5" alt="config table relationship diagram" width="83" height="59" data-path="media/loc/en/database/tables/config.png" />

## Indexes

| Fields | Types | Description |
| ------ | ----- | ----------- |

## Replication Flags

* None

## Security Flags

* No access control via user's Role.


## Related topics

- [item_config table](/en/database/tables/item-config.md)
- [cust_config table](/en/database/tables/cust-config.md)
- [AudienceConfig table](/en/database/tables/audienceconfig.md)
- [ConnectionConfigField table](/en/database/tables/connectionconfigfield.md)
- [Get Sms Config](/en/api/reference/restful/agent/customerservice_agent/get-sms-config.md)
- [Send Messages With Config](/en/api/reference/restful/agent/messaging_agent/send-messages-with-config.md)
