Qsmtp  0.30dev
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
 
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

string xmitstat::authname

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

unsigned int xmitstat::check2822

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

unsigned int xmitstat::datatype

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

unsigned int xmitstat::esmtp

if we are using ESMTP extensions

int xmitstat::fromdomain

result of the lookup for fromips

struct ips* xmitstat::frommx

MX IPs of from domain

unsigned int xmitstat::helostatus

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

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}

unsigned int xmitstat::ipv4conn

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

char xmitstat::localip[INET6_ADDRSTRLEN]

ip of local socket. If ipv4conn in IPv4 form!

string xmitstat::mailfrom

the current from address

string xmitstat::remotehost

the reverse lookup of the remote host

const char* xmitstat::remoteinfo

info gathered by tcpserver like remote username

char xmitstat::remoteip[INET6_ADDRSTRLEN]

ip of the remote host as set in the environment

const char* xmitstat::remoteport

port used by remote host

struct in6_addr xmitstat::slocalip

parsed local ip

unsigned int xmitstat::spacebug

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

unsigned int xmitstat::spf

result of the SPF lookup

char* xmitstat::spfexp

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

const char* xmitstat::spfmechanism

the SPF mechanism that matched

struct in6_addr xmitstat::sremoteip

parsed remote ip

size_t xmitstat::thisbytes

size of the message announced by the remote host

char* xmitstat::tlsclient

TLS client authenticated by certificate for relaying


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