SYNCTEST(1)
SYNCTEST π (section 1 of the Cyrus IMAP manuals)
okay bestie, so this is the synctest page from the Cyrus IMAP docs β yes, the whole manual name is literally "Cyrus IMAP", that's the vibe β¨
β¨ NAME β¨
synctest β Cyrus IMAP documentation, and also: an interactive IMAP test program that tests the replication protocol. This is installed as a hard link to imtest(1). π¦
β¨ 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 little utility that lets you authenticate to an IMAP server and then interactively throw commands at it. Once you're authenticated, you can just type in any IMAP command and off it goes, no cap. π
It's got multiple SASL authentication mechanisms and it handles encryption layers transparently, which is honestly iconic of it. People use this thing a lot for testing how an IMAP server behaves, and the devs building IMAP clients find it super useful too. πΈ
β¨ OPTIONS β¨
-t keyfile,--keyfile=keyfileβ turns on TLS. Thekeyfileholds the TLS public and private keys. Pass""if you want to negotiate a TLS encryption layer but not use TLS authentication. π₯-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 auth. If you don't say anything, it picks the strongest authentication mechanism the server supports. Sayloginto use theLOGINcommand instead ofAUTHENTICATE. π-a userid,--authname=useridβ the userid used for authentication; defaults to the current user. This is the userid whose password or credentials get handed to the server to be verified. π«Ά-u userid,--username=useridβ the userid used for authorization; defaults to the current user. This is the userid whose identity gets assumed after authentication.
NOTE: this one is only used with SASL mechanisms that allow proxying (e.g. PLAIN).
-k num,--minssf=numβ minimum protection layer required.-l num,--maxssf=numβ maximum protection layer to use (0=none;1=integrity; etc). Like, if you're using theGSSAPIauthentication mechanism, specifying0forcesimtestto not use any layer at all, and specifying1forces it to use the integrity layer. By default, the maximum supported protection layer is what you get. π-r realm,--realm=realmβ specify the realm to use. Some authentication mechanisms are picky and require you to name one.-f file,--input-filename=fileβ pipefileinto the connection after authentication. π-n num,--reauth-attempts=numβ number of authentication attempts; default =1. The client will try to do SSL/TLS session reuse and/or fast reauth if it can. β¨-s,--require-tlsβ enable SSL over the chosen protocol.-q,--require-compressionβ enable IMAPCOMPRESSion (after authentication).-c,--do-challengeβ enable challenge prompt callbacks. This makes theOTPmechanism ask for the one-time password instead of the secret pass-phrase (the library generates the correct response itself).-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 together with-X). π§-v,--verboseβ verbose. Prints out more information than usual.-z,--run-stress-testβ timing test.-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. π-w password,--password=passwordβ password to use (if you don't supply one, 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 a v1 header. If the address is"unknown", a v1 header withUNKNOWNprotocol gets sent. If the address is"local", a v2 header withLOCALcommand gets sent.
β¨ EXAMPLES β¨
β¦okay so this section is literally empty in the original, bestie. nothing here. the void. the silence. π (but it's still a whole section and we respect it.)
β¨ SEE ALSO β¨
β¨ AUTHOR β¨
The Cyrus Team π
β¨ COPYRIGHT β¨
1993β2026, The Cyrus Team
and that's the whole page, fr fr π β this was SYNCTEST(1) from Cyrus IMAP, version 3.12.4, dated Sep 09, 2026. slay, go test your replication protocol bestie πβ¨π¦
π¦ 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