How to enable debug logging in kolab_smtp_access_policy ?
Franz Skale
i.bin at dah.am
Thu Aug 13 21:56:18 CEST 2015
Hi,
start kolab-server and wallace with debug enabled.
Both log to pykolab.log.
There you should find sufficient output to debug your problem.
/etc/default/kolab-server:
FLAGS="-l debug -d 9"
/etc/default/wallace:
FLAGS="-l debug -d 9"
Also consider to run it in forground.
Some warnings to to stderr.
Like:
/usr/bin/python /usr/sbin/kolabd -l debug -d 9 --user kolab --pid-file
/run/kolabd/kolabd.pid
/usr/bin/python /usr/sbin/wallaced -l debug -d 9 --user kolab
Or just use screen for that and log the output to stderr.
kolab_smtp_access_policy uses pykolab framework.
Rgds.
Franz
Am 11.08.15 um 21:49 schrieb Geert Janssens:
> I'm still hunting the unusually slow performance of mail and calendars
> on our site (which I already asked about before our holidays).
>
> I'm going over several components in the mail sending chain and came
> across
> /usr/libexec/postfix/kolab_smtp_access_policy
>
> This appears to be a python script that verifies senders and recipients.
> It has some code for logging its activities.
>
> I'd like to enable debug logging for this tool, but it's unclear to me
> how to do this. Can someone tell me how to do it ?
>
> Thank you,
>
> Geert Janssens
> _______________________________________________
> users mailing list
> users at lists.kolab.org
> https://lists.kolab.org/mailman/listinfo/users
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4254 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.kolab.org/pipermail/users/attachments/20150813/47756957/attachment.p7s>
More information about the users
mailing list