[Exim] amavis-perl + exim + zip = problem

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Ivan Beveridge
Dátum:  
Címzett: amavis-user
CC: exim-users
Tárgy: [Exim] amavis-perl + exim + zip = problem
Hi,

I've delved through the amavis and exim archives, and haven't been able
to find a description of this particular problem. Hopefully it's something
I've done wrong.

Setup:
* amavis-perl 11
* exim 3.22
* Sophos Sweep

I have added the transport, director and router as specified in the
README.exim, and everything seems to work OK with delivering of mail, and
trapping the EICAR test. If I send a tar.gz attachment through (no virus) it
works fine; if I send a zip attachment through, it has a problem (even though
the zipfile seems to get unpacked successfully).

The /var/amavis directory is in place, with suitable permissions
(user/group = amavis, mode 0700).

--------------------------------------
May 24 20:43:00 dmzbox-1 exim[4283]: 2001-05-24 20:43:00 15310L-000175-00 <= ivan@??? H=dsl-212-135-230-82.dsl.easynet.co.uk (office.int.dreamtime.org) [212.135.230.82] P=esmtp S=527774 id=E1530zk-0007Z7-00@???
May 24 20:43:01 dmzbox-1 amavis[4286]: starting. amavis perl-11 Thu May 24 17:24:49 BST 2001
May 24 20:43:01 dmzbox-1 exim[4284]: 2001-05-24 20:43:01 15310L-000175-00 ** ivan@??? D=amavis_director T=amavis: Child process of amavis transport returned 255 (could mean shell command ended by signal 127 (Unknown signal 127)) from command: /usr/local/sbin/amavis
May 24 20:43:01 dmzbox-1 exim[4293]: 2001-05-24 20:43:01 15310f-00017F-00 <= <> R=15310L-000175-00 U=mail P=local S=107514
May 24 20:43:01 dmzbox-1 exim[4284]: 2001-05-24 20:43:01 15310L-000175-00 Error message sent to ivan@???
May 24 20:43:01 dmzbox-1 exim[4284]: 2001-05-24 20:43:01 15310L-000175-00 Completed
May 24 20:43:02 dmzbox-1 amavis[4296]: starting. amavis perl-11 Thu May 24 17:24:49 BST 2001
May 24 20:43:04 dmzbox-1 amavis[4296]: do_exit:377 - ending execution with -1
May 24 20:43:04 dmzbox-1 exim[4294]: 2001-05-24 20:43:04 15310f-00017F-00 ** ivan@??? R=amavis_router T=amavis: Child process of amavis transport returned 255 (could mean shell command ended by signal 127 (Unknown signal 127)) from command: /usr/local/sbin/amavis
May 24 20:43:04 dmzbox-1 exim[4294]: 2001-05-24 20:43:04 15310f-00017F-00 Frozen (delivery error message)
--------------------------------------

[root@mail /etc]# mailq
 5m  105K 15310f-00017F-00 <> *** frozen ***
          ivan@???
--------------------------------------



The following got prepended to the mail, to bounce back to the sender:

--------------------------------------
15310f-00017F-00-D
This message was created automatically by mail delivery software (Exim).

A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:

  ivan@???
    Child process of amavis transport returned 255 (could mean shell command ended by signal 127 (Unknown signal 127)) from command:
    /usr/local/sbin/amavis
--------------------------------------


It's obvious that amavis exited with a code that exim did not expect, and
that is the problem ... but I'm not sure _exactly_ what the problem is :(

Mail goes from:

@dreamtime.org -> @sportmarketplace.com [1] -> @sportbusiness.com

[1] @sportmarketplace.com is delivered locally on this exim/amavis box, so
it can get rewritten to @sportbusiness.com.

I'm not too sure what else to add (I can add exim config, etc, on request).
The box has no other MTA on it (to confuse the amavis install).

All suggestions gratefully accepted.

Cheers


Ivan
P.S. Before anyone asks, I use exiscan elsewhere, quite successfully, but am 
    after using amavis in this application.
-- 
Ivan Beveridge         Systems Architect          SportBusiness Group
<ivan@???>                 http://www.sportbusiness.com
Tel: +44 (0)20 7934 9000                     Fax: +44 (0)20 7934 9200