Postfix/Dovecot import mail from Gmail












2















I setup an iRedMail server on Ubuntu 14.04. My company currently uses Gmail but wants to switch to a cheaper solution. I set up the server with an LDAP DB, and I'm using Postfix and Dovecot for the server and transfer agent.



Is there a way to import or POP email from Gmail into iRedMail?










share|improve this question

























  • How many email boxes do you have to migrate?

    – Giovanni Mascellani
    Apr 28 '15 at 14:01











  • 150 give or take a few

    – T Varcor
    Apr 28 '15 at 14:15











  • That is probably a bit too much users for the solution I had in mind, but you can try with offlineimap, which is a script that copies email between different IMAP servers, local directories and other. It may be somewhat handmade for your needs, but it is better than nothing.

    – Giovanni Mascellani
    Apr 28 '15 at 14:21











  • Okay, Ill take a look at that, It might work. Thank you

    – T Varcor
    Apr 28 '15 at 14:25
















2















I setup an iRedMail server on Ubuntu 14.04. My company currently uses Gmail but wants to switch to a cheaper solution. I set up the server with an LDAP DB, and I'm using Postfix and Dovecot for the server and transfer agent.



Is there a way to import or POP email from Gmail into iRedMail?










share|improve this question

























  • How many email boxes do you have to migrate?

    – Giovanni Mascellani
    Apr 28 '15 at 14:01











  • 150 give or take a few

    – T Varcor
    Apr 28 '15 at 14:15











  • That is probably a bit too much users for the solution I had in mind, but you can try with offlineimap, which is a script that copies email between different IMAP servers, local directories and other. It may be somewhat handmade for your needs, but it is better than nothing.

    – Giovanni Mascellani
    Apr 28 '15 at 14:21











  • Okay, Ill take a look at that, It might work. Thank you

    – T Varcor
    Apr 28 '15 at 14:25














2












2








2








I setup an iRedMail server on Ubuntu 14.04. My company currently uses Gmail but wants to switch to a cheaper solution. I set up the server with an LDAP DB, and I'm using Postfix and Dovecot for the server and transfer agent.



Is there a way to import or POP email from Gmail into iRedMail?










share|improve this question
















I setup an iRedMail server on Ubuntu 14.04. My company currently uses Gmail but wants to switch to a cheaper solution. I set up the server with an LDAP DB, and I'm using Postfix and Dovecot for the server and transfer agent.



Is there a way to import or POP email from Gmail into iRedMail?







email postfix dovecot






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Apr 28 '15 at 15:00









dhag

11.5k33246




11.5k33246










asked Apr 28 '15 at 13:38









T VarcorT Varcor

112




112













  • How many email boxes do you have to migrate?

    – Giovanni Mascellani
    Apr 28 '15 at 14:01











  • 150 give or take a few

    – T Varcor
    Apr 28 '15 at 14:15











  • That is probably a bit too much users for the solution I had in mind, but you can try with offlineimap, which is a script that copies email between different IMAP servers, local directories and other. It may be somewhat handmade for your needs, but it is better than nothing.

    – Giovanni Mascellani
    Apr 28 '15 at 14:21











  • Okay, Ill take a look at that, It might work. Thank you

    – T Varcor
    Apr 28 '15 at 14:25



















  • How many email boxes do you have to migrate?

    – Giovanni Mascellani
    Apr 28 '15 at 14:01











  • 150 give or take a few

    – T Varcor
    Apr 28 '15 at 14:15











  • That is probably a bit too much users for the solution I had in mind, but you can try with offlineimap, which is a script that copies email between different IMAP servers, local directories and other. It may be somewhat handmade for your needs, but it is better than nothing.

    – Giovanni Mascellani
    Apr 28 '15 at 14:21











  • Okay, Ill take a look at that, It might work. Thank you

    – T Varcor
    Apr 28 '15 at 14:25

















How many email boxes do you have to migrate?

– Giovanni Mascellani
Apr 28 '15 at 14:01





How many email boxes do you have to migrate?

– Giovanni Mascellani
Apr 28 '15 at 14:01













150 give or take a few

– T Varcor
Apr 28 '15 at 14:15





150 give or take a few

– T Varcor
Apr 28 '15 at 14:15













That is probably a bit too much users for the solution I had in mind, but you can try with offlineimap, which is a script that copies email between different IMAP servers, local directories and other. It may be somewhat handmade for your needs, but it is better than nothing.

– Giovanni Mascellani
Apr 28 '15 at 14:21





That is probably a bit too much users for the solution I had in mind, but you can try with offlineimap, which is a script that copies email between different IMAP servers, local directories and other. It may be somewhat handmade for your needs, but it is better than nothing.

– Giovanni Mascellani
Apr 28 '15 at 14:21













Okay, Ill take a look at that, It might work. Thank you

– T Varcor
Apr 28 '15 at 14:25





Okay, Ill take a look at that, It might work. Thank you

– T Varcor
Apr 28 '15 at 14:25










1 Answer
1






active

oldest

votes


















0














Try imapsync at https://imapsync.lamiral.info/ (Also available in AUR). It can migrate email between any two imap servers easily. It officially supports most email servers, and most OS. (including iRedMail, Gmail and Ubuntu)



