startinnfeed of current snapshots segfaults when startinnfeed is called without arguments. The fix is to use if ((argc > 1) && (strcmp(argv[1],"imapfeed") == 0)) instead of if ((argc > 0) && (strcmp(argv[1],"imapfeed") == 0)) Sven