Hi,
I have installed djigzo on a OpenSuSE 11.1 system.
Encryption and signing seems to work without a problem, but there's one nasty detail, which I cannot solve.
In the "Logs" section the webinterface shows the entries of /var/log/djigzo.log which is of course a symbolic link.
But Djigzo doesn't display any entries for the MTA log. The file /var/log/mail exists and I have created a symbolic link called mail.log that points to /var/log/mail.
Just to make sure, that it isn't a permission problem, I did a "chmod o+r /var/log/mail" but there are still no entries in the webinterface.
Does anyone have an idea what logfile Djigzo is looking for or why it cannot read /var/log/mail?
Thanks for any hints/suggestions,
Stefan
By default Djigzo looks for /var/log/mail.info.0 and /var/log/mail.info
This is specified in postfixLogManagerWSBean in conf/spring/soap.xml
<bean id="postfixLogManagerWSBean"
class="mitm.application.djigzo.ws.impl.PostfixLogManagerWSImpl">
<constructor-arg>
<list>
<value>/var/log/mail.info.0</value>
<value>/var/log/mail.info</value>
</list>
</constructor-arg>
</bean>
You can either change the values of the postfixLogManagerWSBean (you can
add more entries if you wish) or perhaps easier add a soft link from
/var/log/mail to /var/log/mail.info etc.
Kind regards,
Martijn Brinkers
···
On 08/23/2011 03:43 PM, Stefan Michael Guenther wrote:
Hi,
I have installed djigzo on a OpenSuSE 11.1 system.
Encryption and signing seems to work without a problem, but there's one nasty detail, which I cannot solve.
In the "Logs" section the webinterface shows the entries of /var/log/djigzo.log which is of course a symbolic link.
But Djigzo doesn't display any entries for the MTA log. The file /var/log/mail exists and I have created a symbolic link called mail.log that points to /var/log/mail.
Just to make sure, that it isn't a permission problem, I did a "chmod o+r /var/log/mail" but there are still no entries in the webinterface.
Does anyone have an idea what logfile Djigzo is looking for or why it cannot read /var/log/mail?
--
Djigzo open source email encryption
By default Djigzo looks for /var/log/mail.info.0 and /var/log/mail.info
This is specified in postfixLogManagerWSBean in conf/spring/soap.xml
<bean id="postfixLogManagerWSBean"
class="mitm.application.djigzo.ws.impl.PostfixLogManagerWSImpl">
<constructor-arg>
<list>
<value>/var/log/mail.info.0</value>
<value>/var/log/mail.info</value>
</list>
</constructor-arg>
</bean>
You can either change the values of the postfixLogManagerWSBean (you can
add more entries if you wish) or perhaps easier add a soft link from
/var/log/mail to /var/log/mail.info etc.
I have changed it in the config file, but that's not enough.
The problem on an OpenSuSE system is, that /var/log/mail belongs to root:root (rw-r-----).
Therefore djigzo will still not be able to read the file.
I did a "chgrp djigzo /var/log/mail" and added this command to /etc/logrotate.d/syslog. because otherwise the problem will occur again after the rotation of the logfile.
Bye,
Stefan