Need help sending receiving emails
-
Hello,
I try to use kopano as exchange alternative. But the problem, there are only 7 users who want (and need) this config. All others (about 20 users) don’t need a groupware.
These 20 people send and receive their mails with Thunderbird via SMTP and IMAP direct from the provider 1und1.de
How do I have to config kopano, that the other 7 users can use the groupware with sending and receiving via kopano with SMTP and IMAP?
My problem is I don’t know how to config postfix or fetchmail. Is there a good tutorial?
–
System:
Windows 2019 Server
Active Directory
Hyper-v with Ubuntu 20.04, running Kopano Core and WebAppsThx for help
Andre -
You can run a split email system with either forwards or fetchmail.
What I don’t like about fetchmail is that it adds an additional delay, but it’s probably the easier thing to configure? But you can also use a second domain or a subdomain and forward emails between them. For example.Main domain example.com is managed by 1und1 and you create the following users
user1@example.com ==> IMAP provided by 1und1
…
user20@example.com ==> IMAP provided by 1und1user21@example.com ==> create a forwarder email account to user21@kopano.example.com
…
user27@example.com ==> create a forwarder email account to user27@kopano.example.comThen create a subdomain kopano.example.com and set the MX Record for this subdomain to either the fixed IP you run your kopanop server at, or to a dyndns host this kopano server can be found at. For example
kopano.example.com MX 10 your-dyndns-host.dyndnsprovider.netIn kopano, you then create the user 21@example.com … 27@example.com an in postfix you create the users 21@example.com as well as 21@kopano.example.com. You also need to make sure that postfix will forward all mails to users it does not know to the MX for example.com (1und1).
This is a very well working solution, but it requires some configuration and understanding of postfix as well as DNS and MX things. For a newbie, figuring out fetchmail is probably easier. Lots of solutions, but you will need to learn a bit about postfix in each case IMHO. Which is not a bad thing, because postfix is VERY popular and knowledge about is very useful and not directly related to kopano.
For outgoing mail from kopano, if you have a fixed IP you can send this directly, if not you need to configure a forwarder, you can probaby deliver email via smtp.1und1.de for the the kopano users. Again, this requires some basic knowledge about how postfix works and is configured.
Running an email system is unfortunately something a little bit complicated (there are additional things you might need to figure out like SPF depending on your configuration). The complexity of running your own email server is one of the reasons why Office365 is somewhat popular :-)
But such split configurations are definitely possible. I use them a lot to have some users on Office365 (Hosted Exchange) and some users on the free Kopano-Core. Works very well once properly configured. In my Office365 usage I receive all mail with the Postfix installation on the kopano installation (which also does basic antispam by just refusing to accept spam using IP reputation blacklists) and then forward accepted mail to user1@company.onmicrosoft.com if the user has a hosted exchange account or otherwise just deliver it locally to user@company.com (kopano).
-
For sure you’ll need to get acquainted with postfix and fetchmail.
I would recommend you check the tutorials that matches the distro you are on.Get this done as building block, before moving forward with the Kopano install.
Or how about subscribing for a license of 10 users, then you could use some support time units with Kopano, they are good and masters this topic with great clarity, they could set this up in a fraction of time. And you’d learn along the way.
All depending how much you are ready to accelerate things. Either way you’ll be learning. Keep us posted