[Dovecot] User another userdb to sasl

Andy Dills andy at xecu.net
Fri Mar 7 20:48:14 EET 2008


On Fri, 7 Mar 2008, Nicolas Letellier wrote:

> Hello,
> 
> I use Dovecot 1.0.12 with Postfix on FreeBSD. It works perfectly, but I have a
> question. My users are virtual (stocked in a MySQL database).
> I use SASL Dovecot authentification, and SASL uses my userdb (for POP/IMAP
> access).
> 
> However, I would like my users have an other login/password to send email with
> SMTP/SASL. Or, I don't want my users use the same login/password for POP/IMAP
> than SMTP. More, I don't want some users could send emails with their
> login/password, but I want they can fetch their mails.
> 
> I'm looking for an option in my dovecot.conf to specifie a table SQL for SASL
> authentification (and don't use same table SQL than IMAP/POP access).
> 
> How I could do for this problem? Do you have an idea? Or, simply, is it
> possible with Dovecot SASL? I read all Dovecot wiki, with no results...

One solution, off of the top of my head, would be two dovecot instances, 
with only one providing the SASL authentication socket to postfix, which 
would be configured with seperate authentication methods.

You might want to look into /bin/checkpassword authentication, I can't 
imagine using anything else.

Andy

---
Andy Dills
Xecunet, Inc.
www.xecu.net
301-682-9972
---


More information about the dovecot mailing list