Re: [EXIM] "sticky" localpart

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Philip Hazel
Dátum:  
Címzett: V. T. Mueller
CC: eml
Tárgy: Re: [EXIM] "sticky" localpart
On Fri, 25 Sep 1998, V. T. Mueller wrote:

>
> Hello world :)
>
> Mail for vtmue on hostA a gets forwarded to vtmue@hostB using a smartuser
> director. Now I need to deliver mail for, say "sticky@hostA" to
> /var/mail/vtmue locally on hostA.
> -From what I read in the specs I think it's not possible with a
> smartuser(?)


It's possible using smartuser with its own transport:

zzz:
  driver = appendfile
  file = /var/mail/vtmue
  delivery_date_add                          
  envelope_to_add                    
  return_path_add     
  user = vtmue


xxx:
driver = smartuser
local_part = sticky
transport = zzz

However, another approach is to put

except_local_parts = sticky

on your existing smartuser director, and let it fall through to an
aliasfile director.

> -Do I therefore have to set up an extra director with an extra aliasfile
> for that one single address?


I think you probably do need another director of some sort. If you
already have an aliasfile it just needs an appropriate entry.


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



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