Code Monkey home page Code Monkey logo

Comments (14)

chiefbrain avatar chiefbrain commented on May 22, 2024 2

I already run my own SMTP server I don't really want to have to fire up a second one when I already have one working quite well is there a way to do this where I can just use that?

I understand this as running only one instance of postfix.

MailInABox lets you manage email domains, mailboxes and aliases (and stores this data in sqlite).
SimpleLogin lets you manage forwardings (and stores data in postgresql).

If a separate domain like @sl.example.com is used for SimpleLogin, only one postfix instance seems required.
MailInABox relies on virtual_mailboxes (using sqlite).
SimpleLogin relies on relay_domains (using postgresql).

If you are setting up SimpleLogin in your MailInABox instance, instead of using the SimpleLogin postfix config, adding relay_domains and transport_maps to the MailInABox's postfix config could work (besides adding the files and postgres support to postfix).

from app.

Leopere avatar Leopere commented on May 22, 2024 1

from app.

Leopere avatar Leopere commented on May 22, 2024

This is the email server I want to run https://mailinabox.email/; it's using postfix but it's installed on bare metal.

from app.

nguyenkims avatar nguyenkims commented on May 22, 2024

@Leopere Currently we haven't studied installing SimpleLogin alongside with an existing email infrastructure yet. We are going to have a look at mailinabox to see if it can be compatible with SimpleLogin.

Having a separate domain for SimpleLogin (could be a subdomain) would make things easier though, is this the setup you want to achieve?

from app.

havedill avatar havedill commented on May 22, 2024

I got mine to forward through amazon SES

#49

from app.

nguyenkims avatar nguyenkims commented on May 22, 2024

@Leopere have you had any update on this issue?

from app.

Leopere avatar Leopere commented on May 22, 2024

from app.

Leopere avatar Leopere commented on May 22, 2024

Sorry @nguyenkims I didn't realize who you were when you asked me for updates. It's still something that I want but I haven't had the luxury of time to really give it any further progress.

from app.

nguyenkims avatar nguyenkims commented on May 22, 2024

@Leopere no worries, let me know if you need any help.

from app.

Leopere avatar Leopere commented on May 22, 2024

@nguyenkims I'm actually wondering if you'd be willing to write some kind of compatibility with MailInABox's API

Examples:
Try these examples. For simplicity the examples omit the --user [email protected]:yourpassword command line argument which you must fill in with your administrative email address and password.

# Gives a JSON-encoded list of all mail users
curl -X GET https://box.example.com/admin/mail/users?format=json

# Adds a new email user
curl -X POST -d "[email protected]" -d "password=s3curE_pa5Sw0rD" https://box.example.com/admin/mail/users/add

# Removes a email user
curl -X POST -d "[email protected]" https://box.example.com/admin/mail/users/remove

# Adds admin privilege to an email user
curl -X POST -d "[email protected]" -d "privilege=admin" https://box.example.com/admin/mail/users/privileges/add

# Removes admin privilege from an email user
curl -X POST -d "[email protected]" https://box.example.com/admin/mail/users/privileges/remove

from app.

doanguyen avatar doanguyen commented on May 22, 2024

@Leopere can you clarify your use-case? As far as I understood, you have already had an email server running mail-in-a-box and you want SimpleLogin to stay in front of your mail-in-a box server or just-another-email service to forward/drop incoming SMTP requests?

from app.

Leopere avatar Leopere commented on May 22, 2024

Mostly just manage the aliases and routing and all of that next to the MailInABox instance so that I'm not required to manage two technologically obese complex services.

Not entirely certain if I'd really want to switch entirely but I definitely would prefer to host some part of this myself if possible I'd even keep my premium subscription for SL just to support the devs but the idea of having yet another man in the middle after going it solo on my own self-hosting setup seems counterproductive.

from app.

nguyenkims avatar nguyenkims commented on May 22, 2024

@Leopere mailinabox and SimpleLogin cannot use the same domain as the arriving emails

  • are handled differently: mailinabox stores the emails whereas SimpleLogin forwards them.
  • there's no way to tell which email should be handled by mailinabox and which one handled by SimpleLogin

A suggestion would be using a different domain (or subdomain) for SimpleLogin. In this case you can use a mailinabox email as original email (or mailbox) on SimpleLogin and for SimpleLogin, mailinabox is just another email service.

The user system in SimpleLogin and mailinabox are also completely different so I don't think SimpleLogin will integrate mailinabox API in a near future.

SimpleLogin and mailinabox are both tied to Postfix so I think it's better to use a VM for each. A VM of 1GB RAM should be enough for SimpleLogin if you only use SimpleLogin for yourself (or some friends/family members).

from app.

nguyenkims avatar nguyenkims commented on May 22, 2024

I close this issue as we this is not clear what we should do ....

from app.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.