Fetch mails from a mailbox and forward them to another provider

I'm moving my mail-related stuff from GMail/Google Apps to MXroute and I still have few legacy mailboxes with other providers. Currently I'm using the built-in GMail feature to poll these mailboxes periodically and forward any new messages to my GMail inbox.

MXroute doesn't seem to have a similar feature, so I'm looking for a replacement. I'd prefer a self-hosted solution and I'm looking into getmail which seems to do the trick but requires a local MTA and forwards the emails via SMTP.

Do you know about any other, more simple options?

dnscry.pt - Public DNSCrypt resolvers hosted by LowEnd providers • Need a free NAT LXC? -> https://microlxc.net/

Comments

  • AdvinAdvin Hosting Provider
    edited May 2022

    Mailcow? Not sure :'(

    FroCDN Files - Anonymously upload up to 15GB per file for free with unlimited bandwidth. FroCDN Paste - Paste text to share with others, fork of Hastebin. Also completely free to use.

  • Been a few years since I've used it, but maybe fetchmail can do that?
    https://www.fetchmail.info/

    Thanked by (2)skorous Brueggus
  • isync + goimapnotify can do that in real time using IMAP IDLE.

    Thanked by (1)Brueggus
  • Log in to mail.mxlogin.com with your email account and then go to Settings -> Mail -> Import. There you can create an import job to import from any IMAP server, including Gmail. Note that you can't use your Gmail password as Google won't allow that. Instead, you need to enable 2FA on the Gmail account and then create an app password that you can then use instead. If you have a lot of emails the import tool will respect Google limits and will continue as soon as the limit is lifted. Also, before starting the import job you'll be able to choose which mail folders you want to import, map them to your local folders, etc...

    Or, use the imapsync tool which I heard has similar features.

    Gl!

    Thanked by (1)Brueggus
  • Thanks for your suggestions!

    @CrossBox said: ue as soon as the limit is lifted. Also, before starting the import job you'll be able to choose which mail folders you want to import, map them to your local folders, etc...

    That's a pretty nice feature! But I cannot be (ab-)used to check other mailboxes periodically and import any new email from those mailboxes to my MXroute inbox, can it?

    fetchmail/getmail should do the trick to fetch new emails to a local folder but I still need to get them to my MXroute inbox somehow...

    dnscry.pt - Public DNSCrypt resolvers hosted by LowEnd providers • Need a free NAT LXC? -> https://microlxc.net/

Sign In or Register to comment.