Alexander
2004-Jul-24 12:54 UTC
[Dovecot] Local + virtual users using Dovecot 0.99.10.6 (from debian testing)
Hi, I have configured the MTA (exim4) to put the messages for my local users at /var/mail. If the user does not exist as true unix user, it looks at a postgresql database and if the user exists there, it delivers the message at /var/mail/virtual Example: User fred is a unix user, and peter is a virtual user. If i send a mail to fred at mydomain.org, the message is stored at /var/mail/fred (im using exim's append for transport). If i send a mail to peter at mydomain.org, the message is stored at /var/mail/virtual/peter With the defaul configuration from debian, dovecot is capable serving the local users mailbox (and its working at the moment). Im using only IMAP (i see there is an option for pop3, but im not interested in that atm). I think i know how to change the config file to serve only virtual users using the postgres module. Can anyone tell me how to serve them both at the same time? As I understand it, what i need is to make dovecot try to validate a user againt the local user database (its using pam for that at the moment), and if it fail, try with postres. But i dont know how (or if its possible at all). Thanks.
Timo Sirainen
2004-Jul-26 15:18 UTC
[Dovecot] Local + virtual users using Dovecot 0.99.10.6 (from debian testing)
On Sat, 2004-07-24 at 15:54, Alexander wrote:> I have configured the MTA (exim4) to put the messages for my local users > at /var/mail. > If the user does not exist as true unix user, it looks at a postgresql database and if the user exists there, it delivers the message at /var/mail/virtual..> Can anyone tell me how to serve them both at the same time?It's not really possible with 0.99 Dovecot. 1.0-tests support it by simply defining two auth sections. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20040726/e735184f/attachment-0001.bin>