kopano-oof(1)
π kopano-oof β the manual, but make it cute π
hi bestie π you've landed on kopano-oof(1), straight outta the Kopano Core user reference. yes, section 1, user commands, we love that for us. sit down, grab a strawberry π, and let's talk about Out Of Office settings.
πΈ NAME πΈ
kopano-oof β control a user/store's Out Of Office settings.
β¨ SYNOPSIS β¨
kopano-oof [-Px] [-h uri] [-m {0|1}] [-n msgfile] [-s sslkeyfile] [-t subject] [-u username] [--from iso8601] [--until iso8601]
π DESCRIPTION π
so this program does exactly one thing and it does it well: it changes and/or displays a user's Out Of Office settings, aka OOF. these settings are the ones that decide whether kopano-dagent(8) will, within a certain timeframe, send an automated reply to every message that comes in. no cap.
and it's not just dagent β kopano-spooler(8) can also use the OOF settings to do special handling, like forwarding a message to an alternate account when the original recipient has OOF active. iconic behaviour tbh. π«Ά
heads up bestie: the storage server must be running for kopano-oof to function. like, actually running. no server, no OOF, no vibes. π
and here's the thing to remember: after it potentially updates the OOF settings with -m, --from and friends, kopano-oof will always output the current/new state of the OOF settings in JSON format. always. every single time. periodt.
π OPTIONS π
-huri β connect to the storage server you name here. if you don't say anything, it just contacts the local standard Kopano instance, which is the default vibe.-m,--mode{0|1} β clears or sets the Out Of Office flag on the user store.0disables it,1enables it. when it's enabled, daemons likekopano-dagent(8)andkopano-spooler(8)will, while processing a message, evaluate the OOF time constraints (which you set independently with the further options). β¨-n,--messagefile β updates the message body for Out Of Office messages to the contents of the file you point at. the encoding of that file is expected to be in the current environment's charset β that's theLC_CTYPEvariable, bestie. π-s,--sslkey-filefile β reads the certificate file you specify and uses it while connecting to the storage server. π-t,--subjecttext β updates the subject line for Out Of Office messages to the text you give it. the encoding of the text is expected to be in the environment's charset.-Pβ interactively prompts you for the SSL keyfile password. if neither-Pnor-pis specified,kopano-oofwill go looking for a password in theOOF_SSL_PASSWORDenvironment variable.-ppassword β okay so this one exists purely for compatibility withkopano-set-oof(1). you should use theOOF_SSL_PASSWORDenvironment variable instead to pass the SSL certificate password, because passwords may be visible in the output ofps(1). π please don't put your password on the command line.-u,--userusername β edit the Out Of Office settings for this user's default store.-xβ prompts for the user account password. if you don't pass this option,kopano-oofwill look for a password in theOOF_PASSWORDenvironment variable. and if no password was specified in any way at all β-x,-p, environment variables, nothing β thenkopano-oofwill log in with the "SYSTEM"</> account, which requires appropriate privileges. confer with the"local_admin_users"directive inkopano-server.cfg(5). π--dump-jsonβ this option is ignored, for compatibility withkopano-set-oof(1). JSON data is always emitted, both when the settings have changed and when they are unmodified. so yeah, it's decorative. cute though.--fromYYYY-mm-dd HH:MM β limits the Out Of Office mechanism so that it is not active if the time of processing a message is before the specified timepoint. the format for the argument is like"2015-04-01 23:50"(ISO-8601-like). that timepoint is interpreted as being in the current environment's timezone, aka theTZvariable. π°οΈ--toYYYY-mm-dd HH:MM β limits the Out Of Office mechanism so that it is not active if the time of processing a message is after this timepoint. same format as--from. alternatively, the special value"infinite"may be used to say that OOF is open-ended. π
π¦ JSON OUTPUT π¦
this is what it spits out:
{
"active" : false,
"from" : "2019-01-01 00:00:00",
"set" : true,
"subject" : "outtahere",
"until" : "infinite"
}
let's decode the vibes π :
settells you whether the Out Of Office feature has been enabled at all.fromanduntilspecify the time range in which OOF will be considered active (if and only if it is enabled) by dagent, spooler, and so on. the special value"infinite"expresses that it's open-ended.activeflags whether OOF is active right now given these conditions.subjectandmessagecontain the OOF message subject and body data.
π USAGE EXAMPLES π
1. non-SSL login with password, and enabling OOF over a certain period, sourcing the body text from a file:
OOF_PASSWORD=xfoo kopano-oof -u foo -m 1 -t "Outta here for a while" --from "2017-12-23 00:00" --until "2018-01-02 00:00" --message long_explanation.txt
2. pseudo-disablement of one's mailbox (the "idk when I'm back" classic):
kopano-oof -u foo -m 1 -t "Dunno when I return" --from "2019-01-01 00:00" --until infinite
3. enable the out of office message of mailbox user1 with subject test and body from file /tmp/oof-message in a multi-server-environment:
OOF_SSL_PASSWORD=password kopano-oof -u user1 -m 1 -t test --message /tmp/oof-message --host https://localhost:237/ --sslkey-file /etc/kopano/ssl/client.pem
fr fr, all three of those are copied character for character, so just paste and go bestie. π«Ά
and that's the whole page!! π thanks for reading the kopano-oof(1) manual with me, you ate that. this one's from Kopano 8, dated 2018-01-11, and it lives in section 1 of the manual. now go set your OOF and go touch some grass πΈπ¦β¨ mwah π
π¦ where this page comes from
- ubuntu jammy: kopano-utils 8.7.0-7.1ubuntu10 Β· AGPL-3.0-only
- ubuntu jammy: kopano-utils 8.7.0-7.1ubuntu10.1 Β· AGPL-3.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms