Tyrone wrote:

> Hello,
> I have been googling this all morning and can't seem
> to figure it out. All mail sent to the server stays in
> the queue with this meesage:

> (host localhost[127.0.0.1] said: 451 4.5.0 Error in
> processing, id=25458-01, par
> ts_decode_ext FAILED: parsing file(1) results -
> missing last 1 results at (eval
> 43) line 154. (in reply to end of DATA command))

> I've tried to run the /usr/bin/file p001 manually and
> it works fine. I'm running Postfix 2.2.5 with
> amavisd-new-2.3.3. Any ideas?

> Thanks,
> Tyrone


> (snip of the mail log)
> Oct 19 12:30:45 comserv amavis[25458]: (25458-01)
> Extracting mime components
> Oct 19 12:30:45 comserv amavis[25458]: (25458-01)
> Issued a new file name: p001
> Oct 19 12:30:45 comserv amavis[25458]: (25458-01)
> Charging 8 bytes to remaining
> quota 287000 (out of 287000, (0%)) - by mime_decode
> Oct 19 12:30:45 comserv amavis[25458]: (25458-01) p001
> 1 Content-Type: text/plai
> n, size: 8 B, name:
> Oct 19 12:30:45 comserv amavis[25458]: (25458-01)
> prolong_timer after mime_decod
> e-1: remaining time = 480 s
> Oct 19 12:30:46 comserv amavis[25458]: (25458-01)
> decode_parts: level=1, #parts=
> 1 : p001
> Oct 19 12:30:46 comserv amavis[25458]: (25458-01)
> run_command: [27918] /usr/loca
> l/bin/file p001 </dev/null 2>&1
> Oct 19 12:30:46 comserv amavis[27918]: (25458-01)
> run_command: child process [27
> 918]: Insecure directory in $ENV{PATH} while running
> with -T switch at /usr/loca
> l/sbin/amavisd line 1885.\n
> Oct 19 12:30:46 comserv amavis[25458]: (25458-01)
> TROUBLE in check_mail: parts_d
> ecode_ext FAILED: parsing file(1) results - missing
> last 1 results at (eval 43)
> line 154.
> Oct 19 12:30:46 comserv amavis[25458]: (25458-01)
> sending SMTP response: "451 4.
> 5.0 Error in processing, id=25458-01, parts_decode_ext
> FAILED: parsing file(1) r
> esults - missing last 1 results at (eval 43) line
> 154."
> Oct 19 12:30:46 comserv amavis[25458]: (25458-01)
> timer stopped after DATA end
> Oct 19 12:30:46 comserv amavis[25458]: (25458-01)
> PRESERVING EVIDENCE in /var/am
> avis/tmp/amavis-20051019T123045-25458


See if any of these directories are world writable:
ls -ld /
ls -ld /usr
ls -ld /bin
ls -ld /sbin
ls -ld /usr/bin
ls -ld /usr/sbin
ls -ld /usr/local
ls -ld /usr/local/bin
ls -ld /usr/local/sbin

and see if your path in amavisd.conf reads:
$path = '/usr/local/sbin:/usr/local/bin:/usr/sbin:/sbin:/usr/bin:/bin';

Just something to check, other than that, I dunno.

I would also check permissions and ownership for the /var/amavis
directory and subdirectories as a matter of course.

Gary V



-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to