Συντάκτης: Lena
Ημερομηνία:
Προς: exim-users
Αντικείμενο: 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}}}}\
}}