Re: [Exim] Condition statement for autoreply

Góra strony
Delete this message
Reply to this message
Autor: Darren Casey
Data:  
Dla: Exim List
Temat: 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}}