masqmail

diff src/masqmail.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 1f0d63713a1c
children c678d0342451
line diff
     1.1 --- a/src/masqmail.c	Tue Jun 29 10:37:18 2010 +0200
     1.2 +++ b/src/masqmail.c	Tue Jun 29 10:45:33 2010 +0200
     1.3 @@ -813,7 +813,7 @@
     1.4  
     1.5  	case MODE_ACCEPT:
     1.6  		{
     1.7 -			guint accept_flags = (opt_t ? ACC_DEL_RCPTS | ACC_RCPT_FROM_HEAD : ACC_HEAD_FROM_RCPT)
     1.8 +			guint accept_flags = (opt_t ? ACC_DEL_RCPTS | ACC_RCPT_FROM_HEAD : 0)
     1.9  			                     | (opt_i ? ACC_NODOT_TERM : ACC_NODOT_RELAX);
    1.10  			mode_accept(return_path, full_sender_name, accept_flags, &(argv[arg]), argc - arg);
    1.11  			exit(exit_failure ? EXIT_FAILURE : EXIT_SUCCESS);