Qsmtp  0.37
Data Fields
xmitstat Struct Reference

#include <qsmtpd.h>

Data Fields

unsigned int esmtp:1
 
unsigned int ipv4conn:1
 
unsigned int check2822:2
 
unsigned int helostatus:3
 
unsigned int datatype:1
 
unsigned int spf:4
 
signed int fromdomain:3
 
unsigned int spacebug:1
 
size_t thisbytes
 
string mailfrom
 
string authname
 
char * tlsclient
 
string remotehost
 
char remoteip [INET6_ADDRSTRLEN]
 
const char * remoteinfo
 
const char * remoteport
 
string helostr
 
struct in6_addr sremoteip
 
char localip [INET6_ADDRSTRLEN]
 
struct in6_addr slocalip
 
struct ipsfrommx
 
char * spfexp
 
const char * spfmechanism
 

Detailed Description

This contains some flags describing the transmission and it's status. This is used e.g. by the user filters.

Field Documentation

◆ authname

string xmitstat::authname

if SMTP AUTH is used (and successful) this is set

◆ check2822

unsigned int xmitstat::check2822

if or not to check the message to strict compliance to RfC 2822

◆ datatype

unsigned int xmitstat::datatype

the datatype announced by the client (7BIT or 8BITMIME)

◆ esmtp

unsigned int xmitstat::esmtp

if we are using ESMTP extensions

◆ fromdomain

signed int xmitstat::fromdomain

result of the lookup for fromips

◆ frommx

struct ips* xmitstat::frommx

MX IPs of from domain

◆ helostatus

unsigned int xmitstat::helostatus

status of the given HELO/EHLO, see antispam.h for the meaning

◆ helostr

string xmitstat::helostr

the helo string sent by the client if different from the reverse lookup if the helo is identical to remotehost this is {NULL, 0}

◆ ipv4conn

unsigned int xmitstat::ipv4conn

if this connection is made from a real IPv6 address or not

◆ localip

char xmitstat::localip[INET6_ADDRSTRLEN]

ip of local socket. If ipv4conn in IPv4 form!

◆ mailfrom

string xmitstat::mailfrom

the current from address

◆ remotehost

string xmitstat::remotehost

the reverse lookup of the remote host

◆ remoteinfo

const char* xmitstat::remoteinfo

info gathered by tcpserver like remote username

◆ remoteip

char xmitstat::remoteip[INET6_ADDRSTRLEN]

ip of the remote host as set in the environment

◆ remoteport

const char* xmitstat::remoteport

port used by remote host

◆ slocalip

struct in6_addr xmitstat::slocalip

parsed local ip

◆ spacebug

unsigned int xmitstat::spacebug

if client sends spaces between ':' and '<'

◆ spf

unsigned int xmitstat::spf

result of the SPF lookup

◆ spfexp

char* xmitstat::spfexp

the SPF explanation if provided by the domain or NULL if none

◆ spfmechanism

const char* xmitstat::spfmechanism

the SPF mechanism that matched

◆ sremoteip

struct in6_addr xmitstat::sremoteip

parsed remote ip

◆ thisbytes

size_t xmitstat::thisbytes

size of the message announced by the remote host

◆ tlsclient

char* xmitstat::tlsclient

TLS client authenticated by certificate for relaying


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