masqmail

diff src/masqmail.h @ 117:5ec5e6637049

added server-side SMTP SIZE support (patch by Paolo) ``SIZE 0'' (= unlimited) is currently not supported client-side support was already implemented
author meillo@marmaro.de
date Thu, 01 Jul 2010 13:08:53 +0200
parents c678d0342451
children 5b621742b2e7
line diff
     1.1 --- a/src/masqmail.h	Wed Jun 30 15:45:34 2010 +0200
     1.2 +++ b/src/masqmail.h	Thu Jul 01 13:08:53 2010 +0200
     1.3 @@ -174,6 +174,10 @@
     1.4  
     1.5  	guint remote_port;
     1.6  
     1.7 +	/* ANSI C defines unsigned long to be at least 32bit
     1.8 +	   i.e. ca. 4GB max; that should be enough. */
     1.9 +	gulong max_msg_size;
    1.10 +
    1.11  	gboolean do_save_envelope_to;
    1.12  
    1.13  	gboolean defer_all;
    1.14 @@ -332,6 +336,7 @@
    1.15  	AERR_SYNTAX,
    1.16  	AERR_NOSPOOL,
    1.17  	AERR_NORCPT,
    1.18 +	AERR_SIZE,  /* max msg size exeeded (SMTP SIZE) */
    1.19  	AERR_UNKNOWN
    1.20  } accept_error;
    1.21