E-MailRelay

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

A structure containing GSmtp::Server configuration parameters. More...

`#include <gsmtpserver.h>`

## Public Member Functions
| Config (bool allow_remote, const G::StringArray &interfaces, unsigned int port, const std::string &ident, bool anonymous, const std::string &filter_address, unsigned int filter_timeout, const std::string &verifier_adress, unsigned int verifier_timeout, GNet::ServerPeerConfig server_peer_config, ServerProtocol::Config protocol_config, const std::string &sasl_server_config, const std::string &dnsbl_config)
Config & | set_allow_remote (bool=true)
Config & | set_interfaces (const G::StringArray &)
Config & | set_port (unsigned int)
Config & | set_ident (const std::string &)
Config & | set_anonymous (bool=true)
Config & | set_filter_address (const std::string &)
Config & | set_filter_timeout (unsigned int)
Config & | set_verifier_address (const std::string &)
Config & | set_verifier_timeout (unsigned int)
Config & | set_server_peer_config (const GNet::ServerPeerConfig &)
Config & | set_server_config (const GNet::ServerConfig &)
Config & | set_protocol_config (const ServerProtocol::Config &)
Config & | set_sasl_server_config (const std::string &)
Config & | set_dnsbl_config (const std::string &)

## Public Attributes
bool | allow_remote {false}
G::StringArray | interfaces
unsigned int | port {0U}
std::string | ident
bool | anonymous {false}
std::string | filter_address
unsigned int | filter_timeout {0U}
std::string | verifier_address
unsigned int | verifier_timeout {0U}
GNet::ServerPeerConfig | server_peer_config
GNet::ServerConfig | server_config
ServerProtocol::Config | protocol_config
std::string | sasl_server_config
std::string | dnsbl_config

## Detailed Description

A structure containing GSmtp::Server configuration parameters.

Definition at line 54 of file gsmtpserver.h.

## Constructor & Destructor Documentation

## ◆ Config()

GSmtp::Server::Config::Config | ( | bool | allow_remote,
|  | const G::StringArray & | interfaces,
|  | unsigned int | port,
|  | const std::string & | ident,
|  | bool | anonymous,
|  | const std::string & | filter_address,
|  | unsigned int | filter_timeout,
|  | const std::string & | verifier_adress,
|  | unsigned int | verifier_timeout,
|  | GNet::ServerPeerConfig | server_peer_config,
|  | ServerProtocol::Config | protocol_config,
|  | const std::string & | sasl_server_config,
|  | const std::string & | dnsbl_config
| ) |  |

Definition at line 305 of file gsmtpserver.cpp.

## Member Function Documentation

## ◆ set_allow_remote()

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

Definition at line 192 of file gsmtpserver.h.

## ◆ set_anonymous()

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

Definition at line 196 of file gsmtpserver.h.

## ◆ set_dnsbl_config()

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

Definition at line 205 of file gsmtpserver.h.

## ◆ set_filter_address()

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

Definition at line 197 of file gsmtpserver.h.

## ◆ set_filter_timeout()

GSmtp::Server::Config & GSmtp::Server::Config::set_filter_timeout | ( | unsigned int | t | ) |
| inline

Definition at line 198 of file gsmtpserver.h.

## ◆ set_ident()

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

Definition at line 195 of file gsmtpserver.h.

## ◆ set_interfaces()

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

Definition at line 193 of file gsmtpserver.h.

## ◆ set_port()

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

Definition at line 194 of file gsmtpserver.h.

## ◆ set_protocol_config()

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

Definition at line 203 of file gsmtpserver.h.

## ◆ set_sasl_server_config()

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

Definition at line 204 of file gsmtpserver.h.

## ◆ set_server_config()

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

Definition at line 202 of file gsmtpserver.h.

## ◆ set_server_peer_config()

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

Definition at line 201 of file gsmtpserver.h.

## ◆ set_verifier_address()

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

Definition at line 199 of file gsmtpserver.h.

## ◆ set_verifier_timeout()

GSmtp::Server::Config & GSmtp::Server::Config::set_verifier_timeout | ( | unsigned int | t | ) |
| inline

Definition at line 200 of file gsmtpserver.h.

## Member Data Documentation

## ◆ allow_remote

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

Definition at line 56 of file gsmtpserver.h.

## ◆ anonymous

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

Definition at line 60 of file gsmtpserver.h.

## ◆ dnsbl_config

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

Definition at line 69 of file gsmtpserver.h.

## ◆ filter_address

std::string GSmtp::Server::Config::filter_address

Definition at line 61 of file gsmtpserver.h.

## ◆ filter_timeout

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

Definition at line 62 of file gsmtpserver.h.

## ◆ ident

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

Definition at line 59 of file gsmtpserver.h.

## ◆ interfaces

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

Definition at line 57 of file gsmtpserver.h.

## ◆ port

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

Definition at line 58 of file gsmtpserver.h.

## ◆ protocol_config

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

Definition at line 67 of file gsmtpserver.h.

## ◆ sasl_server_config

std::string GSmtp::Server::Config::sasl_server_config

Definition at line 68 of file gsmtpserver.h.

## ◆ server_config

GNet::ServerConfig GSmtp::Server::Config::server_config

Definition at line 66 of file gsmtpserver.h.

## ◆ server_peer_config

GNet::ServerPeerConfig GSmtp::Server::Config::server_peer_config

Definition at line 65 of file gsmtpserver.h.

## ◆ verifier_address

std::string GSmtp::Server::Config::verifier_address

Definition at line 63 of file gsmtpserver.h.

## ◆ verifier_timeout

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

Definition at line 64 of file gsmtpserver.h.

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

- /usr/src/slapt-src-x86_64/network/emailrelay/emailrelay-2.3/src/gsmtp/gsmtpserver.h
- /usr/src/slapt-src-x86_64/network/emailrelay/emailrelay-2.3/src/gsmtp/gsmtpserver.cpp