🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
1 messages
1 total messages Started by David Swanger Fri, 03 Mar 2000 00:00
mailpost problem
#44774
Author: 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

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