comparison src/accept.c @ 378:5781ba87df95

Removed ident. This had been discussed on the mailing list in Oct 2011. Ident is hardly useful in typical setups for masqmail. Probably Oliver had used it in his setup; that would make sense. Now, I know of nobody who needs it.
author markus schnalke <meillo@marmaro.de>
date Sat, 14 Jan 2012 21:36:58 +0100
parents 9bc3e47b0222
children aa40710f09fe
comparison
equal deleted inserted replaced
377:9bc3e47b0222 378:5781ba87df95
373 msg->uid, for_string ? for_string : "", rec_timestamp()); 373 msg->uid, for_string ? for_string : "", rec_timestamp());
374 } else { 374 } else {
375 /* received from remote */ 375 /* received from remote */
376 DEBUG(5) debugf("adding 'Received:' header (5)\n"); 376 DEBUG(5) debugf("adding 'Received:' header (5)\n");
377 hdr = create_header(HEAD_RECEIVED, 377 hdr = create_header(HEAD_RECEIVED,
378 #ifdef ENABLE_IDENT
379 "Received: from %s (ident=%s)\n\tby %s with %s (%s %s)\n\tid %s%s; %s\n",
380 msg->received_host, msg->ident ? msg->ident : "unknown",
381 #else
382 "Received: from %s\n\tby %s with %s (%s %s)\n\tid %s%s; %s\n", 378 "Received: from %s\n\tby %s with %s (%s %s)\n\tid %s%s; %s\n",
383 msg->received_host, 379 msg->received_host,
384 #endif
385 conf.host_name, prot_names[msg->received_prot], PACKAGE, 380 conf.host_name, prot_names[msg->received_prot], PACKAGE,
386 VERSION, msg->uid, for_string ? for_string : "", 381 VERSION, msg->uid, for_string ? for_string : "",
387 rec_timestamp()); 382 rec_timestamp());
388 } 383 }
389 msg->hdr_list = g_list_prepend(msg->hdr_list, hdr); 384 msg->hdr_list = g_list_prepend(msg->hdr_list, hdr);