[aklug] Re: Mimedefang Pain

From: Royce Williams <royce@tycho.org>
Date: Wed Apr 17 2013 - 20:26:10 AKDT

On Wed, Apr 17, 2013 at 10:48 AM, Mike Tibor <tibor@tibor.org> wrote:

> I'm building a new mail server and I'm running into a Mimedefang problem.
> I was hoping I could bounce it off you Perl types and see what you think.
>
> When a message comes in, MD tries to handle it but barfs with:
>
> Apr 12 19:39:14 localhost mimedefang-multiplexor[2372]: r3D3d5ka002517:
> Slave 4 stderr: No such file or directory at /usr/local/share/perl5/MIME/*
> *Parser.pm line 627.
>
> Naturally I looked at Parser.pm on line 627, and its the first line of
> this:
>
> open(my $outfh, '>:scalar', \$headstr) or die $!;
> $hdr_rdr->read_chunk($in, $outfh, 0, 1);
> close $outfh;
>
> My perl sucks, but it looks to me like it's trying to write into a scalar
> but can't open it for writing for some reason.
>
> For what it's worth, this new box is a 64 bit Linux and I've already had
> to resolve several issues related to it being 64 bit. It wouldn't surprise
> me a bit if that's throwing a wrench into things here.
>
> Any insight and/or pointers would be greatly appreciated.
>

I'd invoke mimedefang with a -D (non-daemon, "foreground" mode), and run it
via strace -f, to watch the processes and calls to see what file it's
actually not finding.

Royce

---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.
Received on Wed Apr 17 20:26:39 2013

This archive was generated by hypermail 2.1.8 : Wed Apr 17 2013 - 20:26:39 AKDT