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-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)
signature.asc (application/pgp-signature, 186 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFFS709LrxeMv7jCtQRArb8AJ9azcyHV4fnGy1qLO0me0tmJeqTvQCfdK27
B0AQIW1eiBalKXVZX6iA0NQ=
=ycyy
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.