Re: [exim] Exim relaying but shouldn't

Top Page
Delete this message
Reply to this message
Author: Eric Grammatico
Date:  
To: exim-users
Subject: Re: [exim] Exim relaying but shouldn't

Le 28/09/2022 à 18:40, Lena--- via Exim-users a écrit :
>> 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}}}}\
>                      }}


Thanks a lot for that Lena. For the time being I moved from pwauth to
SASL with Dovecot. Let's see if it blocks this bot.

I don't know if I should keep the integration with Dovecot for
authentication or get back to pwauth with your fix.


thx & reg

--

_/) Eric.