Restrict IMAP login, but allow Postfix SASL

Vladislav Kurz vladislav.kurz at webstep.net
Wed Jun 1 14:12:28 UTC 2022


Dne 01. 06. 22 v 13:40 lutz.niederer at gmx.net napsal(a):
> Hi,
> 
> we have a very simple user-/passdb (like passwd) to authenticate virtual IMAP users.
> We also use this for Postfix authentication.  Nothing special.
> 
> But, we need to exclude some of the users from IMAP login.
> This means, some users should be allowed to send mail via Postfix (submission) and therefore
> authenticate via SASL against dovecot successfully, but they should not be allowed to login
> to their IMAP mail box.
> 
> How could this be done?
> 
> Thanks!
> -lutzn
> 
> 


Hi, would it be a valid option just not creating the mailbox for the 
"submission only" users?  Technically they could login to imap, but they 
would not have the mailbox.

-- 
Best regards
         Vladislav Kurz



More information about the dovecot mailing list