Hello,
I'm trying to get qmail-scanner (1.16) working on a Solaris box.
Maildrop's reformime is used as an inportant component here. My
configuration is:
SPARC/Solaris 7
gcc 3.1, gnu make
Maildrop 1.3.8, 1.4.0, 1.5.2, 1.5.3 (i've tried all)
There were no compilation errors. But when qmail-scanner
machinery is on, some mail cannot get delivered. I found following
and so errors in log:
21/05/2003 16:06:16:22741: tempfail: X-Qmail-Scanner-1.16: cannot
close /usr/local/bin/reformime
-x/var/spool/qmailscan/adela105352597642622741/ -
Not all messages are causing such trouble, so I saved one such
problem message to a file (test) and tried to run reformime by
myself. It is a multipart MIME message sent from Outlook Express
5.00.2615.200. Here is a resulting session:
$ cat test |/usr/local/src/maildrop-1.5.3/rfc2045/reformime -x
Extract text/plain? y
y
Filename [1053782846.14913-0.adela]:
Extract text/html? y
y
Filename [1053782850.14913-1.adela]:
Extract image/gif? y
y
Filename [Ivy.gif]:
write: No such file or directory
It allways returns this error no matter what version of maildrop
I use.
Moreover, on another Solaris box (SPARC/Soalris 8 with gcc 3.0
and maildorp 1.5.2) this problem was not present.
Also, Piotr Kasztelowicz reported this kind of problem lately to
this mailing list. he solved the problem by compiling maidrop on
anoteher Sol7 box with gcc 2.95.3. You can find his post in
archives at http://sf.net/mailarchive/message.php?msg_id=3715657
I am interested if there is another solution. I don't feel fine
about going back to gcc 2.95 on my only sol7 box. Is this a bug
in Solaris or in gcc or in maildrops's reformime?