[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mhonarc
Subject:    Re: unknown mailer error 255 (fwd)
From:       Christopher Lindsey <lindsey () ncsa ! uiuc ! edu>
Date:       1999-08-23 22:09:46
[Download RAW message or body]

>  >Can anyone enlighten me as to why I am getting this error?. I use a
>  >template for my archives, so that all I change is the name of the list
>  >and plug it in to the template. All permissions seem to be correct. The
>  >message is being delivered to the list, but not to the archive.
>
> Here is how I fixed this error in the past:
>
> Change
> Mprog,          P=/usr/sbin/smrsh, F=lsDFMoqeu9, S/30, R /40, D=$z:/,
> To
> Mprog,          P=/bin/sh, F=lsDFMeu, S/30, R /40, D=$z:/,

Ack!  Doing this allows any user on your system to run any program
when a piece of mail is received...  Although it may work in your
environment, I wouldn't recommend people do it unless they understand
the ramifications.

If you want to continue using smrsh for security reasons (which
I recommend), add mhonarc to the smrsh allowed binaries directory.
For example, on a RedHat Linux 6.0 system do

   <become root>
   cd /etc/smrsh
   ln -s /usr/local/bin/mhonarc

smrsh will then run the copy of mhonarc in /etc/smrsh whenever someone
tries to run mhonarc through an alias or .forward file, but since it's
a symlink to /usr/local/bin/mhonarc it's effectively the same.

Chris (how many people named Chris can we get in on this thread?)

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic