[exim-dev] [Bug 2834] Directories not removed after av_scan

Startseite
Nachricht löschen
Nachricht beantworten
Autor: admin
Datum:  
To: exim-dev
Betreff: [exim-dev] [Bug 2834] Directories not removed after av_scan
https://bugs.exim.org/show_bug.cgi?id=2834

--- Comment #3 from Piotr Staszeski <tech@???> ---
The above output is from a debug run.

I had the same idea and modified spool_mbox.c, inserting the following:

  /* remove directory */
  if(rmdir(CS mbox_path) < 0) {
        perror("Cannot delete");
  }


which in the debug run produces

1208 end of ACL "acl_check_data": ACCEPT
1208 unspool_mbox(): unlinking
'/opt/smtp_data/data/spool/scan/1mpeHc-0000JU-3d/1mpeHc-0000JU-3d.eml'
Cannot delete: Directory not empty
1208 Writing spool header file:
/opt/smtp_data/data/spool//input/c/hdr.1mpeHc-0000JU-3d

--
You are receiving this mail because:
You are on the CC list for the bug.