I use MySQL to store my virtual users passwords and I am running the latest version of Dovecot. What I need to do is have one particular user have ONLY access to their email via Roundcube (webmail) and no IMAP/SMTP access. Therefore, how do I disable IMAP/SMTP access for just one user?
W dniu 2014-05-05 18:39, SIW pisze:> I use MySQL to store my virtual users passwords and I am running the > latest version of Dovecot. > > What I need to do is have one particular user have ONLY access to their > email via Roundcube (webmail) and no IMAP/SMTP access. > > Therefore, how do I disable IMAP/SMTP access for just one user? >Hi! Use variable %s in query (http://wiki2.dovecot.org/Variables ). E.g. you can use new column in table or use CASE in SELECT statement if you don't need to change schema of table. Regards, Marcin
I'm confused. Roundcube's using imap, so how are the %s queries helping? Isn't the real question "How can I limit imap to specific clients/localhost, depending on the user"? On May 5, 2014 6:39:42 PM CEST, SIW <bov at bsdpanic.com> wrote:>I use MySQL to store my virtual users passwords and I am running the >latest version of Dovecot. > >What I need to do is have one particular user have ONLY access to their > >email via Roundcube (webmail) and no IMAP/SMTP access. > >Therefore, how do I disable IMAP/SMTP access for just one user?-- Sent from my Android device with K-9 Mail. Please excuse my brevity.
SIW skrev den 2014-05-05 18:39:> I use MySQL to store my virtual users passwords and I am running the > latest version of Dovecot. > > What I need to do is have one particular user have ONLY access to > their email via Roundcube (webmail) and no IMAP/SMTP access. > > Therefore, how do I disable IMAP/SMTP access for just one user?its not a roundcube question but: http://wiki2.dovecot.org/Authentication/RestrictAccess http://wiki2.dovecot.org/PasswordDatabase/ExtraFields/AllowNets setup that user to have allow_nets 127.0.0.1 with is roundcube imho solved ?`