| 1 |
.. cyrusman:: cyr_synclog(8) |
| 2 |
|
| 3 |
.. author: Nic Bernstein (Onlight) |
| 4 |
|
| 5 |
.. _imap-reference-manpages-systemcommands-cyr_synclog: |
| 6 |
|
| 7 |
=============== |
| 8 |
**cyr_synclog** |
| 9 |
=============== |
| 10 |
|
| 11 |
is used to append a value to the log file. You can either specify |
| 12 |
the log type and value, or an entire log line. |
| 13 |
|
| 14 |
Synopsis |
| 15 |
======== |
| 16 |
|
| 17 |
.. parsed-literal:: |
| 18 |
|
| 19 |
**cyr_synclog** [ **-C** *config-file* ] [ *-{type}* *value* ] |
| 20 |
**cyr_synclog** [ **-C** *config-file* ] *"<raw-log-line>"* |
| 21 |
|
| 22 |
Description |
| 23 |
=========== |
| 24 |
|
| 25 |
**cyr_synclog** is used to append a value to the log file. You can |
| 26 |
either specify the log type and value, or an entire log line. |
| 27 |
|
| 28 |
Running without any options will print a short usage document. |
| 29 |
|
| 30 |
**cyr_synclog** |default-conf-text| |
| 31 |
|
| 32 |
Options |
| 33 |
======= |
| 34 |
|
| 35 |
.. program:: cyr_synclog |
| 36 |
|
| 37 |
.. option:: -C config-file |
| 38 |
|
| 39 |
|cli-dash-c-text| |
| 40 |
|
| 41 |
.. option:: -u, --user user |
| 42 |
|
| 43 |
.. option:: -U, --unuser unuser |
| 44 |
|
| 45 |
.. option:: -v, --sieve sieve |
| 46 |
|
| 47 |
.. option:: -m, --mailbox mailbox |
| 48 |
|
| 49 |
.. option:: -M, --unmailbox unmailbox |
| 50 |
|
| 51 |
.. option:: -a, --append append |
| 52 |
|
| 53 |
.. option:: -c, --acl acl |
| 54 |
|
| 55 |
.. option:: -q, --quota quota |
| 56 |
|
| 57 |
.. option:: -n, --annotation annotation |
| 58 |
|
| 59 |
.. option:: -s, --seen seen |
| 60 |
|
| 61 |
.. option:: -b, --subscription subscription |
| 62 |
|
| 63 |
Examples |
| 64 |
======== |
| 65 |
|
| 66 |
.. parsed-literal:: |
| 67 |
|
| 68 |
**cyr_synclog -m** *user.brong* |
| 69 |
|
| 70 |
.. |
| 71 |
|
| 72 |
Add the mailbox *user.brong* to the log. |
| 73 |
|
| 74 |
.. parsed-literal:: |
| 75 |
|
| 76 |
**cyr_synclog -u** *brong* |
| 77 |
|
| 78 |
.. |
| 79 |
|
| 80 |
Add the user *brong* to the log. |
| 81 |
|
| 82 |
.. parsed-literal:: |
| 83 |
|
| 84 |
**cyr_synclog -C** */etc/imapd-special.conf* **-s** *user.brong* *brong* |
| 85 |
|
| 86 |
.. |
| 87 |
|
| 88 |
Add a log entry to mark mailbox *user.brong* as seen by user |
| 89 |
*brong*. |
| 90 |
|
| 91 |
.. parsed-literal:: |
| 92 |
|
| 93 |
**cyr_synclog** *"SEEN user.brong brong"* |
| 94 |
.. |
| 95 |
|
| 96 |
Add a log line, using the raw format, to mark mailbox |
| 97 |
*user.brong* as seen by user *brong*. |
| 98 |
|
| 99 |
History |
| 100 |
======= |
| 101 |
|
| 102 |
|v3-new-command| |
| 103 |
|
| 104 |
Files |
| 105 |
===== |
| 106 |
|
| 107 |
/etc/imapd.conf, |
| 108 |
<configdirectory>/sync/log |
| 109 |
|
| 110 |
See Also |
| 111 |
======== |
| 112 |
|
| 113 |
:cyrusman:`imapd.conf(5)`, :cyrusman:`sync_client(8)` |