Hello,
On 2015-06-01 11:56, d tbsky wrote:
just try to test piler 1.1.1. I am using scientific linux 7.1 so I start modifying "piler.spec" which comes with tar ball. after installation I got some permission problem. I compare the spec file with "make install" script. and found: "make install" use mode "6755" for program /usr/bin/*. and piler.spec use mode "0655".
thanks for reporting. 6555 is the correct permission. I've just fixed it.
I assume piler want suid program because it want to execute it by webserver?
yes
instead suid, I add "apache" user to "piler" group, and it seems fine. but I don't know if it is enough?
the important thing is to let pilerget and friends read the /var/piler/store
files. If the group hack is enough, then it's ok.
my testing piler server is 10.1.1.200. to archive mail, I set up mailserver postfix to: always_bcc = archive@[10.1.1.200]
I recommend to setup a valid dns entry, eg. always_bcc = [email protected]
when I use audit@local to login web server, I saw the "to" column of every mail is "archive@[10.1.1.200]". i think there must be a parameter to filter out "archive@[10.1.1.200]", so the webui won't show it (like the demo site) . but I don't know what parameter to setup?
fix the hostname for hostid in piler.conf, and fix the always_bcc address as well. Then restart piler, and if new emails are displayed properly, then remove archive@[10.1.1.200]
from the rcpt table. Janos
