masqmail

diff src/smtpsend.c @ 107:9104234a56a5

never create headers from recipients because it could disclose private information
author meillo@marmaro.de
date Tue, 29 Jun 2010 10:45:33 +0200
parents 26e34ae9a3e3
children c678d0342451
line diff
     1.1 --- a/src/smtpsend.c	Tue Jun 29 10:37:18 2010 +0200
     1.2 +++ b/src/smtpsend.c	Tue Jun 29 10:45:33 2010 +0200
     1.3 @@ -99,7 +99,7 @@
     1.4  			msg->rcpt_list = g_list_append(msg->rcpt_list, create_address_qualified(argv[optind++], TRUE, conf.host_name));
     1.5  		}
     1.6  
     1.7 -		if ((ret = accept_message(stdin, msg, ACC_NODOT_TERM | ACC_HEAD_FROM_RCPT)) == AERR_OK) {
     1.8 +		if ((ret = accept_message(stdin, msg, ACC_NODOT_TERM)) == AERR_OK) {
     1.9  			if ((ret = smtp_deliver(server_name, server_port, resolve_list, msg, NULL, NULL)) == smtp_ok) {
    1.10  				exit(EXIT_SUCCESS);
    1.11  			}