* Jason R. Mastaler <[EMAIL PROTECTED]> [2006-11-03 14:56:03 -0700]: > > Is there a way to make python dump the current environment somehow? > > So that I can see what it's seeing? From the above I can't tell if > > $HOME contains anything at all. > > os.environ is a key:value mapping of the environment as Python sees > it. So you could for example insert the following code snippet > somewhere in your config to write the environment out to a file: > > env = open('/tmp/python-env.txt', 'w') > env.write(str(os.environ)) > env.close()
Ok, I might toss that in there just to see why it's not liking $HOME (and why I have to explicitly pass it on the command = line). > > This one is definitely worthy of big documentation. The various > > docs I've found are helpful, to some extent, but none really show > > the entire exim.conf so you get bits and pieces and for a "normal" > > exim configuration with system users they might work fine, but here > > with trying to use TMDA+virtual users+mailman (and eventually TMDA > > as a frontend to mailman), things get more complicated. > > If you feel like documenting this, feel free to use the wiki, as > that's what it's for. Either by extending one of the current pages, > or making a new one of your own. Here[1] are all the current pages > which talk about Exim in some form. > > Footnotes: > [1] http://tinyurl.com/wr2jx What I'll probably end up doing (which is something I've been meaning to do for a while) is just post my entire exim.conf with lots of comments/explanations to my linsec.ca site and then can point people there (because it has a lot of other anti-spam tricks, as well as virtual user support, mailman support, etc.). But thanks for the tinyurl posting... I'm gonna go through those and see if there's more I can do... =) Right now it seems odd, but I'm actually seeing the confirm responses (which I don't want to see), so I'm not completely finished yet but I'm getting there (then there's the client-side to do with mutt+postfix+os x). -- {FEE30AD4 : 7F6C A60C 06C2 4811 FA1C A2BC 2EBC 5E32 FEE3 0AD4} mysql> SELECT * FROM users WHERE clue > 0; Empty set (0.00sec)
pgpnRzB1Ii39i.pgp
Description: PGP signature
_____________________________________________ tmda-users mailing list (tmda-users@tmda.net) http://tmda.net/lists/listinfo/tmda-users