🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #44774

mailpost problem

#44774
From: David Swanger
Date: Fri, 03 Mar 2000 00:00
60 lines
2687 bytes
I have Inn 2.2 on a Solaris 2.5.1 machine.  It's
worked fine for several months.  The version of
perl is 5.005_03.

I tried to use mailpost recently and got the following 
results (/tmp/post is a test mail message):

---
cat /tmp/post | /usr/local/news/bin/mailpost auburn.test
Warning: Use of "defined" without parens is ambiguous at 
/usr/local/lib/perl5/site_perl/5.005/sun4-solaris/_h2ph_pre.ph line 2.
Can't use subscript on subroutine entry at 
/usr/local/lib/perl5/site_perl/5.005/sun4-solaris/_h2ph_pre.ph line 2, near "} }"
(Did you mean $ or @ instead of &?)
syntax error at /usr/local/lib/perl5/site_perl/5.005/sun4-solaris/_h2ph_pre.ph line 
4, near "unless"
BEGIN failed--compilation aborted at /usr/local/news/bin/mailpost line 14.
---


It gets even worse when I create a mail alias for mailpost.
The alias is:

---
auburn-test:         "|/usr/local/news/bin/mailpost auburn.test"
owner-auburn-test:   swangdb@auburn.edu
auburn-test_request: owner-auburn-test
---

I set a message to auburn-test and received the message:
---
   ----- The following addresses had permanent fatal errors -----
"|/usr/local/news/bin/mailpost auburn.test"
    (expanded from: <auburn-test@ultranews.duc.auburn.edu>)

   ----- Transcript of session follows -----
Can't locate syslog.ph in @INC (did you run h2ph?) (@INC contains: 
/usr/local/lib/perl5/5.00503/sun4-solaris /usr/local/lib/perl5/5.00503 
/usr/local/lib/perl5/site_perl/5.005/sun4-solaris 
/usr/local/lib/perl5/site_perl/5.005 .) at 
/usr/local/lib/perl5/5.00503/Sys/Syslog.pm line 117.
BEGIN failed--compilation aborted at /usr/local/news/bin/mailpost line 14.
554 "|/usr/local/news/bin/mailpost auburn.test"... unknown mailer error 2
---

Could this be a perl installation problem?  So far perl 
has worked fine.  I ran h2ph and it didn't fix the problem.


Thanks for any help you can give.


--
David Swanger
Information Technology
Auburn University, AL
swangdb@mail.auburn.edu

Technical Details
Message-ID: <89p2en$21i$1@ultranews.duc.auburn.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <89p2en$21i$1@ultranews.duc.auburn.edu>
Subject: mailpost problem
Date: Fri, 03 Mar 2000 00:00:00 +0000
From: swangdb@mail.auburn.edu (David Swanger)
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 592789070
X-Complaints-To: swangdb@ultranews.duc.auburn.edu
X-Trace: ultranews.duc.auburn.edu 952110359 2098 131.204.2.11 (3 Mar 2000 19:05:59 GMT)
Organization: Auburn University Usenet Server
NNTP-Posting-Date: 3 Mar 2000 19:05:59 GMT
Newsgroups: news.software.nntp