Thread View: news.software.nntp
9 messages
9 total messages
Started by Terje Trane
Tue, 14 May 2002 18:32
Mail and news gateway on INN
Author: Terje Trane
Date: Tue, 14 May 2002 18:32
Date: Tue, 14 May 2002 18:32
14 lines
1506 bytes
1506 bytes
What are sensible ways of setting up news so that you can use both a newsreader and mail and see the same articles? We have a newsserver that is RedHat 6.2 with INN 2.2.2 and are setting up a few local groups for our own use. We also use sendmail on the same server. I see that there is a news2mail and a mailpost program in the INN rpm. I also know that there is a program called mail2news (on www.terrius.net/~gossamer). What are people using and what are the pros and cons?
Re: Mail and news gateway on INN
Author: bill
Date: Tue, 14 May 2002 21:44
Date: Tue, 14 May 2002 21:44
29 lines
2166 bytes
2166 bytes
I have used mailpost and news2mail. Both are adequate. The problem is that users often want to reply to a post (either mail or news.) And the question is how to handle that without causing mail loops. If a user posts a reply to news, how do you send it to the mailing list? Our answer was to tell the news server that these are moderated groups, and list the mailing list address as the moderator address. It's ugly, but it works. Your mileage may vary. Beware of mail loops from software that strips off the mail headers! Make sure you test it with a test group first.... Good luck. Bill Terje Trane wrote: > What are sensible ways of setting up news so that you can use both a > newsreader and mail and see the same articles? > > We have a newsserver that is RedHat 6.2 with INN 2.2.2 and are setting up a > few local groups for our own use. We also use sendmail on the same server. > > I see that there is a news2mail and a mailpost program in the INN rpm. I > also know that there is a program called mail2news (on > www.terrius.net/~gossamer). What are people using and what are the pros and > cons?
Re: Mail and news gateway on INN
Author: Jeffrey M. Vinocur
Date: Wed, 15 May 2002 03:27
Date: Wed, 15 May 2002 03:27
14 lines
1419 bytes
1419 bytes
In article <mLcE8.2273$qE4.287761@juliett.dax.net>, Terje Trane <terje_trane@hotmail.com> wrote: >What are sensible ways of setting up news so that you can use both a >newsreader and mail and see the same articles? What are you using for mailng lists? Mailman has support for bidirectional gatewaying, and some quick tests I did a while back showed that it worked fine. -- Jeffrey M. Vinocur jeff@litech.org
Re: Mail and news gateway on INN
Author: Terje Trane
Date: Wed, 15 May 2002 07:47
Date: Wed, 15 May 2002 07:47
43 lines
3122 bytes
3122 bytes
"bill" <bsellers61@yahoo.com> wrote in message news:3CE1853E.AB213367@yahoo.com... > > I have used mailpost and news2mail. Both are adequate. The problem is that > users often want to reply to a post (either mail or news.) And the question is > how to handle that without causing mail loops. If a user posts a reply to > news, how do you send it to the mailing list? Our answer was to tell the news > server that these are moderated groups, and list the mailing list address as > the moderator address. It's ugly, but it works. Your mileage may vary. I set up news2mail and mailpost (the ones that comes with inn-2.2.2) and an initial tests show that this seems to work almost as I want. I prefer if possible to use as few extra programs as possible, and as few hacks as possible. Since news2mail and mailpost already are there I would like to be able to use them. Might make life simpler when updating also. Mailpost has a database where it registers what it has seen to avoid loops. I configure news2mail.cf and newsfeed as in the docs, and I make one entry for each group in /etc/aliases that is a pipe to mailpost to that group. I also make an alias for each group and put the subscribers in it. If I write an article in the news reader (Outlook Express), it shows up in the group and I get a mailed copy, good. If I reply to it in the news reader it works too. If I press Reply in my mail client (Outlook) it shows only the address of the articles author, if I press Reply to all it shows the author and the newsgroup address. I think I would have preferred Reply to go to the group-address since most likely people will press this automatically. Anyway, I press Reply to all, delete the authors address (since it is me) and sends it. One mail pops up and one article at its correct place in the thread. Good. I'll have to test some more , but this seems to work, and since it is perl-scripts I guess I can tweak it a bit if needed.
Re: Mail and news gateway on INN
Author: Terje Trane
Date: Wed, 15 May 2002 07:58
Date: Wed, 15 May 2002 07:58
21 lines
1983 bytes
1983 bytes
"Jeffrey M. Vinocur" <jeff@litech.org> wrote in message news:abskj3$l06$2@marduk.litech.org... > In article <mLcE8.2273$qE4.287761@juliett.dax.net>, > Terje Trane <terje_trane@hotmail.com> wrote: > >What are sensible ways of setting up news so that you can use both a > >newsreader and mail and see the same articles? > > What are you using for mailng lists? Mailman has support for > bidirectional gatewaying, and some quick tests I did a while back > showed that it worked fine. I haven't set up any mailinglists. It started with me setting up an INN newsserver and some people wanted to get warnings when new articles were posted so they wouldn't have to check all the time, and then they wanted to be able to reply to these mails. I'm testing news2mail and mailpost that comes with INN now, and it might work as I want. (This is a low volume newsserver with max 25 users).
Re: Mail and news gateway on INN
Author: Mark H. Wood
Date: Wed, 15 May 2002 14:34
Date: Wed, 15 May 2002 14:34
9 lines
1418 bytes
1418 bytes
Before gatewaying any external newsgroups, be sure that the denizens of those groups don't object. Some people take it ill, thinking that it leads to more address harvesting by UCE pests, or that it's just rude. -- Mark H. Wood, Lead System Programmer mwood@IUPUI.Edu MS Windows *is* user-friendly, but only for certain values of "user".
Re: Mail and news gateway on INN
Author: Hauke Fath
Date: Wed, 15 May 2002 17:07
Date: Wed, 15 May 2002 17:07
26 lines
2351 bytes
2351 bytes
bill <bsellers61@yahoo.com> wrote:
> I have used mailpost and news2mail. Both are adequate. The problem is
> that users often want to reply to a post (either mail or news.) And the
> question is how to handle that without causing mail loops. If a user
> posts a reply to news, how do you send it to the mailing list? Our answer
> was to tell the news server that these are moderated groups, and list the
> mailing list address as the moderator address. It's ugly, but it works.
> Your mileage may vary.
Same here. Unfortunately, some mailing-lists insist that you have to be
subscribed when you post. This would require moving the original 'From:'
address to 'Reply-To:' and replacing it with the subscribed address,
which afaics is not possible with the current INN moderator mechanism
(1.7.2 + patches here).
How do people handle this problem?
hauke
--
Wer im Usenet gelesen werden will, sollte leserorientiert schreiben. Wer
nur f�r sich schreiben will, dem ist mit einem Tagebuch vielleicht
besser geholfen. Gelesen zu werden ist kein Recht, sondern ein Privileg.
(Thore Tams in d.n.s.umgangsformen)
Re: Mail and news gateway on INN
Author: Bill
Date: Thu, 16 May 2002 14:00
Date: Thu, 16 May 2002 14:00
28 lines
2204 bytes
2204 bytes
Hauke Fath wrote: > Same here. Unfortunately, some mailing-lists insist that you have to be > subscribed when you post. This would require moving the original 'From:' > address to 'Reply-To:' and replacing it with the subscribed address, > which afaics is not possible with the current INN moderator mechanism > (1.7.2 + patches here). > > How do people handle this problem? I have not encountered this problem, but I can see some problems with it. If the mailing list requires that a person be subscribed, and they are subscribed, and using a correctly configured newsreader, it should not be a problem. If a person that is not part of the mailing list wants to post, they should subscribe. Those are policy issues. Technically, you could do it by sending the output of the post (via the moderator function) to a sendmail alias which runs a filter that rewrites the mail headers. I would move the real From: line to a X-From:, and the Reply-to: to a X-Reply-to: line. That preserves the original data, but does what you want. There is plenty of perl code around that could be adapted. Bill
Re: Mail and news gateway on INN
Author: Daniel Tiefnig
Date: Thu, 16 May 2002 16:22
Date: Thu, 16 May 2002 16:22
36 lines
2598 bytes
2598 bytes
Hauke Fath wrote:
> bill <bsellers61@yahoo.com> wrote:
>> I have used mailpost and news2mail. Both are adequate. The problem
>> is that users often want to reply to a post (either mail or news.)
>> And the question is how to handle that without causing mail loops.
>> If a user posts a reply to news, how do you send it to the mailing
>> list? Our answer was to tell the news server that these are
>> moderated groups, and list the mailing list address as the moderator
>> address. It's ugly, but it works. Your mileage may vary.
It's not ugly, that's the way it ought to be. :o)
> Same here. Unfortunately, some mailing-lists insist that you have to
> be subscribed when you post. This would require moving the original
> 'From:' address to 'Reply-To:' and replacing it with the subscribed
> address, which afaics is not possible with the current INN moderator
> mechanism (1.7.2 + patches here).
>
> How do people handle this problem?
I'm re-writing sender's address with a small Perl skript.
Moderator-email for INN (local.lists.*) is always
"masquerade@localhost" and then information is read out of a hash that
contains newsgroup name, subscription-email and list-emailaddress.
I planned to migrate that information from the Perl hash to LDAP
(running qmail-LDAP on the same machine) but never had the time for
that.. would be a nice hack, i'd say.
lg,
daniel
--
"We have both editors: Emacs _and_ XEmacs."
-- with apologies to "The Blues Brothers"
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