Article View: news.software.nntp
Article #72409Re: Sender header
From: Jeffrey M. Vinocur
Date: Thu, 06 Oct 2005 20:50
Date: Thu, 06 Oct 2005 20:50
29 lines
1999 bytes
1999 bytes
In article <di3kbp$6bk$1@news.onet.pl>, Jerzy Kedra <jxa@onet.pl> wrote: > >INN 2.4 can insert authenticated sender name in Sender header >when nnrpdauthsender is set in inn.conf or readers.conf. > >This is the nice feature to modify Sender in filter_nnrpd.pl. >But I cannot delete it - inn seems to regenerate the original. Looking at the source in nnrpd/perl.c:HandleHeaders(), it seems to me that this code does not permit deletion of headers at all. That is, it works by looking through each %hdr entry and updating the corresponding part of the article. Therefore if something is removed from %hdr, INN will not notice. (Russ, do you think this is worth reworking that code for?) >I would like to crypt real sender into X-Sender header. >In Sender is real mail address which shouldn't be exposed. This seems like a reasonable thing to do. But you can get the authenticated username via the Perl variable $user. Then you shouldn't need nnrpdauthsender at all. -- Jeffrey M. Vinocur jeff@litech.org
Technical Details
Message-ID:
<di42n3$nsj$1@puck.litech.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!number1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!news.glorb.com!news.litech.org!not-for-mailReferences:
<di3kbp$6bk$1@news.onet.pl>Show Full Headers
Complete Article Headers
Message-ID: <di42n3$nsj$1@puck.litech.org> Subject: Re: Sender header Date: Thu, 06 Oct 2005 20:50:43 +0000 From: jeff@litech.org (Jeffrey M. Vinocur) References: <di3kbp$6bk$1@news.onet.pl> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!number1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!news.glorb.com!news.litech.org!not-for-mail Newsgroups: news.software.nntp Organization: Litech Systems Design Lines: 29 Sender: jeff@litech.org NNTP-Posting-Host: puck.litech.org X-Trace: puck.litech.org 1128631843 24467 66.218.0.75 (6 Oct 2005 20:50:43 GMT) X-Complaints-To: usenet@litech.org NNTP-Posting-Date: Thu, 6 Oct 2005 20:50:43 +0000 (UTC) X-Newsreader: trn 4.0-test76 (Apr 2, 2001) Originator: jeff@litech.org (Jeffrey M. Vinocur)