[Dovecot] Different passwords for different IP-Addresses/protocols?
Hi,
I'd like to do the following:
Have an IMAP server, avaible
at localhost 127.0.0.1 without SSL for local clients and web based applications such as squirrelmail
from outside with SSL for mobile users
but - for security reasons - would like to use different passwords on both ports.
How could I achieve that?
regards Hadmut
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Thu, 8 Mar 2007, Hadmut Danisch wrote:
Have an IMAP server, avaible
at localhost 127.0.0.1 without SSL for local clients and web based applications such as squirrelmail
from outside with SSL for mobile users
but - for security reasons - would like to use different passwords on both ports.
How could I achieve that?
If you use a passdb, which support queries, e.g. LDAP or SQL, you can use %r for the remote address.
Otherwise, setup two Dovecots, bind one on 127.0.0.1:imap only with one passdb. The other Dovecot is bound to *:imaps with another passdb.
Bye,
Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux)
iQEVAwUBRe/3yC9SORjhbDpvAQKaJQgAvrVGia9+7qwgYpXGVxH99vGz3Xxa1HO6 iCjwGiwuvRJK63l270+6jov+S9f+nyhP4Ot0mCSbB5g2CPsd7lmuNIePH94DLMWh Z8/B2NMZkkj425+m0bSb9VN/68RBbGPI7iDN/zlGN6bmUhUw25+7kbL4l4+htU35 Pkhla0wWcd2Ky9Cu9qcaOhbcHbpakJ9Tie0kyyk8/qXJ6VULhehBRIQZFFUNxXDG wi0QKvALDQQ2m1QDr1fnNV5cUVfhSwTu0KOXLGpK9YOrd9ujKeDBGMQfOwIIEsaH 0iKPbVnfsWrCQw47xrB8UOpwHud0fxVhSwUX4Jj0W+9Pj4uK5kREyA== =UQZC -----END PGP SIGNATURE-----
participants (2)
-
hadmut@danisch.de
-
Steffen Kaiser