HTTPTEST(1)
π httptest β Cyrus IMAP π
okay bestie, welcome to the manual page, it's giving documentation, it's giving Cyrus IMAP, and we are going to READ it together π«Ά
β¨ NAME β¨
httptest β Cyrus IMAP documentation π
It's an interactive HTTP test program. and here's the tea: it's actually installed as a hard linked copy of imtest(1) π«£ so it's the same binary wearing a different fit. slay.
It lets you authenticate and send HTTP commands to the server β¨
πΈ 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
like. yes. the synopsis says imtest. because hard link. iykyk π
π¦ DESCRIPTION π¦
okay so imtest is a utility that lets you authenticate to an IMAP server and then interactively issue commands to it π
Once you're authenticated you can issue literally any IMAP command by justβ¦ typing it in. that's it. that's the whole vibe π
It's capable of multiple SASL authentication mechanisms and handles encryption layers transparently β no cap, you don't have to think about it π
This utility is often used for testing the operation of an IMAP server. Also, those developing IMAP clients find it useful β¨ (hi to all the client devs out there, you're doing amazing sweetie π«Ά)
π OPTIONS π
so many flags bestie. buckle up. we're going through ALL of them, no skipping, periodt π
-t keyfile,--keyfile=keyfileβ Enable TLS πkeyfilecontains the TLS public and private keys. Specify""to negotiate a TLS encryption layer but not use TLS authentication.-p port,--port=portβ Port to connect to π If left off this defaults toimapas defined in/etc/services.-m mechanism,--mechanism=mechanismβ Forceimtestto usemechanismfor authentication π― If not specified, the strongest authentication mechanism supported by the server is chosen. Specifyloginto use theLOGINcommand instead ofAUTHENTICATE.-a userid,--authname=useridβ Userid to use for authentication; defaults to the current user π§ This is the userid whose password or credentials will be presented to the server for verification.-u userid,--username=useridβ Userid to use for authorization; defaults to the current user π This is the userid whose identity will be assumed after authentication.
NOTE: This is only used with SASL mechanisms that allow proxying (e.g. PLAIN). so don't come for it when it doesn't do anything π
-k num,--minssf=numβ Minimum protection layer required π‘οΈ-l num,--maxssf=numβ Maximum protection layer to use (0=none;1=integrity; etc) π For example, if you are using theGSSAPIauthentication mechanism, specifying0will forceimtestto not use any layer and specifying1will force it to use the integrity layer. By default the maximum supported protection layer will be used β¨-r realm,--realm=realmβ Specify the realm to use π Certain authentication mechanisms may require one to specify the realm.-f file,--input-filename=fileβ Pipefileinto connection after authentication π°-n num,--reauth-attempts=numβ Number of authentication attempts; default =1π The client will attempt to do SSL/TLS session reuse and/or fast reauth if possible.-s,--require-tlsβ Enable SSL over chosen protocol π-q,--require-compressionβ Enable IMAP COMPRESSion (after authentication) ποΈ-c,--do-challengeβ Enable challenge prompt callbacks π€ This will cause theOTPmechanism to ask for the one-time password instead of the secret pass-phrase (library generates the correct response).-i,--no-initial-responseβ Don't send an initial client response for SASL mechanisms, even if the protocol supports it π βοΈ-I file,--pidfile=fileβ Echo the PID of the running process intofileπ (This can be useful with-X.)-v,--verboseβ Verbose. Print out more information than usual π£οΈ (main character energy tbh)-z,--run-stress-testβ Timing test β±οΈ-x file,--output-socket=fileβ Open the named socket for the interactive portion π-X fileβ Like-x, only close all file descriptors & daemonize the process π» (no long option bestie, that's just how it is)-w password,--password=passwordβ Password to use (if not supplied, we will prompt) π-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 av1header π‘ If the address is"unknown", av1header withUNKNOWNprotocol will be sent. If the address is"local", av2header withLOCALcommand will be sent.
π EXAMPLES π
nothing here bestie. the examples section is empty. it's giving minimalism, it's giving mystery ππ¦ we move.
β SEE ALSO β
go read those next, bestie, they're also iconic πβ¨
π AUTHOR π
The Cyrus Team π
πΈ COPYRIGHT πΈ
1993β2026, The Cyrus Team π
and that's the whole page, bestie!! this was 3.12.3 of the Cyrus IMAP docs, dated Jul 15, 2026 π slay, you read the whole thing, i'm so proud of you fr fr π«Άβ¨
π¦ where this page comes from
- ubuntu stonking: cyrus-clients 3.12.3-3build1 Β· CMU
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms