Re: [Exim] prevent delivery via SMTP for a local domain

Top Page
Delete this message
Reply to this message
Author: Martin Kaiser
Date:  
To: exim-users
Subject: Re: [Exim] prevent delivery via SMTP for a local domain
Hi Gyan, others,

Thus wrote Gyan Mathur (exim@???):

> condition = "${if eq {$parent_domain}{domain.com}{1}{0}"


That got me started. In fact, it's sufficient that the mail was seen by
an alias file and the envelope address got changed to a mailbox name, no
matter what the parent domain is. So

condition = "${if !eq {$parent_domain}{}{1}{0}}"

does exactly what I want.

Thanks to anybody who answered,

Martin