Kopano with external MTA
-
I use Kopano since several years and it works perfectly. However I have problems with postfix configuration, especially sending spam to the world.
Therefore I’d like to use a professional mail service, e.g. from Hetzner in Germany as MTA to receive mails into Kopano and send mails from Kopano via this mail service.
Is it possible to use an external MTA and does anyone has experience how to configure it?
Horst
-
Hi.
I think what you are looking for is fetchmail. Postfix can also be configured to send the mails trough an external mail relay.
For fetchmail there is already a community plugin.
https://forum.kopano.io/topic/122/new-plugin-configure-and-use-fetchmail-from-the-webappSo you can receive mails from the Hetzner server. To send your mails through a smarthost you need to configure your postfix something like this:
https://blog.bravi.org/?p=1065I hope its clear that you also must change the MX Record from your domain.
The only think what concerns me is
@hh said in Kopano with external MTA:
especially sending spam to the world.
When you are an open relay, you also have to take a look at your postfix config to get rid of this problem.
Cheers Basti
-
Hi Basti,
thanks for your answer and the links you provided. I will have a look at them.
What concerned me also is the fact that I did not manage postfix to stop sending spam, although I checked the configuration several times.
Cheers Horst -
Hi Horst.
If you post your postfix master.cfg and main.cfg we can have a look at your config.
You also could deny Port 25 when you have everything set up with the Hetzner smarthost. Then nobody can connect to your postfix from external and use your server as spam machine.Cheers Basti
-
(For incoming mail:)
KC is freely combinable with an MTA of your choice (postfix being one of them) at a location of your choice. The one requirement is that you can actually edit the MTA configuration to make it point it to the LMTP service of dagent.
When using a third party MTA service, you will need one more MTA hop of your own that you can control, and that external MTA service needs to support relaying. With regard to spam filtering capabilities, this should be no problem: your own MTA can be made to exclusively allow transmissions from and to the third party MTA, and block everything else.
(For outgoing mail:)
k-spooler can use any SMTP server (including said third party MTA), this is just a matter of configuration file.