3
submitted 1 year ago by Redux28@alien.top to c/main@selfhosted.forum

Hello all, i am not sure if plain webmail is the right category for what i'm looking for.

I already have a mail server running in a hosting VPS that has been running for years and handles sending and receiving emails without issues or being flagged as spam, what I'm trying to accomplish is:

  • Handling the storage of very old and large mailboxes (imap 20gb+) to my local server since my VPS is runing out of space.
  • Continue using the VPS email server to receive/send emails. Since i'm not at all interested in selfhosting the email server and dealing with all those issues.
  • Multiuser since several family members have the same issue.
  • Selfhosted so we can check/send email from any device/mobile.

Something that works similar (but obviously not selfhosted) is adding a POP3 account to Gmail/Outlook/etc and then adding the "send mail as" SMTP credentials of the server. I would like to replicate the same but selfhosted if possible.

Is there anything that works like this?

you are viewing a single comment's thread
view the rest of the comments
[-] talent_deprived@alien.top 1 points 1 year ago

You could do what I did and move the mail server to a local machine or VM then use Wireguard on the VPS which tells iptables to route incoming mail traffic ports to the now local mail server. Then you can use as much space as you want.

[-] gentoorax@alien.top 1 points 1 year ago

How do you deal with outages on the local mail server VM do you queue mail?

What about sending mail as I know outbound smtp can be difficult to avoid getting spammed

[-] talent_deprived@alien.top 1 points 1 year ago
  1. https://serverfault.com/questions/117906/what-happens-when-a-mail-server-goes-down

"The SMTP protocol is very resilient in design. Most modern MTAs will attempt to resend a message every 4 hours for up to 5 days though this is configurable by the particular systems admin there is usually very little need to change from this."

  1. Get a clean IP, there are many online sites that offer to check an IP: http://www.mxtoolbox.com/

Then make sure your server is configured well so it doesn't get a bad rep: https://www.linuxbabe.com/mail-server/setup-basic-postfix-mail-sever-ubuntu by setting up SPF, DKIM and DMARC.

this post was submitted on 19 Oct 2023
3 points (100.0% liked)

Self-Hosted Main

504 readers
1 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

For Example

We welcome posts that include suggestions for good self-hosted alternatives to popular online services, how they are better, or how they give back control of your data. Also include hints and tips for less technical readers.

Useful Lists

founded 1 year ago
MODERATORS