This patch adds predefined imap server section in the pontomail administration settings. When the predefined server is enabled, pontomail connects to this imap server using drupal user's username and password.
This feature is useful if you have the same authentication backend for the drupal site and for the imap server, for example LDAP. Then user don't have to configure his email account settings in drupal and pontomail automatically authenticates with the imap server using drupal's credentials. To achieve that user's password is stored in drupal session (to authenticate with imap we need a clear text password).
It also has a checkbox in admin settings letting to choose if we want to let users to add other imap servers or no.
Comments
Comment #1
simeI would like to see some sort of default account. This patch made my mailboxes disappear in the menu, so I'm not quite certain yet whether we are after the same thing.
Why do you need this checkbox when there we can use
user_access('setup email')?Comment #2
miglius commentedTrue, this checkbox is redundant. Thanks, for pointing it out. I have removed it. Now applying the patch shouldn't change mailboxes in the menu.
Comment #3
miglius commentedIs it possible to submit this patch to CVS?
Comment #4
Souvent22 commentedCommited. THanks. Sorry for the dealy.
Comment #5
(not verified) commented