Re: [EXIM] delivery UID

Etusivu
Poista viesti
Vastaa
Lähettäjä: Philip Hazel
Päiväys:  
Vastaanottaja: vtmue
Kopio: eml
Aihe: Re: [EXIM] delivery UID
On Thu, 10 Sep 1998 vtmue@??? wrote:

> how can I deliver mail for *@dom.ain under UID of the (one specified)
> recipient?
>
> Details:
> -------
> with 1.92, mail for several virtual domains is handled via
> domain-dependent lsearch lookups. Besides smtp the following is the only
> transport:
>
> address_file:
> driver = appendfile
> user = $local_part


Try replacing this line with something like

    user = ${lookup{$local_part}lsearch{/etc/mail/LD-list}{$local_part}{schmidt}}


So that it uses $local_part only if it found the local part in the alias
file and otherwise uses "schmidt".

> schmidt:        /var/mail/schmidt

>
> This works quite well so far.
> My problem now is that:
>
> *:        /var/mail/schmidt

>
> naturally doesn't work for unknown local parts.


OR: replace that line with

  *:            schmidt@an-appropriate-domain


I think this is a cleaner way of doing it.

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



--
*** Exim information can be found at http://www.exim.org/ ***