Skip to content

Configuring nnmairix

In group mode, type G b c (nnmairix-create-server-and-default-group). This will ask you for all necessary information and create a nnmairix server as a foreign server. You will have to specify the following:

  • The name of the nnmairix server—choose whatever you want.
  • The name of the back end server where mairix should store its searches. This must be a full server name, like nnml:mymail. Just hit TAB to see the available servers. Currently, servers which are accessed through nnmaildir, nnimap and nnml are supported. As explained above, for locally stored mails, this can be an existing server where you store your mails. However, you can also create, e.g., a new nnmaildir or nnml server exclusively for nnmairix in your secondary select methods (see Finding the News). If you use a secondary nnml server just for mairix, make sure that you explicitly set the server variable nnml-get-new-mail to nil, or you might lose mail (see nnmairix caveats). If you want to use mairix remotely on an IMAP server, you have to choose the corresponding nnimap server here.
  • The command to call the mairix binary. This will usually just be mairix, but you can also choose something like ssh SERVER mairix if you want to call mairix remotely, e.g., on your IMAP server. If you want to add some default options to mairix, you could do this here, but better use the variable nnmairix-mairix-search-options instead.
  • The name of the default search group. This will be the group where all temporary mairix searches are stored, i.e., all searches which are not bound to permanent nnmairix groups. Choose whatever you like.
  • If the mail back end is nnimap or nnmaildir, you will be asked if you work with Maildir++, i.e., with hidden maildir folders (=beginning with a dot). For example, you have to answer ‘yes’ here if you work with the Dovecot IMAP server. Otherwise, you should answer ‘no’ here.