Re: [exim] Exim relaying but shouldn't

Góra strony
Delete this message
Reply to this message
Autor: Lena
Data:  
Dla: exim-users
Temat: Re: [exim] Exim relaying but shouldn't
> From: Eric Grammatico

> In fact I tried to implement the wiki:
> https://github.com/Exim/exim/wiki/AuthenticatedSmtpUsingPwauth


I edited that wiki: changed

server_condition = ${run{/bin/bash -c "echo -e '$auth2\n$auth3' | /usr/local/bin/pwauth"}{1}{0}}

to

server_condition = ${and {\
 {!match{$auth2$auth3}{[\x27\r\n]}}\
 {bool{${run{/bin/bash -c "echo -e '$auth2\n$auth3' | /usr/local/bin/pwauth"}{1}{0}}}}\
                    }}