Re: tmda Pending Messages
[email protected] (Jason R. Mastaler)
| Newsgroups | gmane.mail.spam.tmda.user |
|---|---|
| Message-ID | <[email protected]> |
Doug Hardie <[email protected]> writes: > The problem is that os.path does not properly resolve ~ if the user > is defined via NIS. It only works for users defined in /etc/passwd. > I think that needs to be pointed out as a limitation of tmda. The os.path module is part of Python, so this is not a TMDA limitation. Many of the functions in that module key off the $HOME environment variable. So if $HOME doesn't properly point to the user's home directory, it won't work. One thing you could try is setting $HOME in /etc/tmdarc, using Python's NIS module[1]. This will likely allow os.path and thus TMDA to work properly. Footnotes: [1] http://docs.python.org/lib/module-nis.html