masqmail-0.2

diff src/masqmail.c @ 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 2ac8a66ee108
line diff
     1.1 --- a/src/masqmail.c	Wed Jun 30 15:45:34 2010 +0200
     1.2 +++ b/src/masqmail.c	Thu Jul 01 13:08:53 2010 +0200
     1.3 @@ -317,6 +317,9 @@
     1.4  		case AERR_NORCPT:
     1.5  			fprintf(stderr, "no recipients.\n");
     1.6  			exit(EXIT_FAILURE);
     1.7 +		case AERR_SIZE:
     1.8 +			fprintf(stderr, "max message size exceeded.\n");
     1.9 +			exit(EXIT_FAILURE);
    1.10  		default:
    1.11  			/* should never happen: */
    1.12  			fprintf(stderr, "Unknown error (%d)\r\n", err);