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

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Marc Sherman
Date:  
À: exim-users
Sujet: 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