this is test message #1

2012-04-09 Thread Janos SUTO
welcome to the piler-user list

Re: missing feature

2012-05-04 Thread Janos SUTO
Hello, On Thu, 3 May 2012 10:43:43 +0200, JC Putter wrote: i discovered your application and it seems pretty cool however can you add the ability to do mass email restores as appose one restore at a time? It's possible. How would you use this feature? After a search to restore all the s

Re: missing feature

2012-05-11 Thread Janos SUTO
Hello John, On Fri, 11 May 2012 08:03:53 +1000, John Kenyon wrote: I think if you had a checkbox at the beginning of each row returned, then an option to "Restore All Selected"? it's there. An extra checkbox is added to the top (like at yahoo mail). Also you could include "Download All Se

Re: missing feature

2012-05-12 Thread Janos SUTO
Hello John, On Fri, 11 May 2012 08:03:53 +1000, John Kenyon wrote: I think if you had a checkbox at the beginning of each row returned, then an option to "Restore All Selected"? Also you could include "Download All Selected" which would return all messages selected in EML format, but downloa

Re: Error compiling 0.1.17.3

2012-05-15 Thread Janos SUTO
Hello John, I managed to compile piler 0.1.17.3 without any problem on centos 5.8 (however it was 32 bit installation). I installed an x64 version of centos 5.8, and tried to compile it. However I could not find the "tre" and "tre-devel" packages on the x64 platform. What tre version do you h

Re: Piler database contains messages, but empty set is returned on search

2012-07-14 Thread Janos SUTO
ls -la on the sphinx data directory. Then execute the "mysql --host 127.0.0.1 --port 9306" command, and issue select * from main1 where MATCH('@subject ubuntu'); replace "ubuntu" with a string from the archived emails subjects (see your maillog). Janos SUTO

Re: password

