smtp-submit-settings.c revision bcb4e51a409d94ae670de96afb8483a4f7855294
bcb4e51a409d94ae670de96afb8483a4f7855294Stephan Bosch/* Copyright (c) 2017-2018 Dovecot authors, see the included COPYING file */
5356717c7944a8527b6ea10ac54012887bcc9f75Stephan Boschstatic bool smtp_submit_settings_check(void *_set, pool_t pool, const char **error_r);
5356717c7944a8527b6ea10ac54012887bcc9f75Stephan Bosch { type, #name, offsetof(struct smtp_submit_settings, name), NULL }
5356717c7944a8527b6ea10ac54012887bcc9f75Stephan Bosch { SET_DEFLIST, name, offsetof(struct smtp_submit_settings, field), defines }
5356717c7944a8527b6ea10ac54012887bcc9f75Stephan Boschstatic const struct setting_define smtp_submit_setting_defines[] = {
5356717c7944a8527b6ea10ac54012887bcc9f75Stephan Boschstatic const struct smtp_submit_settings smtp_submit_default_settings = {
ac8f4f30d6c65f391ef4912ab4e87f4f26c891faStephan Bosch .submission_ssl = "no:smtps:submissions:starttls",
5356717c7944a8527b6ea10ac54012887bcc9f75Stephan Boschconst struct setting_parser_info smtp_submit_setting_parser_info = {
5356717c7944a8527b6ea10ac54012887bcc9f75Stephan Bosch .struct_size = sizeof(struct smtp_submit_settings),
5356717c7944a8527b6ea10ac54012887bcc9f75Stephan Boschsmtp_submit_settings_check(void *_set, pool_t pool,