Re: Errors: Majordomo & MHonarc

2000-02-21 12:57:49

Wojciech Komornicki wrote:

The problem here may be a matter of permissions.  You are calling a perl
script to modify directories and files and Perl does not like setuid.
If you modify the directory where your archive is stored to have
permission 777 and all the files in it to have permission 666 your setup
should work.

I thought I would change it and see what happens and I still get the
same error:
ERROR: "/home/httpd/virtuals/directory/list/2000" does not exist
554 "|/usr/bin/mhonarc -add -quiet -outdir
/home/httpd/virtuals/directory/list/2000"... unknown
mailer error 2
Receiving 8
Message delivered to mailing list list(_at_)machine(_dot_)name(_dot_)here

I could try doing it with procmail but I have yet to find a newbie
procmail example to help me come up with a solution.

Still trying,

"Ed" == Ed A Rogers <Zulander(_at_)Netsonic(_dot_)FI> writes:

  Ed> Hello fellow MHonarc users,
  Ed> I have scanned the archives of this list and I appreciate the people
  Ed> here who have helped others with similar problems but I just can't seem
  Ed> to get Mhonarc to work with majordomo correctly.

  Ed> I have a linux box with the latest version of sendmail (8.9.3) and the
  Ed> latest release of majordomo (1.9.4). I have tried many methods to get a
  Ed> post sent to a majordomo list to automatically add itself to the html
  Ed> archive which works great as a shell command by the way :)

  Ed> Situation #1
  Ed> I edit the /etc/aliases file as decibed in the FAQ and as Chris
  Ed> described (both menthods) and get the same error. I realize this is a
  Ed> senmail problem and i see no easy way to fix this - or any way for that
  Ed> matter. Here is the error I get repeatedly:

  Ed>    ----- The following addresses had permanent fatal errors -----
  Ed> "|/usr/bin/mhonarc -add -quiet -outdir
  Ed> /home/httpd/virtuals/directory/list/2000"
  Ed>     (expanded from: list-mhonarc)

  Ed>    ----- Transcript of session follows -----
  Ed> Message delivered to mailing list list-outgoing

  Ed> ERROR: "/home/httpd/virtuals/directory/list/2000" does not exist
  Ed> 554 "|/usr/bin/mhonarc -add -quiet -outdir
  Ed> /home/httpd/virtuals/directory/list/2000"... unknown mailer error 2

  Ed> I get the same error if I put "list-mhonarc into the list's outgoing
  Ed> alias or the main one with the -resend line list-mhonarc

  Ed> The wierd thing is this in the header of the message:
  Ed> X-Actual-Recipient: RFC822; |/usr/bin/mhonarc -add -quiet -outdir

  Ed> Again I think sendmail is the problem. Any suggestions?

  Ed> ************

  Ed> Situation #2
  Ed> I used the filter .forward and .elm/filter_rules to try it that way. I
  Ed> get this error:
  Ed> 550 /home/user/.forward: line 1: |/usr/local/bin/filter... Address
  Ed> <user(_at_)machine(_dot_)name(_dot_)here> is unsafe for mailing to 

  Ed> I added the line that allowed sendmail to use any shell to /etc/shells
  Ed> and it did not help.

  Ed> I can, of course, live with doing this manually but I would love to
  Ed> automate the process. I pray that out of all the people here someone has
  Ed> been in the same situation and can over some wonderful step by step
  Ed> advice.

  Ed> Cheers!
  Ed> -Ed

Ed A. Rogers
Learning Revolutionist & Internet Specialist
InnerNET.ORG Administrator
e-mail:  ed(_dot_)rogers(_at_)innernet(_dot_)org  ICQ# 1087909

<Prev in Thread] Current Thread [Next in Thread>