Συντάκτης: Jeremy Harris Ημερομηνία: Προς: exim-users Αντικείμενο: Re: [exim] Make auth unsuccessful with some conditions
On 30/03/2023 13:58, Dzmitry Shykuts via Exim-users wrote: > I'm trying to deny users successful authentication if they connect not from the internal network but from the Internet. At the same time, I have a file with exception users.
>
> server_condition is used to deny authentication. At the same time, this works for CRAM_MD5, but does not work for PLAIN (an error message appears in the log, but the message is sent as coming from an authorized user).
What error message? In what fashion does it "not work"?
Show us an example. Use the debug facilities (quite likely,
doing that will show you where your issue is).
> There are also notes for PLAIN in the documentation: "This option must be set for a plaintext server authenticator, where it is used directly to control authentication. See section 34.3 for details." I don't know how to apply or bypass this in my case.
As it says, for a plaintext authenticator. You are not using one,
you are using dovecot authenticators.