[imapfilter-devel] showing namespace?

Lefteris Chatzimparmpas lefcha at hellug.gr
Wed Mar 28 22:44:37 EEST 2007


Bill Kearney wrote:
> Is there a way to print or otherwise dump out what imapfilter knows of the 
> namespace pulled from an imap server?  In using uw-imap 2006f I'm having a 
> problem in that imapfilter (1.3) doesn't seem to be getting it from the 
> server.  But I don't know if the server's sending it properly.   The -d 
> debug and -v verbose flags don't seem to show the value.  Don't know if 
> that's because it isn't being sent or not.
> 
> So, is the namespace put into a variable that can be used in config script?

You cannot change the namespace that imapfilter has gotten from the
server, but you can see what the server is sending and what imapfilter
thinks the namespace's prefix and delimiter are with the -d option.  You
should look into the appropriate $HOME/.imapfilter/debug.* file, search
for "NAMESPACE", it's one of the first commands that imapfilter sends to
the server...

> Or is it possible to set the namespace prefix from within the config script?

You cannot set the namespace prefix, but you can disable the "automatic"
namespace mechanism, and then set the correct mailbox/folder names by
yourself. Thus, no automatic substitutions of the namespace prefix and
delimiter will be performed by imapfilter, it's your responsibility to
correctly address a mailbox/folder then...

If imapfilter doesn't find out the correct namespace prefix/delimiter,
I'd like you to tell me more about it (eg. by sending me the relevant
debug.* file parts), in order to fix the problem... Thanks

> Thanks,
> -Bill Kearney




More information about the Imapfilter-devel mailing list