sivtest − interactive MANAGESIEVE test program


sivtest [ −t keyfile ] [ −p port ] [ −m mechanism ]
[ −a userid ] [ −u userid ] [ −k num ] [ −l num ]
[ −r realm ] [ −f file ] [ −n num ] [ −c ]
[ −i ] [ −o option=value ] [ −v ] hostname


sivtest is a utility that allows you to authenticate to a MANAGESIEVE server and interactively issue commands to it. Once authenticated you may issue any MANAGESIEVE command by simply typing it in. It is capable of multiple SASL authentication mechanisms and handles encryption layers transparently. This utility is often used for testing the operation of a timsieved server. Also those developing MANAGESIEVE clients find it useful.


−t keyfile

Enable TLS. keyfile contains the TLS public and private keys. Specify "" to negotiate a TLS encryption layer but not use TLS authentication.

−p port

Port to connect to. If left off this defaults to sieve as defined in /etc/services.

-m mechanism

Force sivtest to use mechanism for authentication. If not specified the strongest authentication mechanism supported by the server is chosen.

-a 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

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, DIGEST-MD5).

-k num

Minimum protection layer required.

-l num

Maximum protection layer to use (0=none; 1=integrity; etc). For example if you are using the KERBEROS_V4 authentication mechanism specifying 0 will force sivtest to not use any layer and specifying 1 will force it to use the integrity layer. By default the maximum supported protection layer will be used.

-r realm

Specify the realm to use. Certain authentication mechanisms (e.g. DIGEST-MD5) may require one to specify the realm.

-f file

Pipe file into connection after authentication.

-n num

Number of authentication attempts; default = 1. The client will attempt to do SSL/TLS session reuse and/or fast reauth (e.g. DIGEST-MD5), if possible.


Enable challenge prompt callbacks. This will cause the OTP mechanism to ask for the the one-time password instead of the secret pass-phrase (library generates the correct response).


Don’t send an initial client response for SASL mechanisms, even if the protocol supports it.

-o option=value

Set the SASL option to value.


Verbose. Print out more information than usual.



Open Source

Free Technology Academy - The FTA provides a virtual campus offering course modules on Free Software and Open Standards. Educational materials in the FTA are released under free licenses. FTA is constructed on a Free Software OS and utilizes Free Software and standards to deliver its services.

What is Linux - Linux is a computer operating system (OS) that is free and open-source software. The software that runs the computer and the source code used to create it are both available to you at no cost. Linux is used on games, watches, laptops, desktops and super computers. The capability to operate and create on these devices is available to you.

ConnectED and edX - President Obama announced on November 2014, that edX and ConnectED will partner to deliver teacher training and AP courses. ConnectED is the President's initiative to enhance K-12 through the delivery of broadband access and digital content.

bash - Bash is both a command interpreter and a programming language. As a command interpreter, bash provides the user interface to the rich set of GNU utilities. The programming language features allow these utilities to be combined. Mastering a shell such as bash is important for anyone learning Linux.

Open License - On October 29, 2015 the Department of Education announced a proposed regulation to require that all copyrightable intellectual property created with grant funds have an open license. Openly licensed materials can be modified and redistributed without violating copyright laws.

Open Government - NASA, The White House and the Department of Defense are among government organizations with major open source deployments. Through the website which is part of the open government initiative, agencies deliver 180,000 data sets with open source access.

Harvard - MIT - Stanford - The open edX platform delivers free online courses from Harvard, MIT, Columbia, UC Berkeley and other top Universities. Hundreds of courses are available and include almost all major subject areas and course levels. Paid courses and certifications are also available.

More Linux Commands

ssh-pkcs11-helper (8) - ssh-agent helper program for PKCS#11 support
ssh-pkcs11-helper is used by ssh-agent(1) to access keys provided by a PKCS#11 token. ssh-pkcs11-helper is not intended to be invoked by the user, but from ssh-...

dhcrelay (8)         - Dynamic Host Configuration Protocol Relay Agent
The Internet Systems Consortium DHCP Relay Agent, dhcrelay, provides a means for relaying DHCP and BOOTP requests from a subnet to which no DHCP server is direc...

wireless (7)         - Wireless Tools and Wireless Extensions
The Wireless Extensions is an API allowing you manipulate Wireless LAN networking interfaces. It is composed of a variety of tools and configuration files. It i...

pthread_cancel (3)   - send a cancellation request to a thread
The pthread_cancel() function sends a cancellation request to the thread thread. Whether and when the target thread reacts to the cancellation request depends o...

iswlower (3)         - test for lowercase wide character
The iswlower() function is the wide-character equivalent of the islower(3) function. It tests whether wc is a wide character belonging to the wide-character cla...

mev (1)              - a program to report mouse events
The mev program is part of the gpm package. The information below is extracted from the texinfo file, which is the preferred source of information. The mev prog...

gnutls_db_set_store_function (3) - API function
Sets the function that will be used to store data from the resumed sessions database. This function must remove 0 on success. The first argument to store_func w...

XkbAllocGeomOutlines (3) - Allocate space for an arbitrary number of outlines...
XkbAllocGeomOutlines.3 - Xkb provides a number of functions to allocate and free subcomponents of a keyboard geometry. Use these functions to create or modify k...

host.conf (5)        - resolver configuration file
The file /etc/host.conf contains configuration information specific to the resolver library. It should contain one configuration keyword per line, followed by a...

gnutls_db_get_ptr (3) - API function
Get db function pointer. RETURNS the pointer that will be sent to db store, retrieve and delete functions, as the first argument. REPORTING BUGS Report bugs to...

return (n)           - Return from a procedure, or set return code of a script
In its simplest usage, the return command is used without options in the body of a procedure to immediately return control to the caller of the procedure. If a...

ip-netconf (8)       - network configuration monitoring
The ip netconf utility can monitor IPv4 and IPv6 parameters (see /proc/sys/net/ipv[4|6]/conf/[all|DEV]/) like forwarding, rp_filter or mc_forwarding status. If...

sed (1)              - stream editor for filtering and transforming text
Sed is a stream editor. A stream editor is used to perform basic text transformations on an input stream (a file or input from a pipeline). While in some ways s...

XkbLookupKeySym (3)  - Find the symbol associated with a key for a particular...
XkbLookupKeySym is the equivalent of the core XLookupKeySym function. For the core keyboard, given a keycode key and an Xkb state state, XkbLookupKeySym returns...

connect (2)          - initiate a connection on a socket
The connect() system call connects the socket referred to by the file descriptor sockfd to the address specified by addr. The addrlen argument specifies the siz...