Setting up chatmail on an existing postfix/dovecot mailserver

Hi,
I just discovered Delta Chat and configured to use my regular email account. But the messages get mixed up with my inbox. It seems that I need to change something on my email server.

All the info I can find so far is for setting up a NEW email server specifically for Delta Chat. Apart from the challenges to get two separate email servers working, one of the cute things of Delta Chat is that you can use your existing email account (with PGP keys etc).

So, I’m looking for info how to add the Delta Chat functionality to an existing multidomain postfix/dovecot infrastructure. I can’t find info about that. I found a bunch of scripts to deploy chatmail onto a postfix/dovecot server, but it is unclear whether it will mess up the existing configuration, which would be a pain to restore (even with backups, as some mails might get lost/duplicated/etc). I can reverse engineer these scripts… but I have a feeling that I’m reinventing the wheel.

I can’t be the only one who already has a fully functional postfix/dovecot server infrastructure with all the bells and whistles like spam filters, dkim, mailadmin, webmail, pgp etc. and just want to add delta chat to it, so existing email addresses can be reused.

Any ideas, hints, experiences?

Thanks,
Frans

If you only want to use the server yourself, then the most interesting thing might be setting up a push notification service if you need Apple or Google FCM notifications:

If you don’t mainly use mobile devices or you have an Android phone that does not kill the application in the background, you might not need it.

The other interesting part is this small Dovecot patch which removes half a second delay on message delivery:

I installed my own server on Arch Linux without external mail access (meaning it couldn’t receive or send from/to outside) but unfortunately had to take it down because my relatives/friend ended up using WhatsApp more than DeltaChat so I decided to stop pushing it because of the effort it took me for nothing. Yeah, I know, a very sad story… :frowning:

In any case, I still have the config available so if you want to give it a try don’t hesitate to ask me if you have any doubts. Maybe I can tell you how I made it work and at the same time we document the process here :raised_hands: .

1 Like