[Exim] problem with exim <-> mailagent

Top Page
Delete this message
Reply to this message
Author: Paul B. Johnson
Date:  
To: exim-users
Subject: [Exim] problem with exim <-> mailagent
I'm a new Exim user with a problem for which I have not been able to find
any reference in the exim-users list archives.

I just upgraded my Debian linux box (which previously used smail and
mailagent without any problems) to Debian 2.2. The Debian upgrade
instructions state that smail has problems with Debian 2.2, and that was
indeed the case. After looking around at the various alternatives I decided
on Exim (version 3.12-10 from the official Debian package). Installation
was straight-forward. Getting Exim to work with mailagent (Debian package
3.68-9.potato) was accomplished by modifying the syntax of the .forward file
which feeds mail to mailagent (I had to remove the 'exec' command for it to
work with Exim).

At this point all was good ... or so I thought. I now have the problem that
large attachments are corrupted when I use the Exim <-> mailagent
combination. Exim by itself seems to work fine. Smail with the same
mailagent configuration (except for the above-noted change to the .forward
file) worked fine.

The corruption I am seeing is illustrated in the two blocks of
base64-encoded data below.


correct (Exim only, Smail only, Smail + mailagent) :

Xn6foItyfaKhXn6goqKuo5+hoa+uXp+iqKJ9fbUABnUAsIRsX4h1dXyvommFhKGvoWx8hHV1hHV1
bIR1hHd7dXV8dXx1hHV8dX15WK+ffX+3zIR1dYZlhHd6hHV6hnyEd3t5aYR1hYR1dYZ1dZ+jfHWG
fVl1hHWtsXV7dXV8d4R1dXx1hHWEdXV8dXVfiGt5e46uhGtSe3RWdXJ/dXR+dWl9dVFXhGlQa3V1
dHVrkqx1a1KIbHRqdHVpdGxzanRpdGlramtpdGlpdGkxMFJpaXpqBGkAL1l5YoihY2llaWdlZ2Rn
Y3F/Z2JSdWNkY2NkY2RjYmViY2JlYlKeZGJSYlB/ZVFkAARRAEhkUVBRUVBRUFFQUU9RVlhOUE9Q
T09OT05PTk9WTk9WS1ZPSlVWS19VTFVPSlRdW0tUVUxUSltaSFRUJUgkGRoTDg4PDA4MDgwEDwCW
ExMaIiQkRkpISkpLSEpISktISCZISyZIWkglJiVLXkojJS8lIyMjIiMvIx8vIyEjHyFLVB8fIR8f


corrupted (Exim + mailagent) :

Xn6foItyfaKhXn6goqKuo5+hoa+uXp+iqKJ9fbUABnUAsIRsX4h1dXyvommFhKGvoWx8hHV1hHV1
bIR1hHd7dXV8dXx1hHV8dX15WK+ffX+3zIR1dYZlhHd6hHV6hnyEd3t5aYR1hYR1dYZ1dZ+jfHWG
fVl1hHWtsXV7dXV8d4R1dXx1hHWEdXVGRkdFh0ZFhkWI1khFRYZ
FhkKGRkKGRkKGQoVChMZSy8KExYVrkqx1a1KIbHRqdHVpdGxzanRpdGlramtpdGlpdGkxMFJpaXp
qBGkAL1l5YoihY2llaWdlZ2Rn
Y3F/Z2JSdWNkY2NkY2RjYmViY2JlYlKeZGJSYlB/ZVFkAARRAEhkUVBRUVBRUFFQUU9RVlhOUE9Q
T09OT05PTk9WTk9WS1ZPSlVWS19VTFVPSlRdW0tUVUxUSltaSFRUJUgkGRoTDg4PDA4MDgwEDwCW
ExMaIiQkRkpISkpLSEpISktISCZISyZIWkglJiVLXkojJS8lIyMjIiMvIx8vIyEjHyFLVB8fIR8f


These corruptions seem to appear at approximate 10KB intervals (although not
at *every* 10KB interval). The same message sent multiple times will not
necessarily have the corruptions in the same locations.

Except for this one problem, I am very favorably impressed with Exim and
would like to continue using it. Unfortunately the built-in filtering in
Exim is not quite powerful enough for my needs, so I need something with the
capabilities of mailagent. Do I need to learn how to use procmail?

TIA for any clues on what to do next ...


Paul B. Johnson
Neurologics Software & Consulting