Hi,

shouldn't we first get the env-vars and then lowercase the content?


Ralf Pachali




--- vpopmail-4.9.5/vdelivermail.c
+++ vpopmail-4.9.5/vdelivermail.c       Tue Oct 24 00:19:02 2000
@@ -845,11 +845,11 @@
                        scopy (bounce,argv[2],sizeof(prefix));
                }
        }
-       lowerit(TheUser);
-       lowerit(TheDomain);
-
        scopy(TheUser, getenv("EXT"), MAX_BUFF);
        scopy(TheDomain, getenv("HOST"), MAX_BUFF);
+
+       lowerit(TheUser);
+       lowerit(TheDomain);
        vget_real_domain(TheDomain,MAX_BUFF);
 
        pw_data=pop_user_exist(TheUser,TheDomain,prefix,bounce);

Reply via email to