"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.
--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.

> 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).

> 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!

> 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.

> 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

Reply via email to