Hi Benoit,

Le 15/02/2014 07:50, benoitc a icrit :
> Hi,
> 
> 
> I need to configure opensmtpd with dovecot using virtual users. Is this 
> possible to share the authentication infos (user/pass) between both? Is there 
> any doc somewhere about it?
> 
> - benoit
> 


I would use something like :

* smtpd.conf :
[...]
table user_list passwd:/usr/local/etc/dovecot/users.db
[...]

* dovecot.conf :
[...]
passdb {
  driver = passwd-file
  args = /usr/local/etc/dovecot/users.db
}
userdb {
  driver = passwd-file
  args = /usr/local/etc/dovecot/users.db
}
[...]

* users.db :
myself:$2a$05$USpoz2Y/imobD6XRaYHZFOh0OdXQYcMiBTZ/EWzgH1mJRfJUjubvC:5000:5000::/home/mail/myself:/bin/nologin

(password generated with `doveadm pw -s BLF-CRYPT`)

Denis


-- 
You received this mail because you are subscribed to [email protected]
To unsubscribe, send a mail to: [email protected]

Reply via email to