rc0 / mairix

mairix is a program for indexing and searching email messages stored in Maildir, MH or mbox folders
http://www.rc0.org.uk/mairix
GNU General Public License v2.0
133 stars 24 forks source link

base path not interpreted relative to mairixrc #3

Closed tstgruby closed 7 years ago

tstgruby commented 13 years ago

Hi.

I'm using mairix 0.22 under Cygwin.

The manpage says:

base=base-directory

...

If the path is relative, it is treated as relative to the location of the mairixrc file.

My config is:

base=./Maildir

Obviously, the path is relative. But when I run:

$ mairix -f /some/dir/other/than/HOME/.mairixrc

mairix tries to access mails in ~/Maildir and does not find any...

LeoHChen commented 10 years ago

don't think this is bug. the base path assigned to ./Maildir is not an usual way to set base. To search for ~/Maildir is expected by design, I think.

vandry commented 7 years ago

Yeah, the documentation's claims that if the path is relative, it is treated as relative to the location of the mairixrc file appear to never have been true.

It's a strange feature. I'd rather just update the documentation to remove the claim than to implement the feature.