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

Pàgina inicial
Delete this message
Reply to this message
Autor: Martin Kaiser
Data:  
A: exim-users
Assumpte: 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