Re: [exim] Exim relaying but shouldn't

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Eric Grammatico
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: Re: [exim] Exim relaying but shouldn't

Le 28/09/2022 à 19:36, Eric Grammatico a écrit :
>
> 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
>

Hi there,

For the time being, relaying is stopped and unwanted authentications are
all denied. I'll keep an eye on it.

Thanks you all for your support on this.

--
_/) Eric.