]> SAFE projects GIT repository - jmp/mailleur/commitdiff
Adjusting the email storage directory
authorJean-Marc Pigeon <jmp@safe.c>
Sun, 16 Nov 2025 04:57:55 +0000 (23:57 -0500)
committerJean-Marc Pigeon <jmp@safe.c>
Sun, 16 Nov 2025 04:57:55 +0000 (23:57 -0500)
lib/geseml.c

index b5fea419e9b5dda672ad4ae3c1f3aba8eda4c250..648b156c4a64a59742660de02e71365679629153 100644 (file)
@@ -640,7 +640,7 @@ while (proceed==true) {
       path=rou_apppath(getenv(DIRDOV));
       (void) snprintf(dirname,sizeof(dirname),"%s/%s/%s",path,locdom,tra->rcptto);
       *(strrchr(dirname,'@'))='\000';   //keeping username only
-      (void) strncat(dirname,"/new",sizeof(dirname)-strlen(dirname));
+      (void) strncat(dirname,"/dovecot/new",sizeof(dirname)-strlen(dirname));
       if ((dir=opendir(dirname))==(DIR *)0) {
         if (rou_do_mkpdir(dirname)==false) {
           (void) rou_alert(0,"%s Unable to create <%s> directory (system?/bug?)",