E-MailRelay

Public Member Functions | Public Attributes | List of all members
GSmtp::Server::Config Struct Reference

A configuration structure for GSmtp::Server. More...

`#include <gsmtpserver.h>`

Collaboration diagram for GSmtp::Server::Config:
[legend]

## Public Member Functions
Config & | set_allow_remote (bool=true) noexcept
Config & | set_interfaces (const G::StringArray &)
Config & | set_port (unsigned int) noexcept
Config & | set_ident (const std::string &)
Config & | set_anonymous (bool=true) noexcept
Config & | set_anonymous_smtp (bool=true) noexcept
Config & | set_anonymous_content (bool=true) noexcept
Config & | set_filter_config (const Filter::Config &)
Config & | set_filter_spec (const FilterFactoryBase::Spec &)
Config & | set_verifier_config (const Verifier::Config &)
Config & | set_verifier_spec (const VerifierFactoryBase::Spec &)
Config & | set_net_server_peer_config (const GNet::ServerPeer::Config &)
Config & | set_net_server_config (const GNet::Server::Config &)
Config & | set_protocol_config (const ServerProtocol::Config &)
Config & | set_dnsbl_config (const std::string &)
Config & | set_buffer_config (const ServerBufferIn::Config &)
Config & | set_domain (const std::string &)

## Public Attributes
bool | allow_remote {false}
G::StringArray | interfaces
unsigned int | port {0U}
std::string | ident
bool | anonymous_smtp {false}
bool | anonymous_content {false}
Filter::Config | filter_config
FilterFactoryBase::Spec | filter_spec
Verifier::Config | verifier_config
VerifierFactoryBase::Spec | verifier_spec
GNet::ServerPeer::Config | net_server_peer_config
GNet::Server::Config | net_server_config
ServerProtocol::Config | protocol_config
std::string | dnsbl_config
ServerBufferIn::Config | buffer_config
std::string | domain

## Detailed Description

A configuration structure for GSmtp::Server.

Definition at line 59 of file gsmtpserver.h.

## Member Function Documentation

## ◆ set_allow_remote()

GSmtp::Server::Config & GSmtp::Server::Config::set_allow_remote | ( | bool | b = `true` | ) |
| inline noexcept

Definition at line 225 of file gsmtpserver.h.

## ◆ set_anonymous()

GSmtp::Server::Config & GSmtp::Server::Config::set_anonymous | ( | bool | b = `true` | ) |
| inline noexcept

Definition at line 229 of file gsmtpserver.h.

## ◆ set_anonymous_content()

GSmtp::Server::Config & GSmtp::Server::Config::set_anonymous_content | ( | bool | b = `true` | ) |
| inline noexcept

Definition at line 231 of file gsmtpserver.h.

## ◆ set_anonymous_smtp()

GSmtp::Server::Config & GSmtp::Server::Config::set_anonymous_smtp | ( | bool | b = `true` | ) |
| inline noexcept

Definition at line 230 of file gsmtpserver.h.

## ◆ set_buffer_config()

GSmtp::Server::Config & GSmtp::Server::Config::set_buffer_config | ( | const ServerBufferIn::Config & | c | ) |
| inline

Definition at line 240 of file gsmtpserver.h.

## ◆ set_dnsbl_config()

GSmtp::Server::Config & GSmtp::Server::Config::set_dnsbl_config | ( | const std::string & | s | ) |
| inline

Definition at line 239 of file gsmtpserver.h.

## ◆ set_domain()

GSmtp::Server::Config & GSmtp::Server::Config::set_domain | ( | const std::string & | s | ) |
| inline

Definition at line 241 of file gsmtpserver.h.

## ◆ set_filter_config()

GSmtp::Server::Config & GSmtp::Server::Config::set_filter_config | ( | const Filter::Config & | c | ) |
| inline

Definition at line 232 of file gsmtpserver.h.

## ◆ set_filter_spec()

GSmtp::Server::Config & GSmtp::Server::Config::set_filter_spec | ( | const FilterFactoryBase::Spec & | r | ) |
| inline

Definition at line 233 of file gsmtpserver.h.

## ◆ set_ident()

GSmtp::Server::Config & GSmtp::Server::Config::set_ident | ( | const std::string & | s | ) |
| inline

