Are you using qmail-ldap or just plain qmail?
Felipe Augusto van de Wiel wrote: > Hi, > > I have a few virtualdomains and in the last few weeks I > noticed something strange, because I removed one of the e-mails > in the virtualdomain after a person leave the company. > > After the removal I start getting MAILER-DAEMON errors: > > > Sorry. Although I'm listed as a best-preference MX or A for that host, > it isn't in my control/locals file, so I don't treat it as local. (#5.4.6) > > > I run a test in another virtualdomain and I discovered > that if I do not list the e-mail address explicit in the > ~control/virtualdomains I got the above error. But, if I list the > e-mail address and point it to an alias that does not exist I got: > > > Sorry, no mailbox here by that name. (#5.1.1) > > > All my virtualdomains are listed in: > > ~control/virtualdomains > ~control/rcpthosts > > And they are not listed in ~control/locals > > I'm not sure if I'm doing something wrong here. A usually > virtualdomain entry is like that (in ~control/virtualdomains): > > [EMAIL PROTECTED]:justanalias > > > And in ~alias: > > .qmail-justanalias-myvirtualuser > > > Any hints/tips? Thanks in advance. > > -- > Felipe Augusto van de Wiel <[EMAIL PROTECTED]> > Coordenadoria de Tecnologia da Informação (CTI) - SEDU/PARANACIDADE > http://www.paranacidade.org.br/ Phone: (+55 41 3350 3300) > > > Switzerland >