Zimbra IMAP mail sync without user password
Hi, Is there any option to sync zimbra IMAP account mails with out user credentials. I want to sync IMAP mails after user login on mail piler like gmails ID does.
Thanks KP
Comments (7)
-
repo owner -
reporter Please say where is store user input variables Like : username and password
-
reporter I want to store user-name and password after successful login Is this possible? Please help me.
-
repo owner The password is never stored. Frankly, I don't think it's a good idea. What if a user never logs in to the archive or he changes soon after he logs in, and you store the password? Also, I don't think this practice can be validated in any security-aware environment.
Anyway, I don't see your point: you have zimbra which is postfix under the hood. You can set always_bcc to get the emails. Zimbra stores email in clear text, so you can also make the already stored emails available for pilerimport (using nfs, sshfs, etc).
-
reporter I want to know that php code where user input their credentials. And that variable. So I can temporary store that variable and run pilerimport command after successful user login.
-
repo owner Check out controller/login/login.php
-
repo owner - changed status to wontfix
- Log in to comment
Why don't you push emails with the always_bcc feature? Anyway Gmail allows you to use some sort of tokens, and when the user logs in the first time, the gui uses his password to get such a token that can be used later by the gmail-imap-import.php script.
It's possible that zimbra supports a similar method to acess emails, check out the zimbra docs, and let me know if it does.