Re: TMDA with exim and virtual users
Vincent Danen <[email protected]>
| Newsgroups | gmane.mail.spam.tmda.user |
|---|---|
| Organization | Annvix |
| Message-ID | <[email protected]> |
* Jason R. Mastaler <[email protected]> [2006-11-02 12:04:02 -0700]: > > Same behaviour with 1.1.7: > > [...] > > > I don't even know where to begin looking to figure this one out. > > Bummer. I'm out of ideas then. Hopefully someone who runs > vpopmail/vmailmgr and uses tmda-filter -S can help. Ok, I'm looking a little closer here. If I look at bin/tmda-rfilter, I see in "def setvuserhomedir" that it's setting os.environ['HOME'] to the value it's obtaining from the output of -S In TMDA/Defaults.py I see it setting: HOMEDIR = os.path.expanduser('~') I'm not a python programmer by any stretch of the imagination, but shouldn't HOMEDIR = os.environ['HOME']? Could the expansion of ~ be looking elsewhere than at the $HOME environment variable (I don't know, I don't know how that function works). Would it not make more senst to do something like setting os.environ['VHOME'] in tmda-rfilter and then in Defaults.py do something like: if os.environ['VHOME']: HOMEDIR = os.environ['VHOME'] else: HOMEDIR = os.path.expanduser('~') Or something along those lines? I'll fudge with it later (I can't possibly break it worse than it is (for me) right now), but I'm just wondering if I might be on the right track before I start fudging with it. -- {FEE30AD4 : 7F6C A60C 06C2 4811 FA1C A2BC 2EBC 5E32 FEE3 0AD4} mysql> SELECT * FROM users WHERE clue > 0; Empty set (0.00sec)
signature.asc
(application/pgp-signature, 186 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Darwin) iD8DBQFFSkjXLrxeMv7jCtQRAuqZAJ99YNIVaUwwDcDnDIKuVl6z44crFACfS8bT 12F48T8QdTASoAAWb0tj91Y= =Lspf -----END PGP SIGNATURE-----