On Thu, May 17, 2001 at 09:36:00PM +0530, [EMAIL PROTECTED] wrote:
> I am facing a strange problem , I am haivng a domain called ttk-lig.com in
> my virtualdomain file with prepend ttk.
> eg.
> 
> ttk-lig.com:ttk
> 
> I have created a default alias for ttk-lig.com by the name
> .qmail-ttk-default and having below text in it
> 
> |forward $[EMAIL PROTECTED]

Is this file in ~alias or in ~ttk? If you created it in ttk's home directory,
it should be called .qmail-default, not .qmail-ttk-default. If you created it
in ~alias and there is a user ttk on your system, then
~alias/.qmail-ttk-default will never be consulted (I suspect that this is your
problem).

> But if i change the prepend from ttk to ttk1 and make my alias file by the
> name .qmail-ttk1-default then my mails start working.
> 
> Can any one tell me why its not taking the word ttk ?

Probably because you have a user called ttk on your system, and you created
this .qmail file in ~alias. It's never consulted because the user ttk exists.

But if all you want to do is forward all mail addressed to something
@ttk-lig.com to another server, you might want to try listing ttk-lig.com in
rcpthosts only--not in locals or virtualdomains--and then putting:

ttk-lig.com:192.168.100.1

in smtproutes.

Chris

PGP signature

Reply via email to