Well, did you try to start up some isolated
unconfigured instance of dovecot inside a
docker container for example and then
relay all connections from that specific
address using iptables to that instance?
That would of course generate an auth
fail message each time, and also log it
somewhere els
ki.tuomi" <aki.tu...@open-xchange.com>
Cc: dovecot@dovecot.org
Subject: Re: Forcing imap authentication failure for certain IP addresses
>>> One way is to use
>>> https://doc.dovecot.org/configuration_manual/authentication/auth_policy/
>>>
>>> or you can use
>>>
>>> passdb {
>>> driver = passwd-file
>>> deny = yes
>>> args = username_formar=%{rip} /et
> To: "aki.tuomi"
> Cc: dovecot@dovecot.org
> Subject: Re: Forcing imap authentication failure for certain IP addresses
>
> Thank you very much!
>
> In your example, what would be the contents of the
> /etc/dovecot/deny.ip file?
>
> --
> hippo..
1.2.3.4: nopasswordI think. Didn't have a chance to test it.Aki
Original message From: Hippo Man Date:
8/1/23 19:03 (GMT+02:00) To: "aki.tuomi" Cc:
dovecot@dovecot.org Subject: Re: Forcing imap authentication failure for
certain IP addresses Thank y
> From: Hippo Man
> Date: 8/1/23 18:14 (GMT+02:00)
> To: dovecot@dovecot.org
> Subject: Forcing imap authentication failure for certain IP addresses
>
> I'm running dovecot 2.3.18 under Debian 11.
>
> I want to do something that's a bit unusual: when IMAP con
/lua_based_authentication/and
write this in Lua.Aki
Original message From: Hippo Man Date:
8/1/23 18:14 (GMT+02:00) To: dovecot@dovecot.org Subject: Forcing imap
authentication failure for certain IP addresses I'm running dovecot 2.3.18
under Debian 11.I want to do something that's a b
I'm running dovecot 2.3.18 under Debian 11.
I want to do something that's a bit unusual: when IMAP connections are
attempted
from a few specific IP addresses, I want to force an IMAP authentication
failure
from those connections, no matter what user ID and password are specified.
I know that I ca