Guest User

Untitled

a guest
May 17th, 2018
263
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.26 KB | None | 0 0
  1. --- courier-0.47/maildrop/main.C.orig 2004-11-22 12:23:09.000000000 +0100
  2. +++ courier-0.47/maildrop/main.C 2004-11-22 12:23:19.000000000 +0100
  3. @@ -718,38 +718,6 @@
  4. ++i;
  5. }
  6.  
  7. -#if HAVE_COURIER
  8. - if (deliverymode && orig_uid == getuid())
  9. - {
  10. - const char *p;
  11. -
  12. - if ((p=getenv("HOME")) && *p)
  13. - maildrop.init_home=p;
  14. -
  15. - if ((p=getenv("LOGNAME")) && *p)
  16. - maildrop.init_logname=p;
  17. -
  18. - if ((p=getenv("SHELL")) && *p)
  19. - maildrop.init_shell=p;
  20. -
  21. - p=getenv("MAILDROPDEFAULT");
  22. -
  23. - if (!p || !*p)
  24. - {
  25. - p=getenv("LOCAL");
  26. -
  27. - if (p && *p)
  28. - p=GetDefaultMailbox(p);
  29. - else
  30. - p="./Maildir";
  31. - }
  32. - maildrop.init_default=p;
  33. -
  34. - if ((p=getenv("MAILDIRQUOTA")) && *p)
  35. - maildrop.init_quota=p;
  36. - }
  37. -#endif
  38. -
  39. if (deliverymode)
  40. {
  41. struct stat buf;
  42. --- courier-0.47/debian/rules.orig 2004-11-22 12:22:44.000000000 +0100
  43. +++ courier-0.47/debian/rules 2004-11-18 14:20:42.000000000 +0100
  44. @@ -66,6 +66,10 @@
  45. --with-cachedir=/var/cache/sqwebmail
  46. --with-calendardir=/var/run/courier/calendar
  47. --with-webadmindir=/usr/share/courier/webadmin
  48. + --enable-maildropmysql
  49. + --with-mysqlconfig=/etc/courier/maildropmysql.config
  50. + --enable-maildrop-gid=vmail
  51. + --enable-trusted-users="vmail postfix"
  52. --enable-userdb
  53. --enable-syslog=1
  54. --enable-unicode
Add Comment
Please, Sign In to add comment