Hi all, for one of my developpements, I need to be able to connect an IMAP server with a login but without password. (I use dovecot 1.0.beta3) For the userdb, I use "userdb static" : userdb static { args = uid=114 gid=114 home=/mydev/mail/%u } But I don't know how to allow IMAP connection by my application without password. I won't connect to a database, having a user/password file or something like this ... I think to use "passdb checkpassword" to call a fake authentication script .... Anyone have a better idea ? Thanks, Cyril Feraudet
On Mon, 2006-03-13 at 10:37 +0100, Feraudet Cyril wrote:> for one of my developpements, I need to be able to connect an IMAP > server with a login but without password.> Anyone have a better idea ?Is the server remote? If not, just get a preauth session by calling dovecot --exec-mail imap (or similar) johannes
On Mon, 2006-03-13 at 10:37 +0100, Feraudet Cyril wrote:> Hi all, > > for one of my developpements, I need to be able to connect an IMAP > server > with a login but without password.If passdb has empty password, you can log in with any password. This can be done with eg.: passwd-file: leave the password field empty sql: select NULL as password, .. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 191 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20060325/dbf89a0c/attachment.bin>