Re: [Exim] virtual domains / two locations

Etusivu
Poista viesti
Vastaa
Lähettäjä: Philip Hazel
Päiväys:  
Vastaanottaja: Thomas Mohaupt
Kopio: exim-users
Aihe: Re: [Exim] virtual domains / two locations
On Mon, 22 May 2000, Thomas Mohaupt wrote:

> serverA and serverB. So I try an alias file like:
> user1@???: user1@???
> user2@???: user2@???
>
> but then the mails are stored in the folder .../virtual/serverA.domain1.de
> (at serverA).
> How can I setup exim to store it in .../virtual/domain1.de?


Change

> file = /var/spool/virtual/${domain}/${local_part}


to

file = /var/spool/virtual/${if match{$domain}{^server[AB]\\.(.*)\$}{$1}{$domain}}/${local_part}


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