Gre7g Luterman wrote:

> On Tue, 24 Jun 2003 16:11:31 -0400, Jesse Guardiani <[EMAIL PROTECTED]>
> wrote:
> 
>> Howdy list (and Gre7g),
> 
> Howdy.
> 
>> When I 'installed' an account with tmda-cgi,
>> it created the following .qmail file in the
>> user's home dir
>> (/usr/local/vpopmail/domains/trevarthan.int.wingnet.net/jesse):
> 
> It shouldn't have.  It should have created .qmail-jesse in
> /usr/local/vpopmail/domains/trevarthan.int.wingnet.net since this is a
> virtual user.
> 
> Did you correctly set VIRTUAL_TEST?

Nope. Sure didn't. That fixed it.


>  See:
> 
> http://tmda.sourceforge.net/tmda-cgi/autoinstall.html#VIRTUAL_TEST
> 
> In fact, go to the checklist at:
> 
> http://tmda.sourceforge.net/tmda-cgi/virtual.html#Settings

Done. The first two were already done. I was only missing the VIRTUAL_TEST
var in my anomalies files.

Care for a little constructive criticism?

1.) I think the whole VIRTUAL_TEST variable is a bit silly. I think this
    should be determined by the auth method, not a file system test.

    After all, vpopmail has the capability to place domains ANYWHERE on
    the filesystem for quota restriction purposes.

    However, since we provide auth services via POP3, this isn't exactly
    black and white. But we still have to run the stub program for virtual
    users, right? Perhaps we could set a session var based on whether or
    not we had to run a stub script...

2.) If we MUST keep the VIRTUAL_TEST var, please default to using a one-time
    config variable like "vpopmail_home", and incorporate it like this:

    VIRTUAL_TEST = "^%(vpopmail_home)sdomains/"

    I can't tell you how many times I messed something up with a typo because
    I had to change "/home/vpopmail" to "/usr/local/vpopmail" in five or six
    different places.

    Same goes for Vpop and VpopBin in defaults.ini:

    VPop               = %(vpopmail_home)s
    VPopBin            = %(vpopmail_home)s/bin

3.) Please add a short note to:

    http://tmda.sourceforge.net/tmda-cgi/virtual.html

    Explaining that in addition to stub scripts and virtual user settings,
    vpopmail users should definately specify:

    --program-auth /home/vpopmail/bin/vchkpw

    In their configure statement, or the appropriate same during interactive
    configure. Also, I think adding some text explaining this _during_
    interactive configure mode would be excellent as well.

    The only place I could find this documented was in 'configure -h',
    and I obviously missed it the first time around.

4.) It might be nice to chown the CGI to the vpopmail user during 'make install'
    if our mode is 'single-user'. I just include this as a separate command
    after 'make install' personally, but it isn't immediately obvious that this
    is a problem, and it generally seems like something 'make install' should
    do to me.

Thanks for the help!

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


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

Reply via email to