Definition at line 228 of file gsmtpserver.h.

## ◆ set_interfaces()

GSmtp::Server::Config & GSmtp::Server::Config::set_interfaces | ( | const G::StringArray & | a | ) |
| inline

Definition at line 226 of file gsmtpserver.h.

## ◆ set_net_server_config()

GSmtp::Server::Config & GSmtp::Server::Config::set_net_server_config | ( | const GNet::Server::Config & | c | ) |
| inline

Definition at line 237 of file gsmtpserver.h.

## ◆ set_net_server_peer_config()

GSmtp::Server::Config & GSmtp::Server::Config::set_net_server_peer_config | ( | const GNet::ServerPeer::Config & | c | ) |
| inline

Definition at line 236 of file gsmtpserver.h.

## ◆ set_port()

GSmtp::Server::Config & GSmtp::Server::Config::set_port | ( | unsigned int | n | ) |
| inline noexcept

Definition at line 227 of file gsmtpserver.h.

## ◆ set_protocol_config()

GSmtp::Server::Config & GSmtp::Server::Config::set_protocol_config | ( | const ServerProtocol::Config & | c | ) |
| inline

Definition at line 238 of file gsmtpserver.h.

## ◆ set_verifier_config()

GSmtp::Server::Config & GSmtp::Server::Config::set_verifier_config | ( | const Verifier::Config & | c | ) |
| inline

Definition at line 234 of file gsmtpserver.h.

## ◆ set_verifier_spec()

GSmtp::Server::Config & GSmtp::Server::Config::set_verifier_spec | ( | const VerifierFactoryBase::Spec & | r | ) |
| inline

Definition at line 235 of file gsmtpserver.h.

## Member Data Documentation

## ◆ allow_remote

bool GSmtp::Server::Config::allow_remote {false}

Definition at line 61 of file gsmtpserver.h.

## ◆ anonymous_content

bool GSmtp::Server::Config::anonymous_content {false}

Definition at line 66 of file gsmtpserver.h.

## ◆ anonymous_smtp

bool GSmtp::Server::Config::anonymous_smtp {false}

Definition at line 65 of file gsmtpserver.h.

## ◆ buffer_config

ServerBufferIn::Config GSmtp::Server::Config::buffer_config

Definition at line 75 of file gsmtpserver.h.

## ◆ dnsbl_config

std::string GSmtp::Server::Config::dnsbl_config

Definition at line 74 of file gsmtpserver.h.

## ◆ domain

std::string GSmtp::Server::Config::domain

Definition at line 76 of file gsmtpserver.h.

## ◆ filter_config

Filter::Config GSmtp::Server::Config::filter_config

Definition at line 67 of file gsmtpserver.h.

## ◆ filter_spec

FilterFactoryBase::Spec GSmtp::Server::Config::filter_spec

Definition at line 68 of file gsmtpserver.h.

## ◆ ident

std::string GSmtp::Server::Config::ident

Definition at line 64 of file gsmtpserver.h.

## ◆ interfaces

G::StringArray GSmtp::Server::Config::interfaces

Definition at line 62 of file gsmtpserver.h.

## ◆ net_server_config

GNet::Server::Config GSmtp::Server::Config::net_server_config

Definition at line 72 of file gsmtpserver.h.

## ◆ net_server_peer_config

GNet::ServerPeer::Config GSmtp::Server::Config::net_server_peer_config

Definition at line 71 of file gsmtpserver.h.

## ◆ port

unsigned int GSmtp::Server::Config::port {0U}

Definition at line 63 of file gsmtpserver.h.

## ◆ protocol_config

ServerProtocol::Config GSmtp::Server::Config::protocol_config

Definition at line 73 of file gsmtpserver.h.

## ◆ verifier_config

Verifier::Config GSmtp::Server::Config::verifier_config

Definition at line 69 of file gsmtpserver.h.

## ◆ verifier_spec

VerifierFactoryBase::Spec GSmtp::Server::Config::verifier_spec

Definition at line 70 of file gsmtpserver.h.

The documentation for this struct was generated from the following file:

- /tmp/slackdce/slackrepo.HKsbdz/build_emailrelay/emailrelay-2.6/src/gsmtp/gsmtpserver.h