Displaying 1 result from an estimated 1 matches for "isinbox".
Did you mean:
inbox
2006 Jul 05
2
Procmail patch for dovecot delivery
...// GW:
+ char* program = getenv("DELIVER_PROGRAM");
+ char* s_org_mail = getenv("ORGMAIL");
+
+ int deliver_inbox = isyes("DELIVER_INBOX");
+ int deliver_absolute_path = isyes("DELIVER_ABSOLUTE_PATH");
+ int isabsolute = boxname[0] == '/';
+ int isinbox = 0;
+ if (s_org_mail) isinbox = !strcmp(s_org_mail, boxname);
+
+ if (trydeliver && program && ((!isinbox && !isabsolute) || (isinbox && deliver_inbox) || (isabsolute && deliver_absolute_path)) )
+ {
+ char slen[16];
+ int oldrawnonl;
+ int retva...