See comments below. Sorry for the length, but Tim wrote a lot of comments
that
I wanted to reply to.


Jesse Guardiani, Systems Administrator
WingNET Internet Services,
P.O. Box 2605 // Cleveland, TN 37320-2605
423-559-LINK (v)  423-559-5145 (f)
http://www.wingnet.net

We are actively looking for companies that do a lot of long
distance faxing and want to cut their long distance bill by
up to 50%.  Contact [EMAIL PROTECTED] for more info.


----- Original Message -----
From: "Tim Legant" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, December 13, 2002 11:37 PM
Subject: Re: tmda-ofmipd + vpopmail IP-based domains


> "Jesse Guardiani" <[EMAIL PROTECTED]> writes:
>
> > ----- Original Message -----
> > From: "David Guerizec" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Friday, December 13, 2002 6:20 PM
> > Subject: Re: tmda-ofmipd + vpopmail IP-based domains
> >
> > > Something like:
> > > tmda-ofmipd -D '@' ...other options...
> >
> > I'm not real familiar with the internals of tmda-ofmipd, so I may be
> > wrong, but I think a simple "-vpopmail" switch would be best. Or
> > "-auto-domain" or similar "-A". I don't think arguments would be
> > necessary.
>
> Whatever we come up with, let's remember the VMailMgr folks.

agreed. I was thinking about this last night.

> --auto-domain isn't bad, maybe --ip-domain might be more indicative of
> when the option would actually work.
>
> Based on your suggestions below, maybe we need several options, such
> as --with-vpopmail, --with-vmailmgr and --ip-domain.

This would probably depend on how VMailMgr handles IP-based domains.
At this point, I'm not even sure if it does.

>
> > I don't think it would work well from a user's config file, since
> > you need to know WHICH domain the user is in before you can get a
> > config file.
>
> Agreed.
>
> > Actually, I just found out that my manager had 'slightly modified' my
> > tmda-ofmipd script without telling me. Apparently, he hardcoded the
> > 'tmda_configfile' variable to point to a sort of "global" .tmdarc file.
> >
> > He did this because we were getting errors that tmda-ofmipd couldn't
> > find a .tmdarc file for our vpopmail users.
>
> It's looking in the home directory of the vpopmail system user for a
> .tmdarc or a .tmda/config.  This is because it's running as the
> vpopmail user.  That was just an explanation, BTW, not a defense of
> the current situation.
>
> > The reality is: It doesn't work. And I think I will have to modify the
> > source
> > code to MAKE it work properly with vpopmail.
>
> Having thought about this briefly, I realized what I then wrote in the
> above paragraph.  You are correct, it doesn't work with vpopmail users
> (or VMailMgr users, either).

Exactly. This is functionality that I think tmda-ofmipd really needs. It'll
make
it a better application.

>
> > With this in mind, I'd like to discuss vpopmail integration with the
> > developers of tmda-ofmipd.
>
> I'd move the disucssion to the tmda-workers list.  Maybe you have
> already, I haven't gotten there yet!

OK. Good idea.

>
> > Or would it be better to create a more flexible
switch/config-file-variable
> > that
> > allows the admin to set the 'DATADIR' variable via a command line
string,
> > such as:
> >
> > --set-DATADIR=/usr/local/vpopmail/domains/$DOMAIN/$USERNAME/.tmda
>
> The problem with this is that tmda-ofmipd only gets run once in a
> typical virtual domain situation, so those shell variables would only
> be expanded the first time.  I think tmda-ofmipd needs to be a little
> smarter about virtual domains.

Well, I didn't really write the above thinking that they would be shell
variables. I was thinking
they could be internal tmda-ofmipd variables. (I haven't started learning
python yet, so
the syntax is probably incorrect.) I apologize for the confusion.

I think a setup like I describe above with that DATADIR would be ideal,
since it could
be configured to work with VMailMgr as well. I believe the major difference
between VMailMgr
and vpopmail is that VMailMgr uses one physical system user per domain, and
vpopmail
uses one physical system user for EVERYTHING.

I won't debate on which is better, because I don't really care.

My point is that I think the --set-DATADIR command line option would work
with both. Maybe it
would be something like this for VMailMgr:

--set-DATADIR="~$DOMAIN/$USER/.tmda"

Are there any VMailMgr people out there who might be able to confirm this?
I'm purely guessing
the above syntax from my limited knowledge gleened from the VMailMgr
website. It is probably
incorrect also.


>
> > Or better yet, is there really a way to get tmda-ofmipd working with
> > vpopmail
> > out-of-the-box, and I'm just too dense to figure it out?
>
> Well, Jason wrote tmda-ofmipd and I've only recently read the code
> (two days ago), but I don't see how it could work.  It has no way,
> currently, to find virtual users.
>
>
> Tim
> _____________________________________________
> tmda-users mailing list ([EMAIL PROTECTED])
> http://tmda.net/lists/listinfo/tmda-users
>

_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users

Reply via email to