Re: [exim] - local delivery problem

Góra strony
Delete this message
Reply to this message
Autor: Paul
Data:  
Dla: Philip Hazel
CC: exim-users
Temat: Re: [exim] - local delivery problem
On Tue, 3 Jul 2001, Philip Hazel wrote:
>xxxx:
> driver = smartuser
> domains = whatever
> local_parts = B : Y
> transport = xxxx_transport
>


Cracked it :-)

i altered the director that rewrote
*@login.localdomain -> login@localdomain
to:

rewrite_aliases:
  driver = smartuser
  domains = "*.localdomain"
  transport = local_delivery
  new_address = ${lookup {$local_part@$domain} \
                 dbm*@{/etc/exim/etc/rewrite_aliases.db} \
                 {$value}}@localdomainB
  headers_add = "X-To: $local_part\@$domain\n\
                Apparently-To: $local_part\@$domain"


local_delivery transport sets the filename and user/group to deliver to.

Thanks for the pointers.



--
Paul Verity

Email: paul@???     http://www.pc-house.co.uk
        http://www.quake.uk.net