Re: [Exim] exiscan_regex_data and complex regexps

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: sharun
Fecha:  
A: Tom Kistner
Cc: sharun, exim-users
Asunto: Re: [Exim] exiscan_regex_data and complex regexps
Tom Kistner wrote:
> >First look at exiscan_regex_data = ^X-Mailer.*Mail\\sSender have no look.
> >Message with ^X-Mailer: Mail Sender$ in body pass these regexp.
> >
> >What exiscan_regex_data shall look like?
>
> I tested this and it works:
>
> exiscan_regex_data = ^X\-Mailer\:: Mail Sender
>
> When doubling the backslash you end up with a literal backslash, which
> is not what you want.


Your example does not work:
mail from: <>
250 OK
rcpt to: sharun@???
250 Accepted
data
354 Enter message, ending with "." on a line by itself
X-Mailer: Mail Sender

test