Basic usage: imapsync --host1 imap.host1.com --user1 user@example.com --password1 P@ssw0rd --host2 imap.host2.com --user2 user@example.com --password2 P@ssw0rd.






share|improve this answer


























  • Given that the OP indicates they're using Ubuntu (albeit, 3 years ago now), it might be more pertinent & useful to indicate the corresponding installation steps for Ubuntu.

    – Jeff Schaller
    Jun 24 '18 at 17:48











  • @JeffSchaller There're complete installation guides for every OS and an online-imapsync tool in the provided official website. I think that's easy enough to use:)

    – recolic
    Jun 25 '18 at 4:07














Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f199142%2fpostfix-dovecot-import-mail-from-gmail%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









0














Try imapsync at https://imapsync.lamiral.info/ (Also available in AUR). It can migrate email between any two imap servers easily. It officially supports most email servers, and most OS. (including iRedMail, Gmail and Ubuntu)



Basic usage: imapsync --host1 imap.host1.com --user1 user@example.com --password1 P@ssw0rd --host2 imap.host2.com --user2 user@example.com --password2 P@ssw0rd.






share|improve this answer


























  • Given that the OP indicates they're using Ubuntu (albeit, 3 years ago now), it might be more pertinent & useful to indicate the corresponding installation steps for Ubuntu.

    – Jeff Schaller
    Jun 24 '18 at 17:48











  • @JeffSchaller There're complete installation guides for every OS and an online-imapsync tool in the provided official website. I think that's easy enough to use:)

    – recolic
    Jun 25 '18 at 4:07


















0














Try imapsync at https://imapsync.lamiral.info/ (Also available in AUR). It can migrate email between any two imap servers easily. It officially supports most email servers, and most OS. (including iRedMail, Gmail and Ubuntu)



Basic usage: imapsync --host1 imap.host1.com --user1 user@example.com --password1 P@ssw0rd --host2 imap.host2.com --user2 user@example.com --password2 P@ssw0rd.






share|improve this answer


























  • Given that the OP indicates they're using Ubuntu (albeit, 3 years ago now), it might be more pertinent & useful to indicate the corresponding installation steps for Ubuntu.

    – Jeff Schaller
    Jun 24 '18 at 17:48











  • @JeffSchaller There're complete installation guides for every OS and an online-imapsync tool in the provided official website. I think that's easy enough to use:)

    – recolic
    Jun 25 '18 at 4:07
















0












0








0







Try imapsync at https://imapsync.lamiral.info/ (Also available in AUR). It can migrate email between any two imap servers easily. It officially supports most email servers, and most OS. (including iRedMail, Gmail and Ubuntu)



Basic usage: imapsync --host1 imap.host1.com --user1 user@example.com --password1 P@ssw0rd --host2 imap.host2.com --user2 user@example.com --password2 P@ssw0rd.






share|improve this answer















Try imapsync at https://imapsync.lamiral.info/ (Also available in AUR). It can migrate email between any two imap servers easily. It officially supports most email servers, and most OS. (including iRedMail, Gmail and Ubuntu)



Basic usage: imapsync --host1 imap.host1.com --user1 user@example.com --password1 P@ssw0rd --host2 imap.host2.com --user2 user@example.com --password2 P@ssw0rd.







share|improve this answer














share|improve this answer



share|improve this answer








edited Jun 25 '18 at 4:15

























answered Jun 24 '18 at 17:23









recolicrecolic

83




83













  • Given that the OP indicates they're using Ubuntu (albeit, 3 years ago now), it might be more pertinent & useful to indicate the corresponding installation steps for Ubuntu.

    – Jeff Schaller
    Jun 24 '18 at 17:48











  • @JeffSchaller There're complete installation guides for every OS and an online-imapsync tool in the provided official website. I think that's easy enough to use:)

    – recolic
    Jun 25 '18 at 4:07





















  • Given that the OP indicates they're using Ubuntu (albeit, 3 years ago now), it might be more pertinent & useful to indicate the corresponding installation steps for Ubuntu.

    – Jeff Schaller
    Jun 24 '18 at 17:48











  • @JeffSchaller There're complete installation guides for every OS and an online-imapsync tool in the provided official website. I think that's easy enough to use:)

    – recolic
    Jun 25 '18 at 4:07



















Given that the OP indicates they're using Ubuntu (albeit, 3 years ago now), it might be more pertinent & useful to indicate the corresponding installation steps for Ubuntu.

– Jeff Schaller
Jun 24 '18 at 17:48





Given that the OP indicates they're using Ubuntu (albeit, 3 years ago now), it might be more pertinent & useful to indicate the corresponding installation steps for Ubuntu.

– Jeff Schaller
Jun 24 '18 at 17:48













@JeffSchaller There're complete installation guides for every OS and an online-imapsync tool in the provided official website. I think that's easy enough to use:)

– recolic
Jun 25 '18 at 4:07







@JeffSchaller There're complete installation guides for every OS and an online-imapsync tool in the provided official website. I think that's easy enough to use:)

– recolic
Jun 25 '18 at 4:07




















draft saved

draft discarded




















































Thanks for contributing an answer to Unix & Linux Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f199142%2fpostfix-dovecot-import-mail-from-gmail%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

How to make a Squid Proxy server?

Is this a new Fibonacci Identity?

19世紀