Qsmtp  0.30dev
Functions | Variables
starttlsr.h File Reference

interface for Qremote's STARTTLS handling More...

Go to the source code of this file.

Functions

int tls_init (void)
 send STARTTLS and handle the connection setup More...
 

Variables

const char * clientcertname
 

Detailed Description

interface for Qremote's STARTTLS handling

Function Documentation

int tls_init ( void  )

send STARTTLS and handle the connection setup

Returns
if connection was successfully established
Return values
0SSL mode successfully set up
>0SSL setup failed (non-local fault, e.g. network or reply error)
<0SSL setup failed (local fault, e.g. unable to load file)
EDONEa network error happened but the connection may still be intact

If the return value is <0 a status code for qmail-rspawn was already written.

Variable Documentation

const char* clientcertname

filename of the TLS client certificate