Re: [Exim] virtual domains / two locations

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: Thomas Mohaupt
CC: exim-users
Subject: 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.