Just give a little more info. Warning- not tested.
*** verify.c 1996/11/20 19:01:44 1.1
--- verify.c 1996/11/20 19:04:49
***************
*** 954,963 ****
{
DEBUG(2) debug_printf("%s (taken from header) verified ok as %s\n"
" used instead of envelope sender\n", sender_address, newaddr);
! log_write(LOG_MAIN, "return-path %s rewritten using %s",
sender_address,
(h->type == htype_replyto)? "Reply-To" :
! (h->type == htype_sender)? "Sender" : "From");
header_add(htype_other,
"X-BadReturnPath: %s rewritten using %s header\n",
sender_address,
--- 954,963 ----
{
DEBUG(2) debug_printf("%s (taken from header) verified ok as %s\n"
" used instead of envelope sender\n", sender_address, newaddr);
! log_write(LOG_MAIN, "return-path %s rewritten using %s as %s",
sender_address,
(h->type == htype_replyto)? "Reply-To" :
! (h->type == htype_sender)? "Sender" : "From", newaddr);
header_add(htype_other,
"X-BadReturnPath: %s rewritten using %s header\n",
sender_address,