look at line:
> > 990115095.556688 starting delivery 329454: msg 829190 to local

it seems that you have domain "ttk-lig.com" listed in your locals
(this is the reason why you see "delivery ... to local")
while it should be listed only in virtualdomains if you want to
use ~alias

from man:
----
 qmail-send handles virtualdomains after locals:  if a
 domain is listed in locals, virtualdomains does not
 apply
----



at [17/May/2001Thu 20:11] You Wrote in [Re: Problem due to prepend in virtualdomain 
file]:

> Do you have a user called ttk? Remember, ~alias is the *last* place
> that qmail looks for instructions. If a user exists with that name, it
> delivers to that user.
> 
> The man page for qmail-lspawn is a good place to start.
> 
> 
> Regards.
> 
> 
> 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]
> > 
> > And for ttklig_ch_notes.ttk-lig.com i am having below entry in my smtproutes
> > file.
> > 
> > ttklig_ch_notes.ttk-lig.com:[192.168.100.1]
> > 
> > Ideally it should forward all the mails for ttk-lig.com to 192.168.100.1
> > 
> > But when i am sending a mail to anyuser it is getting bounced back.
> > I send a test mail to [EMAIL PROTECTED] and i got below msg in my logs
> > 
> > 
> > 990115095.554767 info msg 829190: bytes 237 from <[EMAIL PROTECTED]> qp
> > 13835 u
> > id 0
> > 990115095.556688 starting delivery 329454: msg 829190 to local
> > [EMAIL PROTECTED]
> > 990115095.556700 status: local 1/10 remote 3/120
> > 990115095.799451 delivery 329454: failure:
> > Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/
> > 
> > 
> > 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 ?
> > 
> > Regards
> > 
> > Lokesh
> > 
> > 
> > 
> > 
> > 
> 



 Kind Regards

 Adam Andrzej Jaworski
 -------------------------------------------
 @VirtualCorporation

 Email: [EMAIL PROTECTED]
 Web:   http://www.Indigo-Profit-Hosting.com

Reply via email to