Article View: news.software.nntp
Article #87747Re: Please consider this INN patch for mailpost
From: Julien ÉLIE
Date: Wed, 19 Jul 2017 20:41
Date: Wed, 19 Jul 2017 20:41
57 lines
3516 bytes
3516 bytes
Hi Dieter, Yeah, now taken into account 7 years after your proposal. Better now than never :) They will be shipped with INN 2.6.2: https://inn.eyrie.org/trac/changeset/10166 https://inn.eyrie.org/trac/changeset/10167 https://inn.eyrie.org/trac/changeset/10168 Do you happen to have other improvements to mailpost? > What this patch does and why: > > 1) Adds a "-z" parameter to remove any undesired headers from the gated > message. It also forces removal of the "Bcc:" header. Under SMTP, Bcc is > permitted to exist with a blank RHS, but NNTP forbids a blank RHS for any > header. (Without this patch for "Bcc:", the script was promoting it to > "X-Bcc:" and leaving it in the article; a violation of the article format.) Thanks for that new parameter! Note that I've dropped the part about the Bcc: header in your patch because the problem of empty header fields has been fixed by other patches for INN 2.6.2: https://inn.eyrie.org/trac/changeset/10162 https://inn.eyrie.org/trac/changeset/10156 > 2) Edits the incoming SMTP message's "Received:" header to remove any "for > <mailbox>" clause which contains the name of the news server (or its > domain). It determines the name by examining "pathhost", "fromhost" and > "domain" (from file "inn.conf"). The reason for this is to protect the > gateway mailbox from spammers who may seek to abuse the gateway. This will > also remove any "*-To:" headers that cite the news server host or domain > name (e.g. "Errors-To:" which are set to report back which user bounced by > using a mailbox pattern in the envelope). As the gateway mailbox name is > now hidden, spammers will have to discover it via other means. It's not > meant as an anti-spam measure by itself, but spammers can't spam that which > they can't find. Since the administrator knows the message was gated, he > knows it was delivered to the gateway mailbox, so information deleted from > the trace header isn't "lost"; just merely hidden. "For" clauses from > other "Received:" headers not specifying the mail server's host/domain are > left intact. OK, I'm fine with that. -- Julien ÉLIE « – Chef ! On vient ! – On se met en carré ? – Non ! En bosquet ! » (Astérix)
Technical Details
Message-ID:
<okog6a$mal$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.(19219).mbox.7z!not-for-mailReferences:
<i4s5et$6km$1@snarked.org>Show Full Headers
Complete Article Headers
Message-ID: <okog6a$mal$1@news.trigofacile.com> Subject: Re: Please consider this INN patch for mailpost Date: Wed, 19 Jul 2017 22:41:40 +0200 From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> References: <i4s5et$6km$1@snarked.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.(19219).mbox.7z!not-for-mail Newsgroups: news.software.nntp Organization: TrigoFACILE -- http://www.trigofacile.com/ Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Wed, 19 Jul 2017 20:41:46 -0000 (UTC) Injection-Info: news.trigofacile.com; posting-account="julien"; posting-host="2a01cb0800a77500a54dbc28b998d502.ipv6.abo.wanadoo.fr:2a01:cb08:a7:7500:a54d:bc28:b998:d502"; logging-data="22869"; mail-complaints-to="abuse@trigofacile.com" User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 In-Reply-To: <i4s5et$6km$1@snarked.org> Content-Language: fr X-Received-Body-CRC: 47835647 X-Received-Bytes: 3509