Piler 1.3.5 on Ubuntu 18.04 WebUI doesn't render timestamped Mails

2020-10-16 Thread Patrick Wagner




Hello everyone,

we're testing the TSA signing feature of Piler. When I login as auditor 
all mails are listed correctly in the Web GUI upper pane / list. When I 
click on a mail the header and content are displayed below if that mail 
was not signed (yet). Clicking on a signed mail however does not refresh 
the lower pane and continues to display either the last non-stamped mail 
or remains blank (if no mail had been selected before). With pilerget on 
the CLI the mails are displayed correctly.


What's wrong? Do I have to change any configuration?

I added these lines in config-site.php:
$config['TSA_PUBLIC_KEY_FILE'] = '/etc/piler/tsa.publickey.pem';
$config['TSA_START_ID'] = 1;
$config['TSA_STAMP_REQUEST_UNIT_SIZE'] = 500;
$config['TSA_URL'] = 'http://zeitstempel.dfn.de';

$config['DECRYPT_BINARY'] = '/usr/bin/pilerget';
$config['DECRYPT_ATTACHMENT_BINARY'] = '/usr/bin/pilerget';


Thanks,
Patrick

# piler -V
piler 1.3.5, build 997, Janos SUTO 

Build Date: Sun Apr 21 16:50:30 UTC 2019
ldd version: ldd (Ubuntu GLIBC 2.27-3ubuntu1) 2.27
gcc version: gcc version 7.3.0 (Ubuntu 7.3.0-27ubuntu1~18.04)
OS: Linux 188ae4f9894f 4.15.0-47-generic #50-Ubuntu SMP Wed Mar 13 
10:44:52 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Configure command: ./configure --prefix=/usr --sysconfdir=/etc 
--localstatedir=/var --with-database=mariadb

MySQL client library version: 10.2.9
Extractors: /usr/bin/pdftotext /usr/bin/catdoc /usr/bin/catppt 
/usr/bin/xls2csv /usr/bin/unrtf /usr/bin/tnef


Ubuntu 18.04.5 LTS

PHP 7.2.24-0ubuntu0.18.04.6 (as supplied with the distro)

MariaDB 10.1.44 (as supplied with the distro)




Web-GUI shows piler archive mail address in To

2015-03-26 Thread Patrick Wagner
Hello,

is it correct that I'm seeing archive@piler.internal in the To column of 
the web interface for all e-mails? If I hover over the 
archive@piler.internal, I can see there are 1 or 2 real recipient addresses 
(depending on whether X-Envelope-To == From or not, I presume), or even more in 
the case of multiple recipients, obviously.
That's kind of unhelpful for my users of course, because now they've got a 
useless column that's 'mislabeled' and 'a waste of space' from their point of 
view because it doesn't tell them what they're looking for (the actual 
recipient(s) of the mails in question) unless they hover over each of the 
search results.

I recognize of course, that with our setup (Postfix with additional 
X-Envelope-To and bcc_maps) it is correct to see the piler mail address as 
Envelope-To, because that is how Postfix passed the mail to the piler, and if I 
used piler-import of existing mails it would probably look fine, but is there 
an existing setting already to configure which field to show? Or has there been 
discussion about it already whether to implement such a setting? 

Thanks,

Patrick