Re: [Exim] virtual domains / two locations

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Philip Hazel
日付:  
To: Thomas Mohaupt
CC: exim-users
題目: 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.