2012-07-31 Thread Janos SUTO
Hello Oleg, On Tue, 31 Jul 2012 17:50:19 +0200, Oleg Reich wrote: Hi! i cant change default password for admin@local, actually i can, but then i cant log in as admin@local. and if i create an user, he cant log in too :( error is: Invalid email or password i see the new user in mysql. and y

Re: password

2012-07-31 Thread Janos SUTO
On Tue, 31 Jul 2012 21:29:28 +0200, Oleg Reich wrote: thx for answer! nope :( this don't work for me :( i tried this test password: qwerty123 password field in mysql was updated to this one: $6$dLe4Oc8uHQSe$xM6ACCnvs9X9CUE9jIwKKxrgSlG53ma9a9q3yjTeZ8Fj0HcL i mean, its twice bigger as o

Re: password

2012-07-31 Thread Janos SUTO
On Tue, 31 Jul 2012 23:01:34 +0200, Oleg Reich wrote: yap :) password field with 128 chars long solved the problem. alter table `user` change column `password` `password` char(128) default null; good then. Thanks for helping to solve the issue. Janos

Re: encoding - cyrillic

2012-08-01 Thread Janos SUTO
Hello! On Tue, 31 Jul 2012 21:46:06 +0200, Oleg Reich wrote: if the subject of the letter was written in utf8, then the text is displayed correctly. if it were used win1251 or koi8, the text is unreadable :( if you try to open the letter itself, it is not dependent on the encoding (utf8, win

Re: piler 0.1.19 problems

2012-08-06 Thread Janos SUTO
Hello John, On Mon, 6 Aug 2012 13:29:10 +1000, John Kenyon wrote: I'm testing piler 0.1.19 and have noticed a few problems… I'm testing piler with Active Directory and although the users from active directory import ok (via ldap_sync.php), I cannot login to piler until a password is set in p

Re: some problems

2012-08-06 Thread Janos SUTO
Hello, On Mon, 06 Aug 2012 19:45:42 -0400, blueBoy wrote: Neither on ubuntu or fedora,i tried but mailpiler web interface is not working. i tried with both apache & lighttpd but i cant. Pls tell in detail how to do install web-interface.B'cos When i try to load index.php nothing loads,just a

RE: zip archive

2012-08-07 Thread Janos SUTO
Hello John, On Tue, 7 Aug 2012 20:27:19 +1000, John Kenyon wrote: Hi Janos, I am also getting the exact same errors in my logs as Oleg… just to spare you from typing I attached a debug version of bulkrestore.php. I'd like both of you to do the following: 1. overwrite controller/message/bul

Re: zip archive

2012-08-07 Thread Janos SUTO
On Tue, 07 Aug 2012 14:10:16 +0200, Oleg Reich wrote: Ahhmmm, i did all as you said, but i can see only this things: as auditor: idlist: 18358,18357,18355,18354,18353,18350,18348,18347,18344,18343,18342,18341,18339,18338,18337,18336,18335,18332,18328,18327 18357 as regular user: idlist: 1

Re: zip archive

2012-08-07 Thread Janos SUTO
On Tue, 07 Aug 2012 14:44:46 +0200, Oleg Reich wrote: On 07.08.2012 14:24, Janos SUTO wrote: then add the following line to model/message/restore.php right above "$zip = new ZipArchive();" and repeat the steps you did before: print "in download_files_as_zip():\n"; pr

Re: zip archive

2012-08-07 Thread Janos SUTO
On Tue, 07 Aug 2012 20:17:57 +0200, Oleg Reich wrote: nope, the same thing :( i can download the zip file, but its length is equal to zero :) I think I got it now. Please download the latest master branch, and install the webui. You can keep your current config.php. Be sure to check the dow

Re: zip archive

2012-08-08 Thread Janos SUTO
On Wed, 08 Aug 2012 13:25:08 +0200, Oleg Reich wrote: super, it's working for both user types! :) thx!!! OK, I'm glad. Tomorrow I'll release version 0.1.20 which will be the basically the same as the latest master branch version. Janos

RE: zip archive

2012-08-10 Thread Janos SUTO
Hello John, On Fri, 10 Aug 2012 13:48:11 +1000, John Kenyon wrote: OK, I'm glad. Tomorrow I'll release version 0.1.20 which will be the basically the same as the latest master branch version. Using version 0.1.20, this works as a "Regular User" but not as an "Auditor" hmmm, can you log

Re: piler 0.1.20 daily-report.php issues

2012-08-10 Thread Janos SUTO
Hello John, On Fri, 10 Aug 2012 12:53:00 +1000, John Kenyon wrote: Using piler 0.1.20 but have an issue when running the daily report script: /usr/bin/php /usr/local/libexec/piler/daily-report.php PHP Warning: fsockopen(): unable to connect to 127.0.0.1:25 (Connection refused) in /var/www/h

RE: piler 0.1.19 health monitor page - cpu 100%

2012-08-10 Thread Janos SUTO
On Fri, 10 Aug 2012 13:49:30 +1000, John Kenyon wrote: Hi Janos, Found the problem: file_get_contents(/var/piler/stat/cpu.stat): failed to open stream: Permission denied in /var/www/html/controller/health/worker.php on line 38 odd. Can you see anything in the php error log, syslog or apache

RE: zip archive

2012-08-10 Thread Janos SUTO
Hello John, On Fri, 10 Aug 2012 19:47:57 +1000, John Kenyon wrote: As Auditor: idlist: 1462,1461,1460,1459,1458,1457,1456,1455,1454,1453,1452,1451,1450,1449,1448,1447,1446,1445,1444,1443 Array ( [0] => 40005024ba1236a1d124df50322fe9d7 [1] => 40005024c0f13acda084c1748bfb7d58

RE: zip archive

2012-08-10 Thread Janos SUTO
On Fri, 10 Aug 2012 20:10:54 +1000, John Kenyon wrote: OK, this time I got 19 x items in the zip. However I went to the next page of the search results, and only got 14 x items in the zip... ok, but can you download the archive file as the auditor user, and does it contain all the selecte

RE: zip archive

2012-08-10 Thread Janos SUTO
Hello John, On Fri, 10 Aug 2012 20:18:57 +1000, John Kenyon wrote: ok, but can you download the archive file as the auditor user, and does it contain all the selected files? The Regular user works fine. The problem is with the Auditor user account. ok, I see. However it's not clear that

Re: Problem with Restore (version 0.1.20)

2012-08-11 Thread Janos SUTO
Hello John, On Sat, 11 Aug 2012 11:50:11 +1000, John Kenyon wrote: I've noticed that as an auditor user, when you try to restore a message with multiple recipients the restore function restores the message to ALL recipients. how should it work? Also when performing a restore as a regular

RE: Problem with Restore (version 0.1.20)

2012-08-12 Thread Janos SUTO
Hello John, On Sun, 12 Aug 2012 12:17:13 +1000, John Kenyon wrote: I was thinking it should only restore for the domains that you have set to receive email for i.e. mydomains you are right. This makes sense. Update model/search/search.php from the the master branch (https://bitbucket.org/j

RE: zip archive

2012-08-13 Thread Janos SUTO
Hello John, On Mon, 13 Aug 2012 15:50:27 +1000, John Kenyon wrote: Sorry mate, ignore this one... I found out why it wasn't working properly. Some of the emails I had selected were system notifications with no "To:" specified in the header, only "Cc: recipient list not shown: ;" yes, it

Re: bulk restore hangs (piler 0.1.20)

2012-08-13 Thread Janos SUTO
Hello John, On Mon, 13 Aug 2012 15:37:23 +1000, John Kenyon wrote: When I perform a bulk restore for selected emails, I get the loading (spinner.gif) and piler hangs - no action. I get the following in my apache logs: PHP Notice: Undefined index: id in /var/www/html/controller/message/bulkre

Re: rules check: (null) - version 0.1.20

2012-08-15 Thread Janos SUTO
Hello John, On Tue, 14 Aug 2012 10:20:10 +1000, John Kenyon wrote: I've added some archiving rules, send a HUP signal to piler so that the rules are read, but when I perform a test using pilertest I get the following: rules check: (null) it says only that the current message has no matchin

bug in piler daemon causing badly encrypted emails

2012-08-16 Thread Janos SUTO
Dear piler users, there's a bug in the piler daemon around the HUP signal handling. After sending a HUP signal to piler it clears and re-reads its configuration file. However it didn't re-read the encryption key, so it encrypted every subsequent messages with with a zeroed key. Workaround: do

Re: pilerimport

2012-08-17 Thread Janos SUTO
Hello Oleg, On Fri, 17 Aug 2012 15:52:53 +0200, Oleg Reich wrote: i have one problem with pilerimport. i'm trying to import "some" messages to the piler base, but unfortunally piler crashes with the "Segmentation fault". it's happens during importing from imap or folder. after crash i found

Re: pilerimport

2012-08-17 Thread Janos SUTO
Hello Oleg, On Fri, 17 Aug 2012 21:13:46 +0200, Janos SUTO wrote: i have one problem with pilerimport. i'm trying to import "some" messages to the piler base, but unfortunally piler crashes with the "Segmentation fault". it's happens during importing from imap

Re: Empty set is returned on search

2012-09-05 Thread Janos SUTO
Hello Simon, On 2012-09-05 18:14, Simon Booth wrote: I have installed and configured Piler and on the face of it everything seems to be working fine. I have bcc'd a bundle of mail in from a postfix server which appear to have been accepted into Piler. Looking through the thread from Sean N

RE: indexer crashed

2012-09-27 Thread Janos SUTO
Hello John, my advice is to send the error message to the sphinx developers as they recommended. I guess this is a sphinx issue, and I hope that they shall find a solution. Perhaps you need to show sphinx.conf to the sphinx developers (don't forget to mask the passwords). If they come up wit

Re: Upgrade from 0.1.20 to 0.1.21 - failed to open /var/piler/sphinx/note1.sph

2012-09-27 Thread Janos SUTO
Hello John, I introduced a new feature (you can add a note to an email), so you should run as piler user: indexer note1 then searchd won't complain. I'll fix the upgrade docs Janos On 2012-09-27 12:23, John Kenyon wrote: Hi Janos, I've just upgraded from 0.1.20 to 0.1.21, and have

Re: Empty set is returned on search

2012-10-30 Thread Janos SUTO
Hello Gabriele, On 2012-10-30 16:44, Gabriele wrote: I have the same problem. I run piler under Debian Squeeze, using sphinx2 from the official .deb archive. I have sent 1 message to piler, ad it has been fed into the database. The next messages, are not :-( what do you mean? Please set v

Re: Empty set is returned on search

2012-10-30 Thread Janos SUTO
Hello Gabriele, On 2012-10-30 18:30, Gabriele wrote: what do you mean? Please set verbosity=5, restart piler, send of few messages, then show me the relevant parts of your maillog. Ok, debugging, I've fond this: Oct 30 17:26:49 fireber piler[19880]: CLAMD ERR: connect to /tmp/clamd Oct

Re: RES: Empty set is returned on search

2012-10-31 Thread Janos SUTO
Hello, On 2012-10-31 17:49, Gabriele wrote: I had to put symlinks to make it work: lrwxrwxrwx 1 root staff16 Oct 4 18:16 indexer -> /usr/bin/indexer lrwxrwxrwx 1 root staff16 Oct 5 16:25 searchd -> /usr/bin/searchd It worked !!! $ sudo ln -s /usr/bin/indexer /usr/local/bi

Re: RES: Empty set is returned on search

2012-11-02 Thread Janos SUTO
Hello Gabriele, On 2012-11-01 18:52, Gabriele wrote: $ sudo ln -s /usr/bin/indexer /usr/local/bin/indexer $ sudo ln -s /usr/bin/searchd /usr/local/bin/searchd finally, I'm glad that it works now. However if you prefer you can adjust the cron jobs to refer to /usr/bin/indexer intead of crea

Re: Sorting by date resets search filters

2012-11-03 Thread Janos SUTO
Hello, On 2012-11-03 10:59, Gabriele wrote: I made a search including "from" and a range of date. It returns 639 results. I can paginate between results correctly When I click the Date sort triangles, the results became 1000, listing ALL messages. Where am I wrong ? perhaps, you are using

Re: Sorting by date resets search filters

2012-11-21 Thread Janos SUTO
Hello, On 2012-11-21 16:54, Gabriele wrote: well, I couldn't reproduce it on the demo site, see the two attached screenshots. Mmmh now search parameters are not working anymore. Search for "pippo" in "From" and showed up ALL the results... well, I got nothing for "pippo"... Anyway do

Re: Sorting by date resets search filters

2012-11-21 Thread Janos SUTO
I've updated the master branch. Please update view/javascript/piler.js, then reload the page and try searching again with sorting. Janos On 2012-11-21 16:54, Gabriele wrote: Hy, well, I couldn't reproduce it on the demo site, see the two attached screenshots. Mmmh now search parameters a

Re: MailPiler implementations

2012-12-09 Thread Janos SUTO
Hello Jarek, On 2012-12-09 21:24, Serafin wrote: I'm considering MailPiler as a tool for email archiving in my organization for about 1000 mailboxes and max traffic 50msg/minute. So far I was able to "feed" my test instance with much higher email traffic, so I assume that performace is promi

Re: MailPiler implementations

2012-12-09 Thread Janos SUTO
On 2012-12-09 22:53, Serafin wrote: I made my tests on virtual machines hosted on ESXi. I assigned 3GB RAM for mailpiler and one CPU the question is, how close my test was to real-life traffic, but that is question for all tests ok, thanks. Well, archiving a million messages or so a day

Re: LDAP/AD integration

2012-12-11 Thread Janos SUTO
Hello Jarek, yes, I've tried it with Active Directory. I'm not sure whether you reported an importing error on bitbucket, but please check that you have a column called 'samaccount' in the 'user' table. If not, then apply util/db-upgrade-0.1.21-vs-0.1.22.sql to the piler database. Yesterd

Re: LDAP/AD integration

2012-12-11 Thread Janos SUTO
Hello, On 2012-12-11 19:05, Serafin wrote: well, IMAP authentication is nice approach, but not always. Having well-defined groups in such system like Zimbra or AD you can take an advantage of it and grant access basis on such information I see. I recommended the IMAP auth feature as a wo

Re: webui feature request

2012-12-16 Thread Janos SUTO
Hello Jarek, On 2012-12-16 20:40, Serafin wrote: would it be possible to change webui to run it under url like http://server.name/mailpiler/? yes, but see my comments below. why? it is not always possible to set separate virtual host, and you'd like to set webui as a subdirectory in you

Re: webui feature request

2012-12-17 Thread Janos SUTO
Hello Gabriele, On 2012-12-17 11:29, Gabriele wrote: So give me a very good reason to rewrite all of them and introduce a new 'sitedir' variable. Maybe where someone does not have control over the DNS server. There are cases where piler runs on a machine that is not dedicated, for exampl

Re: Restore message to mailbox

2012-12-17 Thread Janos SUTO
Hello Jarek, please visit http://piler.aaa.fu.acts.hu/ it's the demo site (only its separated developer version not to interfere with the 'production' demo site). So, login as auditor@local, then hit the search button, and select a message. The you can see that the "restore message" link has

Re: webui feature request

2012-12-17 Thread Janos SUTO
On 2012-12-17 20:28, Serafin wrote: On 12/17/2012 11:29 AM, Gabriele wrote: So give me a very good reason to rewrite all of them and introduce a new 'sitedir' variable. Maybe where someone does not have control over the DNS server. There are cases where piler runs on a machine that is n

Re: Restore message to mailbox

2012-12-18 Thread Janos SUTO
On 2012-12-18 18:19, Serafin wrote: to make it more user-friendly I would like to see this feature as popup window with all addresses listed and check-boxes next to them. Also you'd need Restore button on this popup, which would invoke real restore action ok, I modified it, please check i

Re: Restore message to mailbox

2012-12-20 Thread Janos SUTO
Hello Jarek, On 2012-12-18 23:33, Serafin wrote: this is exactly what I though about - Thanks I've just updated the master branch. Please update the webui, then try and test the restore feature for auditors. It includes the From address as well if it's an internal domain. Janos

Re: Restore message to mailbox

2012-12-22 Thread Janos SUTO
Hello, On 2012-12-22 19:25, Serafin wrote: restore function works as expected - thanks fine the only comment - if message was send to the sender itself, then there are two the same addresses on the list try this diff: --- a/webui/model/search/search.php +++ b/webui/model/search/sear

Re: pilerimport imap gives no feedback at all

2013-01-08 Thread Janos SUTO
Hello, I think, you are in /root, and user piler has no permission to create temp files there. Please chdir to /tmp, and try again. Janos On 2013-01-08 08:58, mourik jan heupink wrote: Hi, I have just discovered mailpiler, and it seems to do exactly what we were looking for. Great! Than

Re: pilerimport imap gives no feedback at all

2013-01-08 Thread Janos SUTO
Hello Mourik, On 2013-01-08 15:39, mourik jan heupink wrote: Thanks for the quick reaction! Same result in /tmp and in /var/piler/tmp (su-ing to piler also makes no difference) No output al all. This is on debian wheezy, x64. Touch 'test' creates the file test, so write permission is there

Re: pilerimport imap gives no feedback at all

2013-01-08 Thread Janos SUTO
Hello Mourik, On 2013-01-08 17:10, mourik jan heupink wrote: I have pasted the (I think) relevant lines here: http://paste.ubuntu.com/1509869/ To me, the last line "BYE IMAP Server not available.." is a bit sudden and unexpected...? yes, indeed. I'm sure you tried to run the importing ut

Re: search result question

2013-01-15 Thread Janos SUTO
Hello, On 2013-01-15 21:17, mourik jan heupink wrote: Quick question about the search results: There are 7 columns, and the last one is either a green checkmark (mostly) or a red cross (sometimes). What does the red cross mean? Gues it indicates some kind of problem... Sometimes the messag

Re: search result question

2013-01-17 Thread Janos SUTO
Hello Mourik, On 2013-01-17 16:14, mourik jan heupink wrote: root@piler:~# pilerget 400050ec8c2c1ac77ddc0b6f59d12e82 root@piler:~# pilerget 400050ec8f521d2f2f0c3eb882c595e9 root@piler:~# pilerget 400050ec97ef0916c264e7580b355eca No results at all. Yesterday I was in a hurry, and I

Re: search result question

2013-01-17 Thread Janos SUTO
On 2013-01-17 17:19, mourik jan heupink wrote: the question is: where is your store directory? Under /usr/local/var/piler/store or under /var/piler/store? /var/piler/store hmm. Where does that directory come from...? it's the 'localstatedir' parameter of the configure script. By default it's

Re: »Conversation available« -- Initial message not shown

2013-03-17 Thread Janos SUTO
Hello Frank, On 2013-03-17 08:06, Frank Ellebrecht wrote: Piler marks a message thread with a plus-sign [+] next to the subject. But when I click on the plus-sign, piler only shows the follow-ups, not the initial message. Is there any way to change that behaviour, i.e. show the initial messa

Re: Translations

2013-03-17 Thread Janos SUTO
Hello, On 2013-03-17 07:58, Frank Ellebrecht wrote: - Although the status monitor page is shown in German, the daily report generated by daily-report.php is still in English. Am I missing something? it should work, just be sure set $config['DEFAULT_LANG'] to your choice, and enable it ad

Re: Documentation

2013-03-17 Thread Janos SUTO
Hello, On 2013-03-17 07:40, Frank Ellebrecht wrote: As I had some problems during the installation process, I thought it might be a good idea to share them here and suggest some changes to the documentation: Mandatory packages == The package »sysstat« is required. Without i

Re: Documentation

2013-03-17 Thread Janos SUTO
On 2013-03-17 20:17, Frank Ellebrecht wrote: Okay, off to new adventures, where no man has gone before! :-) I'm still undecided whether to upgrade or to install from scratch (it's a test system). don't worry, I always use the latest stuff on the demo site to verify that it actually works, s

Re: Translations

2013-03-17 Thread Janos SUTO
On 2013-03-17 20:59, Frank Ellebrecht wrote: Replied off the list, sorry. no problem. I've just updated the master branch to include the lang option. You may try it on the demo site as well, see http://www.mailpiler.org/en/demo.html Janos

Re: Documentation

2013-03-17 Thread Janos SUTO
On 2013-03-17 21:52, Frank Ellebrecht wrote: Actually, the problem isn't with the malware, but with our lawmakers (kind of synonyms, aren't they). Under German law you as a business owner are obliged to archive _every_ message you receive and send -- even spam and malware. Think of false positi

Re: »Conversation available« -- Initial message not shown

2013-03-17 Thread Janos SUTO
On 2013-03-17 18:49, Frank Ellebrecht wrote: Hello Janos, Am Sonntag, den 17.03.2013, 13:43 +0100 schrieb Janos SUTO: Hello Frank, On 2013-03-17 08:06, Frank Ellebrecht wrote: Piler marks a message thread with a plus-sign [+] next to the subject. But when I click on the plus-sign, piler

Re: »Conversation available« -- Initial message not shown

2013-03-18 Thread Janos SUTO
On 2013-03-17 23:14, Janos SUTO wrote: I'm not sure if I still can follow you, but perhaps we may leave the current solution as it is, and when a message comes in with a reference value, then let's issue an sql update on the metadata to set a reference value for the very first m

Re: Max results

2013-03-18 Thread Janos SUTO
Hello Viet, On 2013-03-18 09:27, Hoang Tuan Viet wrote: I have set sphinx.conf: max_matches = 1 and restart searchd. I also set in config.php define('MAX_SEARCH_HITS', 1); define('MAX_AUDIT_HITS', 1); However, piler still returned 1000 results while searching in cli (by

Re: Max results

2013-03-18 Thread Janos SUTO
Hello Viet, Does user 'piler' have write permissions on /tmp/piler directory? Please find the improved pilerexport.c attached. It has a slightly changed sql query for exporting all emails. Please recompile, and let's see whether it works for you. Please note that if you have many emails then it

Re: Max results

2013-03-18 Thread Janos SUTO
Hello Viet, please replace model/search/search.php with the attached version. It should do the trick, and enable you to see more than 1000 results. Janosmake_cache_file_name($data, $sortorder); $memcache = Registry::get('memcache'); $m = $memcache->get($cache_key); }

Re: Documentation

2013-03-18 Thread Janos SUTO
Hello Frank, On 2013-03-18 20:26, Frank Ellebrecht wrote: Just wanted to let you know that I finally succeeded installing the master branch, at least yesterday's build (770). I did have some trouble just post them. I'd like to make the piler install/upgrade as smooth as possible. here a

Re: Documentation

2013-03-18 Thread Janos SUTO
On 2013-03-18 22:07, Frank Ellebrecht wrote: - I can't find the audit log anymore -- am I missing something? make sure it's turned it on, ie. $config['ENABLE_AUDIT'] = 1; Then as admin@local see the 'Monitor' menu. Yes, that was one thing I had in config-site.php ... I really should review

Re: Documentation

2013-03-19 Thread Janos SUTO
On 2013-03-18 23:18, Frank Ellebrecht wrote: There's another thing I just noticed. When running daily-report.php I get »PHP Notice: Undefined variable: usagetrend in /var/piler/www/view/theme/default/templates/health/daily-report.tpl on line 101« there's a typo, and it's $useagetrend in ut

Re: Max results

2013-03-19 Thread Janos SUTO
Hello Viet, On 2013-03-19 04:11, Hoang Tuan Viet wrote: There was an error when I recompiled piler: pilerexport.c: In function ‘export_emails_matching_to_query’: pilerexport.c:167:22: warning: passing argument 2 of ‘retrieve_email_from_archive’ from incompatible pointer type [enabled by def

Re: Max results

2013-03-19 Thread Janos SUTO
On 2013-03-19 04:18, Hoang Tuan Viet wrote: I have replaced the file. Then I got no result. I restored the original file and piler returned results normally. hmmm, it's weird. Please enable syslogging in config.php: $config['ENABLE_SYSLOG'] = 1; Then try search for something or simply hi

Re: Max results

2013-03-19 Thread Janos SUTO
On 2013-03-19 11:29, Hoang Tuan Viet wrote: Then connect to searchd: "mysql -h 127.0.0.1 -P 9306", and issue the same sql query. Then please show me the query and the result. Here is log: piler-webui[7598]: sphinx query: 'SELECT id FROM main1 WHERE    MATCH('') ORDER B

Re: »Conversation available« -- Initial message not shown

2013-03-19 Thread Janos SUTO
On 2013-03-19 20:17, Frank Ellebrecht wrote: Sorry to say but it doesn't work. I just tested with build 775 and it shows the same behaviour as 0.1.22. When I click on the plus sign only the follow-ups are shown, not the initial message. it's ok, I'm not afraid of bugs. Finally it's really fix

Re: Location of searchd.pid

2013-03-20 Thread Janos SUTO
Hello Frank, On 2013-03-19 23:59, Frank Ellebrecht wrote: Just saw that you followed my suggestion, thanks. But you'll have to adjust the path in rc.searchd, too (in build 776 it is still PID_FILE=/var/piler/sphinx/searchd.pid). Thanks for noticing, fixed in rc.searchd, too. Janos

Re: Translation and UI questions

2013-03-21 Thread Janos SUTO
Hello, On 2013-03-21 14:40, Frank Ellebrecht wrote: I just found some strings that are not yet ready for i18n: First, on the status monitor page the time behind $_['text_partition_full'] isn't in messages.php (x _years_, y _months_, z _days_). well, I can find it in languages/en/messages.

Re: Audit log

2013-03-21 Thread Janos SUTO
On 2013-03-21 18:36, Frank Ellebrecht wrote: Sorry for being so noisy but I have some issues with the audit log (build 776): no problem :-) When the page has loaded and I click »Search«, only search actions are returned. When I click in the search term field (without entering anything) and t

Re: Translation and UI questions

2013-03-21 Thread Janos SUTO
On 2013-03-21 20:20, Frank Ellebrecht wrote: Well, no. There you'll find the string »text_partition_full« itself. I meant the strings »year«, »month« and »day« right after it, please see the red marked text in the attached screenshot . ok, got it, and fixed it. Janos

Re: Text attachment problem

2013-03-21 Thread Janos SUTO
Hello Frank, On 2013-03-21 14:43, Frank Ellebrecht wrote: During my tests (build 776) I archived an email with an attached text file (log file). In the web UI the message size is shown correctly, but neither the paper clip icon nor a link to the attachment is shown. The message body doesn't

Re: Audit log

2013-03-21 Thread Janos SUTO
On 2013-03-21 22:12, Frank Ellebrecht wrote: I can't reproduce it on the demo site. When I click on the search button, it returns every kind of actions. Is it from the latest build? almost Well, I can't reproduce it either. On the demo site () there is no audit lo

Re: Text attachment problem

2013-03-23 Thread Janos SUTO
Hello Frank, On 2013-03-21 23:53, Frank Ellebrecht wrote: The relevant headers shown by piler: Content-Type: multipart/mixed; boundary="=-P1LXwtUztRVaN97ccNZu" Mime-Version: 1.0 The headers in my MUA (Evolution 3.6.2): --=-P1LXwtUztRVaN97ccNZu Content-Disposition: attachment; filename="mail

Re: Text attachment problem

2013-03-23 Thread Janos SUTO
Hello Frank, On 2013-03-23 14:27, Frank Ellebrecht wrote: hmm, strictly speaking, yes, even though pilerget returned the email as it was received. I'll fix this in the parser soon. the fix is committed to bitbucket, please try it, and let's see whether it works for you. I'm confused:

Re: Text attachment problem

2013-03-23 Thread Janos SUTO
On 2013-03-23 21:59, Frank Ellebrecht wrote: Well, it almost works (build 777, last commit: 6930fe6). What works (Please see the attached screenshot): - link to attachment is shown in UI - paper clip icon is displayed in UI What doesn't work: - the link itself When I click on the link

Re: Audit log

2013-03-23 Thread Janos SUTO
Hello Frank, it was a freak accident: the default 'enter your search terms' text matched the "search" action, so it was searching for such things, while the German text had no effect on it. Finally found and fixed the bug. Also perhaps administrators don't really need the 'enter your search t

Re: Text attachment problem

2013-03-23 Thread Janos SUTO
On 2013-03-23 22:49, Frank Ellebrecht wrote: Yes. # ls -la /var/piler/www/tmp/ insgesamt 12 drwxr-xr-x 2 www-data www-data 4096 23. Mär 20:16 . drwxr-xr-x 11 www-data www-data 4096 23. Mär 20:23 .. -rw-r--r-- 1 www-data www-data 31 23. Mär 20:16 .htaccess # su www-data $ touch /var/piler/

Re: Text attachment problem

2013-03-24 Thread Janos SUTO
On 2013-03-23 23:39, Frank Ellebrecht wrote: Am Samstag, den 23.03.2013, 23:24 +0100 schrieb Janos SUTO: ok, try this: find the piler_id of this message. You can see it in the maillog or query from the metadata table: mysql> select piler_id from metadata where id=284; then issue

Re: Text attachment problem

2013-03-24 Thread Janos SUTO
Hello Frank, On 2013-03-24 22:15, Frank Ellebrecht wrote: That works (build 782, commit 97800b3). $ diff jsuto-piler-97800b32faf4/webui/model/search/message.php \ /var/piler/www/model/search/message.php 62c62,63 < return base64_decode(preg_replace("/\s/", "", $data)); --- /* ret

Re: Text attachment problem

2013-03-24 Thread Janos SUTO
On 2013-03-24 22:54, Frank Ellebrecht wrote: then try to download the same attachment Nope, if I open/download the attachment mail.log, it's 0 bytes. ehh, in the 65th line it should read as: if(!preg_match("/\s/", $s)) { so it's not preg_replace but preg_match. Please try again. So,

Re: Text attachment problem

2013-03-25 Thread Janos SUTO
Hello Frank, On 2013-03-25 08:39, Frank Ellebrecht wrote: Before you get too excited. ;-) As you might have noticed, the screenshots were made from the message forwarded to piler. As I thought that this might change the results, I added your message again, this time with pilerimport. Now the me

Re: Text attachment problem

2013-03-26 Thread Janos SUTO
Hello Frank, On 2013-03-25 22:38, Frank Ellebrecht wrote: I've done that and now the message looks way better. Here is the good interesting part, copied from the web UI: [...] Content-Type: application/pdf; name="=?I

Re: Installation query inbound email

2013-03-26 Thread Janos SUTO
Hello, what's your layout, network topology, how does piler fit in the big picture? Normally piler listens on 0.0.0.0:25 and accepts each and every single email for archival. Show me some logs and we'll figure out the problem. Janos On 2013-03-26 12:02, Adam Fyfe wrote: Hi We have Piler al

Re: Installation query inbound email

2013-03-26 Thread Janos SUTO
your config says that you have postfix on yourip:25/tcp, and it forwards emails to piler (127.0.0.1:25/tcp). However you shouldn't use piler as a smarthost, because it is not such a host. It doesn't relay anything. It just receives and archives the emails it gets. The recommended approach is to

Re: Text attachment problem

2013-03-26 Thread Janos SUTO
Hello Frank, On 2013-03-26 12:22, Frank Ellebrecht wrote: Great news. I'll finish the German translation until tomorrow so you might include it in the upcoming version. I count on it :-) Until then, it seems that I have another issue with attachments. ;-) I sent a message with two attache

Re: Installation query inbound email

2013-03-26 Thread Janos SUTO
On 2013-03-26 13:31, Adam Fyfe wrote: Im confused ! So I need Postfix running ? I has assumed Piler would have received the INCOMING email which is to be archived Piler is now set to 0.0.0.0:25 [2] If I stop Postfix, I cannot get an inbound connection at all ok, first please clarify that d

Re: Installation query inbound email

2013-03-26 Thread Janos SUTO
smtp session, and show me the results along with your maillog related to this session. Janos On 26 March 2013 12:39, Janos SUTO wrote: On 2013-03-26 13:31, Adam Fyfe wrote: Im confused ! So I need Postfix running ? I has assumed Piler would have received the INCOMING email which is to be arc

Re: Installation query inbound email

2013-03-26 Thread Janos SUTO
On 2013-03-26 14:02, Adam Fyfe wrote: If I stop postfix, I cannot telnet on port 25, even from the localserver : telnet 127.0.0.1 25 Trying 127.0.0.1... telnet: connect to address 127.0.0.1 [2]: Connection refused don't use 127.0.0.1 since it's unreachable from outside. Use the IP-address of

Re: German translation

2013-03-26 Thread Janos SUTO
Hell Frank, On 2013-03-26 18:48, Frank Ellebrecht wrote: Here it is. I checked against the last commit (82e989e) that all strings are included. I'd like to invite all German speaking users of piler to try it out and inform me about typos, erroneous translations and suggestions for improvemen

Re: Text attachment problem

2013-03-26 Thread Janos SUTO
Hello Frank, On 2013-03-26 17:53, Frank Ellebrecht wrote: Would it be possible then to show such parts in-line as part of the message body without too much effort? Although the message above was only created for testing purposes, the same way Evolution formats forwarded messages. In the UI t

  1   2   3   4   5   6   >