master-settings-defs.c revision b9d9bbcb964def4a05a08b502eecf61c6547bd56
fc71e94957d0c2959a609450a2f303640d681858Sascha Wilde/* kludgy: this file is included from master-settings.c and from deliver */
fc71e94957d0c2959a609450a2f303640d681858Sascha Wilde
fc71e94957d0c2959a609450a2f303640d681858Sascha Wilde#undef DEF_STR
fc464e5b2b2ab4d415a5d5b90ce4475d34620a75Timo Sirainen#undef DEF_INT
fc464e5b2b2ab4d415a5d5b90ce4475d34620a75Timo Sirainen#undef DEF_BOOL
c5a6a6565be93224fc26522eda855b0990f256e8Timo Sirainen#define DEF_STR(name) DEF_STRUCT_STR(name, settings)
c5a6a6565be93224fc26522eda855b0990f256e8Timo Sirainen#define DEF_INT(name) DEF_STRUCT_INT(name, settings)
c5a6a6565be93224fc26522eda855b0990f256e8Timo Sirainen#define DEF_BOOL(name) DEF_STRUCT_BOOL(name, settings)
c5a6a6565be93224fc26522eda855b0990f256e8Timo Sirainen
c5a6a6565be93224fc26522eda855b0990f256e8Timo Sirainenstatic struct setting_def setting_defs[] = {
c5a6a6565be93224fc26522eda855b0990f256e8Timo Sirainen /* common */
c5a6a6565be93224fc26522eda855b0990f256e8Timo Sirainen DEF_STR(base_dir),
fc464e5b2b2ab4d415a5d5b90ce4475d34620a75Timo Sirainen DEF_STR(log_path),
fc464e5b2b2ab4d415a5d5b90ce4475d34620a75Timo Sirainen DEF_STR(info_log_path),
fc464e5b2b2ab4d415a5d5b90ce4475d34620a75Timo Sirainen DEF_STR(log_timestamp),
fc464e5b2b2ab4d415a5d5b90ce4475d34620a75Timo Sirainen DEF_STR(syslog_facility),
fc464e5b2b2ab4d415a5d5b90ce4475d34620a75Timo Sirainen
fc464e5b2b2ab4d415a5d5b90ce4475d34620a75Timo Sirainen /* general */
fc71e94957d0c2959a609450a2f303640d681858Sascha Wilde DEF_STR(protocols),
fc71e94957d0c2959a609450a2f303640d681858Sascha Wilde DEF_STR(listen),
fc71e94957d0c2959a609450a2f303640d681858Sascha Wilde DEF_STR(ssl_listen),
9f10cc61ec303351b43e54155c86699ef53cb8beTimo Sirainen
aba994a4e79a020b4748e0ceffc194e5a18e1d1aTimo Sirainen DEF_BOOL(ssl_disable),
fc71e94957d0c2959a609450a2f303640d681858Sascha Wilde DEF_STR(ssl_ca_file),
fc71e94957d0c2959a609450a2f303640d681858Sascha Wilde DEF_STR(ssl_cert_file),
64bfe7b4a42512971db154937905dfa2bdb9cf2cTimo Sirainen DEF_STR(ssl_key_file),
c5a6a6565be93224fc26522eda855b0990f256e8Timo Sirainen DEF_STR(ssl_key_password),
64bfe7b4a42512971db154937905dfa2bdb9cf2cTimo Sirainen DEF_INT(ssl_parameters_regenerate),
fc71e94957d0c2959a609450a2f303640d681858Sascha Wilde DEF_STR(ssl_cipher_list),
89fda66c5c4204f3bc27e160fbadb463e028b811Timo Sirainen DEF_BOOL(ssl_verify_client_cert),
89fda66c5c4204f3bc27e160fbadb463e028b811Timo Sirainen DEF_BOOL(disable_plaintext_auth),
89fda66c5c4204f3bc27e160fbadb463e028b811Timo Sirainen DEF_BOOL(verbose_ssl),
3b22894b8805b186c73d8b754001e8d7e944be85Timo Sirainen DEF_BOOL(shutdown_clients),
3b22894b8805b186c73d8b754001e8d7e944be85Timo Sirainen DEF_BOOL(nfs_check),
3b22894b8805b186c73d8b754001e8d7e944be85Timo Sirainen DEF_BOOL(version_ignore),
64bfe7b4a42512971db154937905dfa2bdb9cf2cTimo Sirainen
fc464e5b2b2ab4d415a5d5b90ce4475d34620a75Timo Sirainen /* login */
9f10cc61ec303351b43e54155c86699ef53cb8beTimo Sirainen DEF_STR(login_dir),
9f10cc61ec303351b43e54155c86699ef53cb8beTimo Sirainen DEF_STR(login_executable),
fc464e5b2b2ab4d415a5d5b90ce4475d34620a75Timo Sirainen DEF_STR(login_user),
fc464e5b2b2ab4d415a5d5b90ce4475d34620a75Timo Sirainen DEF_STR(login_greeting),
fc464e5b2b2ab4d415a5d5b90ce4475d34620a75Timo Sirainen DEF_STR(login_log_format_elements),
fc464e5b2b2ab4d415a5d5b90ce4475d34620a75Timo Sirainen DEF_STR(login_log_format),
a43145989f87ec68754e21234e7b6d892c4a4421Timo Sirainen
a43145989f87ec68754e21234e7b6d892c4a4421Timo Sirainen DEF_BOOL(login_process_per_connection),
a43145989f87ec68754e21234e7b6d892c4a4421Timo Sirainen DEF_BOOL(login_chroot),
a43145989f87ec68754e21234e7b6d892c4a4421Timo Sirainen DEF_BOOL(login_greeting_capability),
fc71e94957d0c2959a609450a2f303640d681858Sascha Wilde
9f10cc61ec303351b43e54155c86699ef53cb8beTimo Sirainen DEF_INT(login_process_size),
9f10cc61ec303351b43e54155c86699ef53cb8beTimo Sirainen DEF_INT(login_processes_count),
9f10cc61ec303351b43e54155c86699ef53cb8beTimo Sirainen DEF_INT(login_max_processes_count),
9f10cc61ec303351b43e54155c86699ef53cb8beTimo Sirainen DEF_INT(login_max_connections),
665e9d14c005b65d95eae0baaa471c51e5caca73Timo Sirainen
665e9d14c005b65d95eae0baaa471c51e5caca73Timo Sirainen /* mail */
665e9d14c005b65d95eae0baaa471c51e5caca73Timo Sirainen DEF_STR(valid_chroot_dirs),
4b1359bde7d32667197548652a4b4f540062e2acTimo Sirainen DEF_STR(mail_chroot),
665e9d14c005b65d95eae0baaa471c51e5caca73Timo Sirainen DEF_INT(max_mail_processes),
665e9d14c005b65d95eae0baaa471c51e5caca73Timo Sirainen DEF_INT(mail_max_userip_connections),
665e9d14c005b65d95eae0baaa471c51e5caca73Timo Sirainen DEF_BOOL(verbose_proctitle),
4b1359bde7d32667197548652a4b4f540062e2acTimo Sirainen
69d60dcff2614c4bfc8ad59e8fdc09e39c9dd0dcTimo Sirainen DEF_INT(first_valid_uid),
4b1359bde7d32667197548652a4b4f540062e2acTimo Sirainen DEF_INT(last_valid_uid),
4b1359bde7d32667197548652a4b4f540062e2acTimo Sirainen DEF_INT(first_valid_gid),
4b1359bde7d32667197548652a4b4f540062e2acTimo Sirainen DEF_INT(last_valid_gid),
fc71e94957d0c2959a609450a2f303640d681858Sascha Wilde DEF_STR(mail_extra_groups),
DEF_STR(mail_uid),
DEF_STR(mail_gid),
DEF_STR(mail_location),
DEF_STR(mail_cache_fields),
DEF_STR(mail_never_cache_fields),
DEF_INT(mail_cache_min_mail_count),
DEF_INT(mailbox_idle_check_interval),
DEF_BOOL(mail_debug),
DEF_BOOL(mail_full_filesystem_access),
DEF_INT(mail_max_keyword_length),
DEF_BOOL(mail_save_crlf),
DEF_BOOL(mmap_disable),
DEF_BOOL(dotlock_use_excl),
DEF_BOOL(fsync_disable),
DEF_BOOL(mail_nfs_storage),
DEF_BOOL(mail_nfs_index),
DEF_BOOL(mailbox_list_index_disable),
DEF_STR(lock_method),
DEF_BOOL(maildir_stat_dirs),
DEF_BOOL(maildir_copy_with_hardlinks),
DEF_BOOL(maildir_copy_preserve_filename),
DEF_STR(mbox_read_locks),
DEF_STR(mbox_write_locks),
DEF_INT(mbox_lock_timeout),
DEF_INT(mbox_dotlock_change_timeout),
DEF_INT(mbox_min_index_size),
DEF_BOOL(mbox_dirty_syncs),
DEF_BOOL(mbox_very_dirty_syncs),
DEF_BOOL(mbox_lazy_writes),
DEF_INT(dbox_rotate_size),
DEF_INT(dbox_rotate_min_size),
DEF_INT(dbox_rotate_days),
DEF_INT(umask),
DEF_BOOL(mail_drop_priv_before_exec),
DEF_STR(mail_executable),
DEF_INT(mail_process_size),
DEF_STR(mail_plugins),
DEF_STR(mail_plugin_dir),
DEF_STR(mail_log_prefix),
DEF_INT(mail_log_max_lines_per_sec),
/* imap */
DEF_INT(imap_max_line_length),
DEF_STR(imap_capability),
DEF_STR(imap_client_workarounds),
DEF_STR(imap_logout_format),
/* pop3 */
DEF_BOOL(pop3_no_flag_updates),
DEF_BOOL(pop3_enable_last),
DEF_BOOL(pop3_reuse_xuidl),
DEF_BOOL(pop3_lock_session),
DEF_STR(pop3_uidl_format),
DEF_STR(pop3_client_workarounds),
DEF_STR(pop3_logout_format),
{ 0, NULL, 0 }
};