attachements issues
Hello
I have problem with attachements not being recognized by mailpiler
mailpiler version 0.1.21
configure script output:
tre library: yes zip library: yes
memcached support: yes
pdftotext: /opt/piler/bin/pdftotext catdoc: /opt/piler/bin/catdoc catppt: /opt/piler/bin/catppt xls2csv: /opt/piler/bin/xls2csv unrtf: /opt/piler/bin/unrtf
pilertest output: [root@mailpiler tests]# ../work/piler-0.1.21/src/pilertest doc.eml locale: en_US.UTF-8 build: 705 message-id: .45263.1354897864111.JavaMail.root@demo8oss.intalio.pl> from: Jan Janowski jan@demo8oss.intalio.pl jan demo8oss intalio pl (demo8oss.intalio.pl ) to: Jan Janowski jan@demo8oss.intalio.pl jan demo8oss intalio pl (demo8oss.intalio.pl ) reference: subject: * doc body: Wencel * sent: 1354897864 hdr len: 580 body digest: 1e24a3b5232e18914ce2a244b3411fe51286c9773ae5fa8e8ff15cd445e2faed rules check: (null) retention period: 1575928762 i:1, name=Plik testowy worda.doc, type: application/msword, size: 29743, int.name: doc.eml.a1, digest: f954b6722d375ce475042e819df243782b8b4d3b61009c871f1ce88f5921df90 attachments:word, direction: 0 spam: 0
[root@mailpiler tests]# ../work/piler-0.1.21/src/pilertest doc2.eml locale: en_US.UTF-8 build: 705 message-id: 45253.1354897753870.JavaMail.root@demo8oss.intalio.pl> from: Jan Janowski jan@demo8oss.intalio.pl jan demo8oss intalio pl (demo8oss.intalio.pl ) to: Jan Janowski jan@demo8oss.intalio.pl jan demo8oss intalio pl (demo8oss.intalio.pl ) reference: 963662366.45245.1354896994244.JavaMail.root@demo8oss.intalio.pl subject: * Fwd: Wencel body: - Przekazana wiadomość - Od Jan Janowski janXdemo8oss.intalio.pl Do Jan Janowski janXdemo8oss.intalio.pl Wysłane piątek 7 grudzień 2012 17 16 34 Temat Wencel Serafin * sent: 1354897753 hdr len: 1733 body digest: a39a28c21e63c9634726468da52683c00a3ef44400520d47b9681bbf49b8e072 rules check: (null) retention period: 1575928777 attachments: direction: 0 spam: 0
what else should I check/change to have searchable attachements?
Thanks in advance Jarek
Comments (10)
-
repo owner -
reporter Hello
catdoc works perfectly with the doc file attached, how could I check if piler is able to run the command and process the output? is there any verbose and not-demonized way of running piler?
Thanks Jarek
-
reporter ... also - how can I check if piler is able to process docx files (at leat I can unzip the file manually and see it's contents)
Thanks Jarek
-
repo owner try the pilertest utility in the source directory:
./pilertest /path/to/letter.eml
-
repo owner Btw. try the latest master branch download as well, which is more or less the same as the latest version (0.1.22)
-
reporter I'm able to search for both, doc and docx contents now :) I have upgraded my instance to latest piler version (0.1.22) and it helped.
... but my question about verbose output from attachement processing is still up to date ...
Jarek
-
repo owner well, pilertest is the verbose testing tool. The piler daemon itself runs as daemon mode especially because its children process the request. Or perhaps I don't get your point why you need a non daemonized daemon...
-
reporter it looks like pilertest is pretty good testing tool, however you need to have an email written in file to do the test. IMO it would be convenient to run piler in the way to listen for incoming connections and reporting actions to stdout. Additionally, when you don't fork the application you'll get the effect I write about
IMO you may close this issue not to mislead users
cheers, Jarek
-
repo owner OK, I see. I'll think about it. However if you set it's verbosity to 5 (=debug level), then it syslogs its actions to maillog.
-
repo owner - changed status to resolved
- Log in to comment
Hello Miroslaw, please take the attachment, and try running catdoc from the command line, and let's see whether it can process it properly:
catdoc -d utf-8 /path/to/your.doc