master-settings-defs.c revision f4a00030e7536266abbc52a882475bbc96decc3c
145N/A/* kludgy: this file is included from master-settings.c and from deliver */
145N/A
145N/A#undef DEF_STR
145N/A#undef DEF_INT
145N/A#undef DEF_BOOL
145N/A#define DEF_STR(name) DEF_STRUCT_STR(name, settings)
145N/A#define DEF_INT(name) DEF_STRUCT_INT(name, settings)
145N/A#define DEF_BOOL(name) DEF_STRUCT_BOOL(name, settings)
145N/A
145N/Astatic struct setting_def setting_defs[] = {
145N/A /* common */
145N/A DEF_STR(base_dir),
145N/A DEF_STR(log_path),
145N/A DEF_STR(info_log_path),
145N/A DEF_STR(log_timestamp),
145N/A DEF_STR(syslog_facility),
145N/A
145N/A /* general */
145N/A DEF_STR(protocols),
145N/A DEF_STR(listen),
145N/A DEF_STR(ssl_listen),
145N/A
145N/A DEF_STR(ssl),
145N/A DEF_STR(ssl_ca_file),
145N/A DEF_STR(ssl_cert_file),
145N/A DEF_STR(ssl_key_file),
145N/A DEF_STR(ssl_key_password),
145N/A DEF_INT(ssl_parameters_regenerate),
145N/A DEF_STR(ssl_cipher_list),
145N/A DEF_STR(ssl_cert_username_field),
145N/A DEF_BOOL(ssl_verify_client_cert),
145N/A DEF_BOOL(disable_plaintext_auth),
145N/A DEF_BOOL(verbose_ssl),
145N/A DEF_BOOL(shutdown_clients),
145N/A DEF_BOOL(nfs_check),
145N/A DEF_BOOL(version_ignore),
145N/A
145N/A /* login */
145N/A DEF_STR(login_dir),
145N/A DEF_STR(login_executable),
145N/A DEF_STR(login_user),
DEF_STR(login_greeting),
DEF_STR(login_log_format_elements),
DEF_STR(login_log_format),
DEF_BOOL(login_process_per_connection),
DEF_BOOL(login_chroot),
DEF_STR(login_trusted_networks),
DEF_INT(login_process_size),
DEF_INT(login_processes_count),
DEF_INT(login_max_processes_count),
DEF_INT(login_max_connections),
/* mail */
DEF_STR(valid_chroot_dirs),
DEF_STR(mail_chroot),
DEF_INT(max_mail_processes),
DEF_INT(mail_max_userip_connections),
DEF_BOOL(verbose_proctitle),
DEF_INT(first_valid_uid),
DEF_INT(last_valid_uid),
DEF_INT(first_valid_gid),
DEF_INT(last_valid_gid),
DEF_STR(mail_extra_groups),
DEF_STR(mail_access_groups),
DEF_STR(mail_privileged_group),
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),
DEF_STR(imap_id_send),
DEF_STR(imap_id_log),
/* 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),
/* dict */
DEF_STR(dict_db_config),
{ 0, NULL, 0 }
};