Thread View: news.software.nntp
5 messages
5 total messages
Started by Robert Oldfield
Mon, 13 Oct 1997 00:00
Posting to moderators problem with INN
Author: Robert Oldfield
Date: Mon, 13 Oct 1997 00:00
Date: Mon, 13 Oct 1997 00:00
13 lines
1079 bytes
1079 bytes
A couple of weeks ago one of the users of our INN installation began to complain that he could no longer send to sci.military.moderated. I've been trying to follow this up with little success. When I try to send to this group, I get the error message "Recipient names must be specified". I can send a email though to sci-military-moderated@uunet.uu.net OK, but not is seems though INN. The moderators file seems to be OK. Has anyone seen this problem before ? Any help would be appreciated.
Re: Posting to moderators problem with INN
Author: Andrew Gierth
Date: Mon, 13 Oct 1997 00:00
Date: Mon, 13 Oct 1997 00:00
26 lines
1431 bytes
1431 bytes
>>>>> "Forrest" == Forrest J Cavalier <mibsoft@epix.net> writes: Forrest> _PATH_SENDMAIL should be: Forrest> /path/to/sendmail -t No. Actually, it should be: /path/to/sendmail -i %s Using -t instead of %s results in duplicate mailing of articles with CC headers. Omitting the -i causes truncation of articles with '.' alone on a line. Forrest> OR (if you get "Recipient names must be specified", it means your Forrest> sendmail is not getting the recipient from the To: header....) Forrest> /path/to/sendmail -t %s No. Never use both -t and %s. man sendmail for why not. -- Andrew.
Re: Posting to moderators problem with INN
Author: Andrew Gierth
Date: Mon, 13 Oct 1997 00:00
Date: Mon, 13 Oct 1997 00:00
17 lines
1268 bytes
1268 bytes
>>>>> "Robert" == Robert Oldfield <Robert.Oldfield@ccd.tas.gov.au> writes: Robert> When I try to send to this group, I get the error message Robert> "Recipient names must be specified". I can send a email Robert> though to sci-military-moderated@uunet.uu.net OK, but not is Robert> seems though INN. The moderators file seems to be OK. Has Robert> anyone seen this problem before ? What's your _PATH_SENDMAIL set to in config.data? What version of INN? -- Andrew.
Re: Posting to moderators problem with INN
Author: Forrest J. Cavalier III
Date: Mon, 13 Oct 1997 00:00
Date: Mon, 13 Oct 1997 00:00
46 lines
2343 bytes
2343 bytes
In article <877mbhhi0k.fsf@erlenstar.demon.co.uk>, andrew@erlenstar.demon.co.uk wrote... > >>>>>> "Forrest" == Forrest J Cavalier <mibsoft@epix.net> writes: > > Forrest> _PATH_SENDMAIL should be: > > Forrest> /path/to/sendmail -t > >No. Actually, it should be: > >/path/to/sendmail -i %s > >Using -t instead of %s results in duplicate mailing of articles with >CC headers. Omitting the -i causes truncation of articles with '.' >alone on a line. I stand corrected. One thing to note is that if you are getting the "Recipient names must be specified" error, it means that your sendmail does NOT parse To: headers when you give a -t flag. My inclusion of it in the command line was wrong. Thanks for catching my error and posting the correction. A bit more.... As far as I know, inews does not write CC: headers, although it would probably honor them if someone posted with one. I haven't looked at the code to answer that. Depending on how you look at it, you might WANT to have duplicate mailing of articles with CC headers. But I agree that -t with %s is generally not useful. The moral of the story is to read the manpage for whatever flavor of sendmail you will be using. You can test if it will work by running it directly from the command line as it would be run in inews.c, replacing %s with the test address. The test message should start with a To: header line, which is inserted by inews. There is no need to bother any moderators, or wait for your post to show up in a moderated group (it probably won't if it is a test post.) If it works from the command line as user news, then it will likely work when a user tries to post to a moderated group. Forrest
Re: Posting to moderators problem with INN
Author: Forrest J. Cavalier III
Date: Mon, 13 Oct 1997 00:00
Date: Mon, 13 Oct 1997 00:00
42 lines
1977 bytes
1977 bytes
In article <3441AE51.7636@ccd.tas.gov.au>, Robert.Oldfield@ccd.tas.gov.au
wrote...
>
>A couple of weeks ago one of the users of our INN installation began to
>complain that he could no longer send to sci.military.moderated. I've
>been trying to follow this up with little success.
>
>When I try to send to this group, I get the error message "Recipient
>names must be specified". I can send a email though to
>sci-military-moderated@uunet.uu.net OK, but not is seems though INN. The
>moderators file seems to be OK. Has anyone seen this problem before ?
>
>Any help would be appreciated.
_PATH_SENDMAIL is a misnomer. In reality, it is a printf argument.
A client site which was following that that O'Reilly book, ended
up having the same problem.
_PATH_SENDMAIL should be:
/path/to/sendmail -t
OR (if you get "Recipient names must be specified", it means your
sendmail is not getting the recipient from the To: header....)
/path/to/sendmail -t %s
[And please don't bother me complaining that "/path/to/sendmail"
does not exist! It is an <example>, not a literal solution. The
important distinction is the addition of the %s...]
Forrest Cavalier, Mib Software, INN customization and consulting
Searchable hypertext INN docs, FAQ, RFCs, etc: 650+ pages:
http://www.mibsoftware.com/userkt/forprov.htm
Commercial support for INN: http://www.mibsoftware.com/innsup.htm
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