commit 2a2c53ae43c93500cf2a08717f573377751b840b
Author: Oswald Buddenhagen <o...@users.sf.net>
Date:   Sat Oct 4 11:43:00 2014 +0200

    ignore INBOX only in Path itself, not its subfolders
    
    a box foo/INBOX cannot be mistaken for the INBOX, so there is no point
    in filtering these out.

 src/drv_maildir.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/drv_maildir.c b/src/drv_maildir.c
index 0142631..cc2161f 100644
--- a/src/drv_maildir.c
+++ b/src/drv_maildir.c
@@ -233,7 +233,7 @@ maildir_list_recurse( store_t *gctx, int isBox, int *flags, 
const char *inbox,
                        } else {
                                if (isBox)
                                        continue;
-                               if (!memcmp( ent, "INBOX", 6 )) {
+                               if (!nameLen && !memcmp( ent, "INBOX", 6 )) {
                                        path[pathLen] = 0;
                                        warn( "Maildir warning: ignoring INBOX 
in %s\n", path );
                                        continue;

------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
isync-devel mailing list
isync-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/isync-devel

Reply via email to