Re: [exim] Store (not deliver) messages if sent to/from an a…

Top Page
Delete this message
Reply to this message
Author: Marc Sherman
Date:  
To: exim-users
Subject: Re: [exim] Store (not deliver) messages if sent to/from an address
Burhan Khalid wrote:
>    condition = $header_to is "burhan.khalid@???"


Graeme is correct that this syntax error was the source of your problem;
please read chapter 11 of the spec for the expansion syntax:
http://exim.org/exim-html-4.60/doc/html/spec.html/ch11.html

However, $h_to is almost certainly not what you want to be testing;
you'll miss CC's, BCC's, and screw up delivery to other addresses in
messages sent to the target address.

You probably should use

local_parts = burhan.khalid
domains = gmail.com

instead.
http://exim.org/exim-html-4.60/doc/html/spec.html/ch15.html

- Marc