Article View: news.software.nntp
Article #79659Re: Can I Alter the News Header Like I Can In Sendmail and Postfix?
From: Julien ÉLIE
Date: Mon, 17 Nov 2008 08:41
Date: Mon, 17 Nov 2008 08:41
39 lines
2390 bytes
2390 bytes
Hi Paul,
> X-Trace: jellygram.net 1226840268 19350 72.219.34.187 (16 Nov 2008 12:57:48 GMT)
>
> I'd just like to remove or alter the X-Trace: line to only reflect
> enother.com, rather than my main servers primary name..
domain
* alter:
http://www.eyrie.org/~eagle/software/inn/docs/readers.conf.html
See virtualhost: and domain: in readers.conf.
* remove :
http://www.eyrie.org/~eagle/faqs/inn.html
6.11. Hide the X-Trace header
There is no built-in support for suppressing generation of the X-Trace header.
You can, however, remove it from inside a Perl posting filter.
Try using a posting filter like this:
sub filter_post {
$modify_headers = 1;
delete $hdr{'X-Trace'};
return '';
}
Note that you have to set $modify_headers to make changes to the article header
effective in the actual posted article.
--
Julien ÉLIE
« -- Je vous ai à l'oil, Gaulois !
-- Briseradius est furieux, je ne donne pas cher de votre peau !
-- Bien sûr, puisqu'il nous a à l'oil. » (Astérix)
Technical Details
Message-ID:
<gfraof$o1h$1@news.trigofacile.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!feeder1.news.weretis.net!newsfeeder.dynfx.net!weretis.net!news.trigofacile.com!not-for-mailReferences:
<gfqdde$4vb$1@jellygram.net>Show Full Headers
Complete Article Headers
Message-ID: <gfraof$o1h$1@news.trigofacile.com> Subject: Re: Can I Alter the News Header Like I Can In Sendmail and Postfix? Date: Mon, 17 Nov 2008 09:41:41 +0100 From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> References: <gfqdde$4vb$1@jellygram.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!feeder1.news.weretis.net!newsfeeder.dynfx.net!weretis.net!news.trigofacile.com!not-for-mail Newsgroups: news.software.nntp Organization: TrigoFACILE -- http://www.trigofacile.com/ Lines: 39 NNTP-Posting-Host: amontpellier-152-1-79-24.w83-201.abo.wanadoo.fr Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 8bit X-Trace: news.trigofacile.com 1226911312 24625 83.201.238.24 (17 Nov 2008 X-Complaints-To: abuse@trigofacile.com NNTP-Posting-Date: Mon, 17 Nov 2008 08:41:52 +0000 (UTC) In-Reply-To: <gfqdde$4vb$1@jellygram.net> X-MSMail-Priority: Normal X-Newsreader: Microsoft Windows Mail 6.0.6001.18000 X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6001.18049