Re: [EXIM] Rewriting for not-local_domains

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Marc Haber
Dátum:  
Címzett: exim-users
Tárgy: Re: [EXIM] Rewriting for not-local_domains
On Wed, 8 Jul 1998 18:33:36 +0200, you wrote:
>for an intranet mailserver I want to do rewriting only if the
>recipient is not in the $local_domain.
>
>*@intra.net \
> {if recipient is not in $local_domain} user@??? \
> Ffs
>
>Is this possible and how do I have to write my rewriting rule?


try something like

|*@intra.net "${if eq{$domain}{intra.net}fail{user@???} Ffs

Just an educated guess, it's time for me to pay back for the help I
have been getting here. I didn't actually try this, though.

Greetings
Marc

-- 
-------------------------------------- !! No courtesy copies, please !! -----
Marc Haber          |   " Questions are the         | Mailadresse im Header
Karlsruhe, Germany  |     Beginning of Wisdom "     | Fon: *49 721 966 32 15
Nordisch by Nature  | Lt. Worf, TNG "Rightful Heir" | Fax: *49 721 966 31 29


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