Hi
 is possible authentication by ip address in dovecot?
  What i need.
 Now auth is by PAM (Active directory), i want application password (its plugin to Roundcube, passwords in mysql) for  example android email client.
 I know that Multiple Authentication Databases work but i want when user auth from public network use sql and when from internal network use both sql and then pam.

thanks for help

Bukowski