"Jason R. Mastaler" <[EMAIL PROTECTED]> writes:

> Tim Legant <[EMAIL PROTECTED]> writes:
> 
> > A simple function in Util.py is a possibility as is making it a
> > member of the Qmail class in MTA.py.  Does one of these seem better
> > than the other?  Are there any other suggestions?
> 
> Util.py is getting a bit fat. I'd prefer to either extend MTA.py, or
> add a new module.

Also, that gets rid of the "MAIL_TRANSFER_AGENT == 'qmail'" test,
since the version in class MTA will be a no-op.

But this introduces an interesting question.  So far, tmda-ofmipd has
not used Defaults.py, largely because Defaults.py is heavily tied to a
specific user; i.e., it loads the crypt_key, the user's config, etc.
I really don't want to have to use it.  Unfortunately, I need the path
to the virtualdomains file.  I'm thinking about specifying it as a
command line parameter, mostly because I can't think of anything else
(other than a tmda-ofmipd config file, which I don't have time to do
right now.)  Any objections?


Tim
_________________________________________________
tmda-workers mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-workers

Reply via email to