afaik control/virtualdomains is not used in qmail-ldap

only two things are needed for any mail-address address to work:

 - domain has to be in control/locals
 - email-address must be found in LDAP (be it the email field or the
alternateEmail field)

you therefore just need to add the domain in control/locals.
you don't need control/virtualdomains
you don't need control/rcpthosts (... as long as you don't get mail on
this server which then needs to be forwarded to another of your servers).

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

Reply via email to