I'm having an issue with ripmime and a relatively large email.. it's creating
26 text files and 15 of them are almost the same size as the original email,
and including most of the content of the original email. This is causing
major problems as this is being used in conjunction with clamav for scanning
inbound emails for viruses.
Here's an example:
[root@mail tmp2]# ls -l msg.1102542794.736261.1027
-rw-r--r-- 1 simscan root 10228587 Dec 8 16:55 msg.1102542794.736261.1027
[root@mail tmp2]# ripmime -i msg.1102542794.736261.1027
[root@mail tmp2]# ls -l
total 163324
-rw-r--r-- 1 root root 1944183 Dec 8 17:57 00537_RJ.JPG
-rw-r--r-- 2 root root 53208 Dec 8 17:57 applefile
-rw-r--r-- 1 root root 1221858 Dec 8 17:57 DSC_0509 copy_1.JPG
-rw-r--r-- 2 root root 53208 Dec 8 17:57 DSC_0509 copy.JPG
-rw-r--r-- 1 simscan root 10228587 Dec 8 16:55 msg.1102542794.736261.1027
-rw-r--r-- 1 root root 1 Dec 8 17:57 textfile0
-rw-r--r-- 1 root root 198 Dec 8 17:57 textfile1
-rw-r--r-- 1 root root 235 Dec 8 17:57 textfile10
-rw-r--r-- 1 root root 10224479 Dec 8 17:57 textfile11
-rw-r--r-- 1 root root 10224397 Dec 8 17:57 textfile12
-rw-r--r-- 1 root root 10224262 Dec 8 17:57 textfile13
-rw-r--r-- 1 root root 10224105 Dec 8 17:57 textfile14
-rw-r--r-- 1 root root 10224007 Dec 8 17:57 textfile15
-rw-r--r-- 1 root root 10223826 Dec 8 17:57 textfile16
-rw-r--r-- 1 root root 10223699 Dec 8 17:57 textfile17
-rw-r--r-- 1 root root 10223668 Dec 8 17:57 textfile18
-rw-r--r-- 1 root root 10223660 Dec 8 17:57 textfile19
-rw-r--r-- 1 root root 235 Dec 8 17:57 textfile2
-rw-r--r-- 1 root root 10223602 Dec 8 17:57 textfile20
-rw-r--r-- 1 root root 1 Dec 8 17:57 textfile21
-rw-r--r-- 1 root root 198 Dec 8 17:57 textfile22
-rw-r--r-- 1 root root 235 Dec 8 17:57 textfile23
-rw-r--r-- 1 root root 139 Dec 8 17:57 textfile24
-rw-r--r-- 1 root root 1041 Dec 8 17:57 textfile25
-rw-r--r-- 1 root root 0 Dec 8 17:57 textfile26
-rw-r--r-- 1 root root 10226899 Dec 8 17:57 textfile3
-rw-r--r-- 1 root root 10226817 Dec 8 17:57 textfile4
-rw-r--r-- 1 root root 10226653 Dec 8 17:57 textfile5
-rw-r--r-- 1 root root 10226367 Dec 8 17:57 textfile6
-rw-r--r-- 1 root root 10226308 Dec 8 17:57 textfile7
-rw-r--r-- 1 root root 1 Dec 8 17:57 textfile8
-rw-r--r-- 1 root root 198 Dec 8 17:57 textfile9
Is this normal? This is ending up using 160MB of storage space, as well as
hogging up a lot of cpu, and clamav is also eating up lots of cpu trying to
scan these files...
If you need the email causing the problem, I will have to contact the customer
to see if I can release it (but it would only be privately) for debugging
purposes, just let me know.
Thanks in advance.
-Jeremy
--
Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet Technologies, Inc.
jeremy@inter7.com ++ www.inter7.com ++ 866.528.3530 ++ 815.776.9465 int'l
kitchen @ #qmail #gentoo on EFnet IRC ++ scriptkitchen.com/qmail
GnuPG Key ID: 481BF7E2 ++ jabber:kitchen@scriptkitchen.com
26 text files and 15 of them are almost the same size as the original email,
and including most of the content of the original email. This is causing
major problems as this is being used in conjunction with clamav for scanning
inbound emails for viruses.
Here's an example:
[root@mail tmp2]# ls -l msg.1102542794.736261.1027
-rw-r--r-- 1 simscan root 10228587 Dec 8 16:55 msg.1102542794.736261.1027
[root@mail tmp2]# ripmime -i msg.1102542794.736261.1027
[root@mail tmp2]# ls -l
total 163324
-rw-r--r-- 1 root root 1944183 Dec 8 17:57 00537_RJ.JPG
-rw-r--r-- 2 root root 53208 Dec 8 17:57 applefile
-rw-r--r-- 1 root root 1221858 Dec 8 17:57 DSC_0509 copy_1.JPG
-rw-r--r-- 2 root root 53208 Dec 8 17:57 DSC_0509 copy.JPG
-rw-r--r-- 1 simscan root 10228587 Dec 8 16:55 msg.1102542794.736261.1027
-rw-r--r-- 1 root root 1 Dec 8 17:57 textfile0
-rw-r--r-- 1 root root 198 Dec 8 17:57 textfile1
-rw-r--r-- 1 root root 235 Dec 8 17:57 textfile10
-rw-r--r-- 1 root root 10224479 Dec 8 17:57 textfile11
-rw-r--r-- 1 root root 10224397 Dec 8 17:57 textfile12
-rw-r--r-- 1 root root 10224262 Dec 8 17:57 textfile13
-rw-r--r-- 1 root root 10224105 Dec 8 17:57 textfile14
-rw-r--r-- 1 root root 10224007 Dec 8 17:57 textfile15
-rw-r--r-- 1 root root 10223826 Dec 8 17:57 textfile16
-rw-r--r-- 1 root root 10223699 Dec 8 17:57 textfile17
-rw-r--r-- 1 root root 10223668 Dec 8 17:57 textfile18
-rw-r--r-- 1 root root 10223660 Dec 8 17:57 textfile19
-rw-r--r-- 1 root root 235 Dec 8 17:57 textfile2
-rw-r--r-- 1 root root 10223602 Dec 8 17:57 textfile20
-rw-r--r-- 1 root root 1 Dec 8 17:57 textfile21
-rw-r--r-- 1 root root 198 Dec 8 17:57 textfile22
-rw-r--r-- 1 root root 235 Dec 8 17:57 textfile23
-rw-r--r-- 1 root root 139 Dec 8 17:57 textfile24
-rw-r--r-- 1 root root 1041 Dec 8 17:57 textfile25
-rw-r--r-- 1 root root 0 Dec 8 17:57 textfile26
-rw-r--r-- 1 root root 10226899 Dec 8 17:57 textfile3
-rw-r--r-- 1 root root 10226817 Dec 8 17:57 textfile4
-rw-r--r-- 1 root root 10226653 Dec 8 17:57 textfile5
-rw-r--r-- 1 root root 10226367 Dec 8 17:57 textfile6
-rw-r--r-- 1 root root 10226308 Dec 8 17:57 textfile7
-rw-r--r-- 1 root root 1 Dec 8 17:57 textfile8
-rw-r--r-- 1 root root 198 Dec 8 17:57 textfile9
Is this normal? This is ending up using 160MB of storage space, as well as
hogging up a lot of cpu, and clamav is also eating up lots of cpu trying to
scan these files...
If you need the email causing the problem, I will have to contact the customer
to see if I can release it (but it would only be privately) for debugging
purposes, just let me know.
Thanks in advance.
-Jeremy
--
Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet Technologies, Inc.
jeremy@inter7.com ++ www.inter7.com ++ 866.528.3530 ++ 815.776.9465 int'l
kitchen @ #qmail #gentoo on EFnet IRC ++ scriptkitchen.com/qmail
GnuPG Key ID: 481BF7E2 ++ jabber:kitchen@scriptkitchen.com