Zimbra IMAP mail sync without user password

Issue #766 wontfix
KP Basu created an issue

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)

  1. Janos SUTO repo owner

    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.

  2. KP Basu reporter

    I want to store user-name and password after successful login Is this possible? Please help me.

  3. Janos SUTO 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).

  4. KP Basu 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.

  5. Log in to comment