On Tue, Jul 22, 2003 at 05:29:52PM -0400, Dave Steinberg wrote: > > On Sun, Jul 20, 2003 at 08:03:58PM -0700, Timothy R. Winters wrote: > >> I'm using qmail, vpopmail and tmda/tmda-cgi latest cvs versions of all. > >> > >> When installing tmda to an email account on a domain on the server, tmda-cgi > >> is showing the hostname instead of the domain name of the machine. It's > >> also putting the hostname into all the template files. > >> > >> Example: User installs tmda to his account [EMAIL PROTECTED] The > >> servername is jonny.bigjohns.tld. When install is done, > >> [EMAIL PROTECTED] is given as the username. In the templates it > >> shows that also instead of the correct email address. > >> > >> Any suggestions to fix this? > >> > > just set the HOSTNAME variable in ~/.tmda/config that will fix your > > problem... and then setup the HOSTNAME var in the skel file so that it > > gets autoinstalled. > > Will that work if you're using tmda-cgi to create the initial > ~/.tmda/config? I would guess no if you're using virtual domains. > > I was also curious why not take it from what the user supplied at login > time? >
well you could setup a different tmda-cgi for every domain that you have. Edit the config in each skel dir and make the HOSTNAME variable set to the domain. You could probably setup a script to dynamically add the HOSTNAME variable when they clicked install, but I have not done that. I have 2 domains so that when users login to http://thierdomain.com/tmda it points them to the right tmda-cgi dir on my server. Hope this helps --STEVE _____________________________________________ tmda-users mailing list ([EMAIL PROTECTED]) http://tmda.net/lists/listinfo/tmda-users
