Title: Re: Virtual Domain / FDQN : I found the Answer
Searching more with the terms "hostname" and "tmda-cgi", I found the answer to my question.

Here is the URL: http://mla.libertine.org/tmda-users/2003-07/msg00224.html

And here is a copy of the answer:

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

Hi all,

QMail + Vpopmail + Qmailadmin + SQWebmail +QMailScanner running without problems on Mac OS X. I only use virtual domains.

Newbie at TMDA. It's probably a FAQ but I find no responses in the archive list for this problem.

My default virtual domain is "core.ucl.ac.be" and the FDQN of my server is "minouche.core.ucl.ac.be". The majority of my users have E-Mail addresses of the form "[EMAIL PROTECTED]".

I installed TMDA and TMDA-CGI on the server; each time I try to install TMDA with the CGI-interface, it says:

<< TMDA has been successfully installed.
   Your e-mail account [EMAIL PROTECTED] is now guarded, .... >>

The .TMDA directory is created and when I try to send messages to these users, the confirmation messages /seems/ to work fine.

But how can I change the TMDA-CGI message saying that the user E-Mail address is "[EMAIL PROTECTED]" and not "[EMAIL PROTECTED]"?

Can you help me?

Thanks, Guy
_____________________________________________
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