SIVTEST(1)
π SIVTEST(1) β the Cyrus IMAP girlies' interactive MANAGESIEVE test program π
okay so bestie, welcome to sivtest, section 1 of the manual β part of the Cyrus IMAP docs. She's an interactive MANAGESIEVE test program. And plot twist π«’ β she's actually installed as a hard linked copy of imtest(1). Which is why basically everything below talks about imtest, and no, that's not a typo, that's just how she lives. π
She lets you authenticate and send MANAGESIEVE commands to the server. That's the whole gig. β¨
β¨ SYNOPSIS β¨
imtest [ -t keyfile ] [ -p port ] [ -m mechanism ]
[ -a userid ] [ -u userid ] [ -k num ] [ -l num ]
[ -r realm ] [ -f file ] [ -n num ] [ -s ] [ -q ]
[ -c ] [ -i ] [ -z ] [ -v ] [ -I file ] [ -x file ]
[ -X file ] [ -w passwd ] [ -o option=value ]
[ -H client-ip ] hostname
πΈ DESCRIPTION πΈ
imtest is a utility that lets you authenticate to an IMAP server and then just... talk to it. Interactively. You issue commands, it does the thing. Once you're authenticated you can type in any IMAP command and off it goes. π¦
She handles multiple SASL authentication mechanisms and deals with encryption layers transparently, like the icon she is. People use this a lot for testing whether an IMAP server is actually behaving, and if you're out here developing IMAP clients, bestie, she's genuinely useful to you too. π
π OPTIONS π
-t keyfile,--keyfile=keyfileβ Turns on TLS.keyfileholds the TLS public and private keys. And listen β if you pass""(literally empty), she'll negotiate a TLS encryption layer but not use TLS authentication. Yes, that's a real thing you can do. π-p port,--port=portβ Which port to connect to. Leave it off and it defaults toimapas defined in/etc/services.-m mechanism,--mechanism=mechanismβ Forceimtestto usemechanismfor authentication. Don't specify it and she picks the strongest authentication mechanism the server supports. If you saylogin, she uses the LOGIN command instead of AUTHENTICATE. slay.-a userid,--authname=useridβ The userid used for authentication; defaults to whoever you currently are. This is the userid whose password or credentials get presented to the server to be verified. π-u userid,--username=useridβ The userid used for authorization; also defaults to the current user. This is the userid whose identity gets assumed after authentication. It's the "who am I pretending to be now" one.
β οΈ NOTE: this is only used with SASL mechanisms that allow proxying (e.g. PLAIN). So don't come crying to her if your fancy mechanism ignores it, bestie, she warned you. π
-k num,--minssf=numβ Minimum protection layer required. That's it, that's the vibe check.-l num,--maxssf=numβ Maximum protection layer to use (0=none;1=integrity; etc). Example time β¨: if you're using the GSSAPI authentication mechanism, specifying0forcesimtestto not use any layer, and specifying1forces her to use the integrity layer. By default the maximum supported protection layer gets used.-r realm,--realm=realmβ Specify the realm to use. Some authentication mechanisms are dramatic and require you to name a realm. π-f file,--input-filename=fileβ Pipefileinto the connection after authentication. π-n num,--reauth-attempts=numβ Number of authentication attempts; default =1. The client will attempt SSL/TLS session reuse and/or fast reauth if possible.-s,--require-tlsβ Enable SSL over the chosen protocol. π₯-q,--require-compressionβ Enable IMAP COMPRESSion (after authentication).-c,--do-challengeβ Enable challenge prompt callbacks. This makes the OTP mechanism ask for the one-time password instead of the secret pass-phrase (the library generates the correct response for you, she's got you π«Ά).-i,--no-initial-responseβ Don't send an initial client response for SASL mechanisms, even if the protocol supports it. Boundaries. π-I file,--pidfile=fileβ Echo the PID of the running process intofile. (This can be useful with-X.)-v,--verboseβ Verbose. Prints out more information than usual. Not me turning this on every single time π-z,--run-stress-testβ Timing test. Stress her out, go off. π-x file,--output-socket=fileβ Open the named socket for the interactive portion.-X fileβ Like-x, only it closes all file descriptors & daemonizes the process. She's leaving, bye. π (No long option for this one, bestie β that's just how it is.)-w password,--password=passwordβ Password to use. If you don't supply one, she will prompt you. π-o option=value,--sasl-option=option=valueβ Set the SASL option tovalue.-H client-ipβ Enable the HAProxy protocol and send the specified client IP address in a v1 header. If the address is"unknown", a v1 header with UNKNOWN protocol will be sent. If the address is"local", a v2 header with LOCAL command will be sent.
π EXAMPLES π
...and that's the section. It's empty. She said nothing. Silence. Not a single example in the building. π Keep it moving bestie, the options above are the whole meal. π
π¦ SEE ALSO π¦
π AUTHOR π
The Cyrus Team, Nic Bernstein (Onlight)
π COPYRIGHT π
1993β2026, The Cyrus Team
and that's the whole page, bestie β sivtest from the Cyrus IMAP fam, version 3.12.4, dated Sep 09, 2026. ate and left no crumbs π β¨
π¦ where this page comes from
- fedora 44: cyrus-imapd-utils 3.12.4-1.fc44 Β· BSD-Attribution-HPND-disclaimer
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms