Re: Error 255 with messages with attachments

---------

From: Tony Ross (tross@appworx.com)
Date: Mon Sep 25 2000 - 14:26:52 CDT


Greetings;

The error message "stat=unknown mailer error 255" is generated by
sendmail when you attempt to execute a program using the sendmail
restricted shell "smrsh", without having a proper configuration.

There are two ways to fix this, and the method you choose depends on
the level of security you require at your site.

Less secure is to edit the sendmail.cf file from:

Mprog, P=/usr/lib/smrsh,<...>

to:

Mprog, P=/bin/sh,<...>

Most secure is to include symbolic links in a certain directory to the
programs you wish to pipe stdin to, such as hypermail. Please refer to
http://www.sendmail.org/faq/section3.html#3.34 for more complete
information.

        tony

>>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<<

On 9/21/00, 1:36:10 PM, Dan Newcombe <Newcombe@mordor.clayton.edu> wrote
regarding Error 255 with messages with attachments:

> Maybe I'm missing something! This doesn't seem to fail with my test
> messages to my test list, but to other lists, when attachments are
sent,
> my maillog has a line saying 'stat=unknown mailer error 255', and the
> message is not added to the archive. If I manually run hypermail on
the
> list archive majordomo creates, it has no trouble...it only seems to
have
> trouble when getting the messge via stdin.

> My line in /etc/aliases looks like:
> "|/usr/local/bin/hypermail -u -i -l 'listname archive' -d
> /Web/docs/hypermail/listname"

> Any pointers as to why it would puke so on attachments? The
attachment on
> the most recent test case is a word doc, sent via outlook express 5.0,
and
> has quite a few mime parts:
> Content-Type: multipart/alternative;
> Content-Type: text/plain;
> Content-Type: text/html;
> ...and the attachment.
> Content-Type: application/msword;
> name="Waffle 9-21.doc"
> Content-Transfer-Encoding: base64
> Content-Disposition: attachment;
> filename="Waffle 9-21.doc"

> Thanks!


---------

This archive was generated by hypermail 2.1.5.