Re: [Exim] question

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Philip Hazel
Data:  
Para: Hub Dohmen
CC: exim-users
Assunto: Re: [Exim] question
On Sat, 17 Aug 2002, Hub Dohmen wrote:

> Listen, can anybody help me translating this piece of my configure v
> 3,x to v 4.x:
>
> virtual_aliases:
>         driver = aliasfile
>         file = /usr/exim/accts/$domain
>         search_type = lsearch*
>         pipe_transport = special_pipe_transport
>         include_domain = true
>         optional = true
>         group = mail
>         user = mail

>
> The convert script didnot convert it correctly.


convert4r4 is not clever enough to handle "optional".

virtual_aliases:
  driver = redirect
  pipe_transport = special_pipe_transport
  group = mail
  user = mail
  data = ${if exists{/usr/exim/accts/$domain}\
          {\
          ${lookup{$local_part@$domain}lsearch*{/usr/exim/accts/$domain}}\
          }\
          {}}


I have not tested this.

--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.