On 2017-12-21 21:14, Bob Bernstein wrote:
I have a shell account with a unix isp (lucky me). Problem: my imap mail folders are on a different server (but same isp) than the actual login shell. That is:

Shell login:     mambo.duckman.com
  Imap dirs:   charles.duckman.com

My limited goal at this initial stage is to get a working 'base=' statement in my .mairixrc, which of course is on mambo.

I suppose that I ought to start with a line that looks something like this:
base=imap://charles.duckman.com/[some folder spec],

Hi Bob,

The IMAP client doesn't use a URL-style specification like imap://stuff.

base= is not used at all for IMAP, only for local folders. (The documentation says "common parent directory of all your maildir folders". It really should say maildir, mh, and mbox. But not IMAP.) If you use only IMAP folders that base= can be set to anything at all, even a non-existent directory. I believe it does have to be set to something though, just for mairix to work.

The IMAP server is specified with the imap_* parameters. For example like this:

imap_server=charles.duckman.com
imap_username=your_username
imap_password=your_password

Yes, in this mode you have to write your password in the clear in the configuration file. That's not very good. That's part of why imap_pipe exists. You can use imap_pipe if you can arrange a passwordless IMAP login proxy, for example by reaching the IMAP server over SSH with public key authentication. That's out of scope for this answer though.

After that, you can specify IMAP folders to index with imap=, which is analogous to the maildir=, mh=, and mbox= options.

-kv

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Mairix-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mairix-users

Reply via email to