Qsmtp  0.23svn
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
unsigned long thisbytes
string mailfrom
string authname
char * tlsclient
string remotehost
char remoteip [INET6_ADDRSTRLEN]
char * remoteinfo
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

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

result of the lookup for fromips

MX IPs of from domain

unsigned int xmitstat::helostatus

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

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!

the current from address

the reverse lookup of the remote host

info gathered by tcpserver like remote username

char xmitstat::remoteip[INET6_ADDRSTRLEN]

ip of the remote host as set in the environment

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

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

the SPF mechanism that matched

struct in6_addr xmitstat::sremoteip

parsed remote ip

unsigned long xmitstat::thisbytes

size of the message announced by the remote host

TLS client authenticated by certificate for relaying


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