Re: [Exim] Condition statement for autoreply

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Darren Casey
Ημερομηνία:  
Προς: Exim List
Αντικείμενο: 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}}