Thread View: news.software.nntp
7 messages
7 total messages
Started by Michael Vogel
Thu, 16 Jul 2009 23:33
mailpost generates "sender" header - why?
Author: Michael Vogel
Date: Thu, 16 Jul 2009 23:33
Date: Thu, 16 Jul 2009 23:33
25 lines
1839 bytes
1839 bytes
Hi! I want to synchronize several mailing lists with a newsserver. It works - but I have the problem that every post in the newsgroup has got the "sender:" header containing the username and hostname where mail2post was started. The configuration is the following: - Mails are fetched via fetchmail - some headers are removed by formail - then mail2post is invoked It looks like the following: :0 H: * ^List-Id.*list.domain.tld | /usr/lib/news/bin/mailpost -b /tmp -x In-Reply-To:User-Agent news.grp "nnrpdauthsender" in the inn.conf is deactivated. When syncing via mailman's internal function (which I cannot use all the time) no sender header is created. So where is the problem? Michael
Re: mailpost generates "sender" header - why?
Author: D. Stussy
Date: Fri, 17 Jul 2009 02:41
Date: Fri, 17 Jul 2009 02:41
39 lines
2675 bytes
2675 bytes
"Michael Vogel" <ike@spamfence.net> wrote in message news:4a5fb8d2$0$30229$9b4e6d93@newsspool1.arcor-online.net... > I want to synchronize several mailing lists with a newsserver. It works > - but I have the problem that every post in the newsgroup has got the > "sender:" header containing the username and hostname where mail2post > was started. > > The configuration is the following: > - Mails are fetched via fetchmail > - some headers are removed by formail > - then mail2post is invoked > > It looks like the following: > :0 H: > * ^List-Id.*list.domain.tld > | /usr/lib/news/bin/mailpost -b /tmp -x In-Reply-To:User-Agent news.grp > > "nnrpdauthsender" in the inn.conf is deactivated. > > When syncing via mailman's internal function (which I cannot use all the > time) no sender header is created. > > So where is the problem? Why do you THINK it's a problem? The "Sender:" header is to mark the identity of the submitter of the message into Usenet. The submitter is the gateway, so the header shows the "user" identity that the gateway uses, as it's supposed to. In e-mail, a "Sender:" header is used similarly - when the actual submitter is an identity different from the author (appearing in "From:"). Since a mail-to-news-gated list may be gated at more than one point to the same newsgroup, the "Sender:" header identifies which gateway was responsible for gating a particular message. (The "Path:" header may also include this, but by identifying the gateway's path entry.)
Re: mailpost generates "sender" header - why?
Author: Michael Vogel
Date: Fri, 17 Jul 2009 11:12
Date: Fri, 17 Jul 2009 11:12
29 lines
2317 bytes
2317 bytes
Hi! D. Stussy <spam@bde-arc.ampr.org> wrote: > "Michael Vogel" <ike@spamfence.net> wrote in message > news:4a5fb8d2$0$30229$9b4e6d93@newsspool1.arcor-online.net... >> I want to synchronize several mailing lists with a newsserver. It works >> - but I have the problem that every post in the newsgroup has got the >> "sender:" header containing the username and hostname where mail2post >> was started. > > Why do you THINK it's a problem? I want to seperate the postings that were done via mailing list and directly. Since this (private) newsserver will be synced with a forum I want to use the "Sender" header to get the approved user (you can only use the newsgroup with an account) Additionally it could confuse several users why there was always my name in the header ;-) > Since a mail-to-news-gated list may be gated at more than one point to the > same newsgroup, the "Sender:" header identifies which gateway was > responsible for gating a particular message. (The "Path:" header may also > include this, but by identifying the gateway's path entry.) Since it's a private newsserver with no peering there will be no problems like these. Michael
Re: mailpost generates "sender" header - why?
Author: D. Stussy
Date: Fri, 17 Jul 2009 19:54
Date: Fri, 17 Jul 2009 19:54
50 lines
3177 bytes
3177 bytes
"Michael Vogel" <ike@spamfence.net> wrote in message news:4a605ca5$0$31327$9b4e6d93@newsspool4.arcor-online.net... > D. Stussy <spam@bde-arc.ampr.org> wrote: > > "Michael Vogel" <ike@spamfence.net> wrote in message > > news:4a5fb8d2$0$30229$9b4e6d93@newsspool1.arcor-online.net... > >> I want to synchronize several mailing lists with a newsserver. It works > >> - but I have the problem that every post in the newsgroup has got the > >> "sender:" header containing the username and hostname where mail2post > >> was started. > > > > Why do you THINK it's a problem? > > I want to seperate the postings that were done via mailing list and > directly. Since this (private) newsserver will be synced with a forum I > want to use the "Sender" header to get the approved user (you can only > use the newsgroup with an account) > > Additionally it could confuse several users why there was always my name > in the header ;-) That's why one sets up a separate userID to run the script (or any non-root-privileged operations not attributable to another user). Don't use your own ID. All of my mailing list to newsgroup mappings occur in virtusertable. Here's what gets set: From: (set to original author) Sender: mailserv@snarked.org (this is the mail server's userid) X-Complaints-To: newsmaster@snarked.org I keep my mailing list subscriptions in NON-DISTRIBUTED groups. There are additional issues that arise when the groups are gated by more than one server. If your users don't know what the headers mean, perhaps they should be educated.... > > Since a mail-to-news-gated list may be gated at more than one point to the > > same newsgroup, the "Sender:" header identifies which gateway was > > responsible for gating a particular message. (The "Path:" header may also > > include this, but by identifying the gateway's path entry.) > > Since it's a private newsserver with no peering there will be no > problems like these. OK.
Re: mailpost generates "sender" header - why?
Author: Michael Vogel
Date: Fri, 17 Jul 2009 20:51
Date: Fri, 17 Jul 2009 20:51
33 lines
2532 bytes
2532 bytes
Hi! D. Stussy schrieb: > "Michael Vogel" <ike@spamfence.net> wrote in message > news:4a605ca5$0$31327$9b4e6d93@newsspool4.arcor-online.net... > >> Additionally it could confuse several users why there was always my name >> in the header ;-) > > That's why one sets up a separate userID to run the script (or any > non-root-privileged operations not attributable to another user). For the testing time it's perfect. But I guess you are right ... > Don't use your own ID. All of my mailing list to newsgroup mappings occur in > virtusertable. Here's what gets set: > > From: (set to original author) > Sender: mailserv@snarked.org (this is the mail server's userid) > X-Complaints-To: newsmaster@snarked.org My only problem now is that the hostname not only contains the domain but also the machine name: mail2news@machine.domain.tld I would like to have it changed to: mail2news@news.domain.tld But: I cannot change the sendmail configuration. So question is if there is some possibility to have this changed from within the INN configuration. So the next thing I would like to have is some perl magician who could help me in removing the mailman footer without reconfiguration. Michael
Re: mailpost generates "sender" header - why?
Author: D. Stussy
Date: Fri, 17 Jul 2009 21:38
Date: Fri, 17 Jul 2009 21:38
40 lines
2712 bytes
2712 bytes
"Michael Vogel" <ike@spamfence.net> wrote in message news:4a60e43f$0$31873$9b4e6d93@newsspool3.arcor-online.net... > D. Stussy schrieb: > > "Michael Vogel" <ike@spamfence.net> wrote in message > > news:4a605ca5$0$31327$9b4e6d93@newsspool4.arcor-online.net... > > > >> Additionally it could confuse several users why there was always my name > >> in the header ;-) > > > > That's why one sets up a separate userID to run the script (or any > > non-root-privileged operations not attributable to another user). > > For the testing time it's perfect. But I guess you are right ... > > > Don't use your own ID. All of my mailing list to newsgroup mappings occur in > > virtusertable. Here's what gets set: > > > > From: (set to original author) > > Sender: mailserv@snarked.org (this is the mail server's userid) > > X-Complaints-To: newsmaster@snarked.org > > My only problem now is that the hostname not only contains the domain > but also the machine name: mail2news@machine.domain.tld > > I would like to have it changed to: mail2news@news.domain.tld > > But: I cannot change the sendmail configuration. So question is if there > is some possibility to have this changed from within the INN configuration. fromhost in "~news/etc/inn.conf"? > So the next thing I would like to have is some perl magician who could > help me in removing the mailman footer without reconfiguration. Can't you tell mailman not to set it?
Re: mailpost generates "sender" header - why?
Author: Michael Vogel
Date: Sat, 18 Jul 2009 06:42
Date: Sat, 18 Jul 2009 06:42
35 lines
2604 bytes
2604 bytes
Hi! D. Stussy schrieb: > "Michael Vogel" <ike@spamfence.net> wrote in message > news:4a60e43f$0$31873$9b4e6d93@newsspool3.arcor-online.net... > >> My only problem now is that the hostname not only contains the domain >> but also the machine name: mail2news@machine.domain.tld >> >> I would like to have it changed to: mail2news@news.domain.tld >> >> But: I cannot change the sendmail configuration. So question is if there >> is some possibility to have this changed from within the INN configuration. > > fromhost in "~news/etc/inn.conf"? Great! That helped. But I also found out another thing: if nnrpdauthsender is set to true then the sender is only set for users who posted directly to the newsserver. >> So the next thing I would like to have is some perl magician who could >> help me in removing the mailman footer without reconfiguration. > > Can't you tell mailman not to set it? I will sync several mailing lists that are hosted on several servers with several admins. Some I may convince - some not. But I found a solution: t-prot Looks like it does its job - besides the fact that it destroys signatures. Maybe I should try to find a script for this as well. Michael
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads