Hi There,
I am currently running Qmail + Vpopmail for handling our clients' POP
accounts. I have TMDA setup to work with Vpopmail, and indeed it works
with two of my accounts on the system. For the time-being, I am using
the tmda-cgi web interface for configuration, management of lists, etc.
However, I have come across a problem, and am not sure if it is a TMDA
problem or a limitation of tmda-cgi (I suspect the latter)
If I setup TMDA for an account via the tnda-cgi interface, and directory
for the domain the address is in is in the ~vpopmail/domains/ directory,
everything sets up fine (i.e., if the account is
'~vpopmail/domains/murrell.ca/alan/').
However, if the domain's directory resides a level or more down (e.g.,
'~vpopmail/domains/0/murrell.ca/alan'), then then the following error
comes up in the interface:
--- CUT HERE ---
Error: Install aborted.
Cause: Saving file:
/home/vpopmail/domains/0/i3dc.com/support/../../../../../../.qmail-support
[Errno 13] Permission denied:
'/home/vpopmail/domains/0/i3dc.com/support/../../../../../../.qmail-support'
Additional: Running in system-wide mode.
Attempted to install TMDA with euid 82, egid 108.
Recommend: Check file permissions in home directory
--- CUT HERE ---
Those '../../../../../..' would take the application to the 'root' ('/')
directory, where of course permission is denied; I would have thought
that it would be smart enough to only go up two levels to the
'/home/vpopmail/domains/0/i3dc.com/' directory.
Again, I am not sure if this is a TMDA issue or a tmda-cgi issue (though
again, I believe it is a tmda-cgi issue). As I said, it sets up
perfectly for any domain in the ~vpopamil/domains/ directory.
Anyway, I am not sure if anything can be done, but just though I would
let you guys know, for future versions. As a workaround for users in
those domains not sitting in the ~vpopmail/domains/ directory, I have
the necessary files for the '.tmda' directory already existing elsewhere
that I just copy into the vpopmail user's directory, and I change the
necessary entries in the "config" file to point to the proper directory
pointers; I then manually generate the key. I plan on writing a script
to automate this (all I would need to do is give the email address, and
the script does the rest), but I haven't yet gotten around to it. I am
hoping to find a much more elegant solution :-)
Anyway, TIA.
Alan Murrell
_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users