How to send email from MiaB using an external SMTP relay


#1

I am creating this post simply to have an easily searched post with a link to a how-to to accomplish this. The question has been asked here before but a clear answer has never been posted. Thanks to @murgero for posting this link in another topic. :slight_smile:

Of course all of the steps in that linked article are not necessary - I have not gone through it step by step to determine the exact steps required.

And most importantly, keep in mind that this is an unsupported modification meaning that when you upgrade your Mail-in-a-Box to a newer version, these steps must be repeated as the changes will be overwritten.


#2

The steps will need to be reproduced when a new domain is added to the box as well. I think the postfix configuration file is overwritten with that too.


#3

Where is the link to the article?


#4

Start where the instructions say:

Configuring SMTP Usernames and Passwords


Emails to hotmail go directly to junk folder
#5

In this tutorial one should read under General type of mail configuration. Select the item Internet Site, but here you should select Satellite System. Which one is right?

Would someone maybe so nice and explains everything step by step, install from Postfix or configure to edit themain.cf etc.
for example what happens to the other entries in main.cf? should they be removed or remain unchanged?


#6

The first is sending from MiaB using a relay … the second is using MiaB as a relay for another mail server. The two different articles describe two completely different things. Which are admittedly, very similar.


#7

thanks for the education.
I have another server and would like to equip it with Postfix to send and receive emails. Alias and DNS are already set up on my MIAB server, how should the main.cf look from the other server to send and receive emails?