Re: [Exim] Virtual domain aliasfile problems

Etusivu
Poista viesti
Vastaa
Lähettäjä: Antal Kovacs
Päiväys:  
Vastaanottaja: exim-users@exim.org
Kopio: msmith
Aihe: Re: [Exim] Virtual domain aliasfile problems
On sze, 2004-01-21 at 20:09, Mike Smith wrote:
> I am trying to write something that will process "user@??? :
> localuser" in the exim.conf file but have been unsuccessful.
>
> I have:
>
> virtual:
> driver = redirect
> allow_fail
> allow_defer
> data = ${lookup{$local_part@$domain}lsearch{/etc/aliases}}
> file_transport = address_file
> pipe_transport = address_pipe
>
> this does not seem to work, I think the @ is mucking it up somehow.


It's correct, but I use separated /etc/exim4/virtusertable file for this
instead of /etc/aliases. Try to put this lines in the /etc/exim4/conf.d/router
dir with 350_exim4-config_virtuser_table filename, then run update-exim4.conf
and restart exim4. It's work for me.

--
Anti
----------------------------------------------------------
Antal Kovacs System Administrator Email: anti@???
Areco Systems Ltd. Hungary 1119. Budapest Fehervari u. 83.
Tel: +361 464-7500 Fax: +361 464-7555