I’m planning to migrate my email to a different provider, but they don’t give much storage, so I was wondering what people would recommend for this kind of setup: basically I’d like to use the new provider as something like a relay. I’d want them to only store an email or two at a time and have some kind of self hosted solution that just grabs the emails from the provider and stores them after deleting them off the provider so it’s never storing my entire email history, and also keeps my sent emails somewhere so that I have a copy of it. Ideally I’d wanna be able to set this up with a mail client like NextCloud’s.

  • TCB13@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    1 year ago

    The good old fetchmail is probably what you’re looking for. Run your local/self-hosted email server and then use fetchmail as described here to fetch the email from the email provider and deliver into the local accounts.

    You also have getmail that essentially does the same but is written in python. Guide here.

    I also remember reading on Postfixes docs about some delivery method that allowed for “deliveries over slow or unstable connections”. I wasn’t able to find this but it exists. I remember it kinda kept incoming emails queued and tried to deliver them when the other server was available.

    Now a note about NextCloud, their webmail is the worst possible solution here I did a very detailed description of the issues here.