forwarding email to inn
Michael Stassen
stassenm at indiana.edu
Wed Sep 12 15:46:36 UTC 2001
I had this problem with INN 2.2.3 (on Solaris 7). The problem was that
inews writes to pathtmp (/usr/local/news/tmp, in my case), so it wouldn't
work unless inews was run by user news, not the case for
sendmail->mailpost. I was under the impression this would be fixed in
2.3. Then again, you don't say (or I missed it) which version of INN you
have.
Anyway, the solution for me was to make inews setgid news and make pathtmp
group-writable by group news. I expect you can do this (as root) with
chmod g+xs /usr/local/news/bin/inews
chmod g+rwx /usr/local/news/tmp
so inews should be -r-xr-s--- news:news
and pathtmp should be drwxrwx--- news:news
Michael
On Wed, 12 Sep 2001, Bill Tangren wrote:
>
> I did this, and I now get the error:
>
> inews failed: sh: /usr/local/news/bin/inews: Permission denied
>
> After looking at some archived posts to this list serv, I think this is caused by
> not having a flag "--enable-setgid-inews" set on ./configure of inn. Is this true? Will
> this fix the problem?
>
> Bill Tangren
>
>
> >
> >
> > Looks to me like
> >
> > > smrsh: mailpost not available for sendmail programs
> >
> > is the clue. It appears that sendmail/smrsh is refusing to run
> > mailpost. See http://www.sendmail.org/faq/section3.html#3.34
> >
> > Michael
> >
> > On Tue, 11 Sep 2001, Bill Tangren wrote:
> >
> > >
> > > This question may be better posed to procmail (or sendmail) lists, but I
> > > thought I would try here first. I have a test user on my RedHat 7.0 box
> > > called 'helptest'. I have a line in my /etc/aliases file that reads:
> > >
> > >
> > > helptest: "|/usr/bin/mailpost -d local usno.aa.test"
> > >
> > >
> > > The newsgroup I set up is usno.aa.test. When I send an email to helptest,
> > > I get the following error (in a returned email):
> > >
> > > ----- The following addresses had permanent fatal errors -----
> > > "|/usr/bin/mailpost -d local usno.aa.test"
> > > (reason: service unavailable)
> > > (expanded from: <helptest at aa.usno.navy.mil>)
> > >
> > > ----- Transcript of session follows -----
> > > smrsh: mailpost not available for sendmail programs
> > > 554 5.0.0 "|/usr/bin/mailpost -d local usno.aa.test" ... Service
> > > unavailable
> > >
> > > Could the problem be in how I set up the newsgroup? I read the man pages for mailpost
> > > and inews.
> > >
> > >
> > > Bill Tangren
> > >
> > >
> >
>
>
>
More information about the inn-workers
mailing list