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 17:20:18 -0700]: > > 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). > > Here's the description of os.path.expanduser from the docs[1]: > > expanduser(path) > > On Unix, return the argument with an initial component of "~" or > "~user" replaced by that user's home directory. An initial "~" is > replaced by the environment variable HOME if it is set; otherwise In other words, I'm completely wrong. =) Ok, back to the drawing board. -- {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) iD8DBQFFSr+ILrxeMv7jCtQRAmKfAJ9dy7+vQ/4gwPmEaGaZIeSxZf94twCgqyfQ LG3LCdpSV/ljF7jqPUXlVBk= =474+ -----END PGP SIGNATURE-----