Re: [Exim] Condition statement for autoreply

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Darren Casey
Data:  
Para: Exim List
Assunto: Re: [Exim] Condition statement for autoreply
> catchall_autoreply:
> driver = accept
> condition = ${if and {\
> {eq {${lookup mysql {MYSQL_AUTOREPLY_EMAIL}{$value}}}{false} }\
> {eq {${lookup mysql {MYSQL_CATCHALL_AUTOREPLY_EMAIL}{$value}}}{true} }\
> }\
> {true}{false}}
> transport = catchall_auto_message
> unseen


I figured it out thanks
condition = ${if and {\
{eq {${lookup mysql {MYSQL_AUTOREPLY_EMAIL}{true}{false}}}{false} }\
{eq {${lookup mysql
{MYSQL_CATCHALL_AUTOREPLY_EMAIL}{true}{false}}}{true} }\
}\
{true}{false}}