This is probably not so easy to fix:
I noticed some mails got cut short. (Missing attachments was one
complaint.) The last transported line usually ended with "=".
A bit of debugging showed that the first missing line consists of only
Looking at the code first showed that dot-stuffing looked ok, *but* only
for the upload.
The problem is that my wrapper contains
/usr/local/bin/dspamc --client $DEBUG --user "$ID" --mode=toe --deliver=stdout < /tmp/spamc-data.$$ > /tmp/dspamc-data.$$ || exit 111
--deliver=stdout means that the mail has to come back from the dspam daemon,
and there is no dot stuffing there (it uses agent code). Besides, the client
would not remove the stuffing (that would be easier to fix).
I've now resorted to picking out the X-DSPAM lines from the result and
mixing them with the input. This works, but it's a kludge.
Any better ideas?
Jost Krieger, RUB Postmaster Team
| Jost.Krieger+sig@... Please help stamp out spam! |
| Postmaster, JAPH, resident answer machine at RUB Comp. Center |
| Sincere words are not sweet, sweet words are not sincere. |
| Lao Tse, Tao Te King 81 |