Qsmtp  0.30dev
Functions | Variables
starttls.h File Reference

functions for Qsmtpd STARTTLS functions More...

Go to the source code of this file.

Functions

int smtp_starttls (void)
 
int tls_verify (void)
 verify is authenticated to relay by SSL certificate More...
 

Variables

char certfilename []
 

Detailed Description

functions for Qsmtpd STARTTLS functions

Function Documentation

int smtp_starttls ( void  )

initialize STARTTLS mode

Returns
0 on successful initialization, else error code
int tls_verify ( void  )

verify is authenticated to relay by SSL certificate

Return values
<1error code
0if client is not authenticated
>0if client is authenticated

Variable Documentation

char certfilename[]

path to SSL certificate filename