<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://wiki.ipbrick.com/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.ipbrick.com/index.php?action=history&amp;feed=atom&amp;title=IPBrick_-_Mail_Server_Configuration</id>
		<title>IPBrick - Mail Server Configuration - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.ipbrick.com/index.php?action=history&amp;feed=atom&amp;title=IPBrick_-_Mail_Server_Configuration"/>
		<link rel="alternate" type="text/html" href="https://wiki.ipbrick.com/index.php?title=IPBrick_-_Mail_Server_Configuration&amp;action=history"/>
		<updated>2026-05-13T13:16:50Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.23.2</generator>

	<entry>
		<id>https://wiki.ipbrick.com/index.php?title=IPBrick_-_Mail_Server_Configuration&amp;diff=614&amp;oldid=prev</id>
		<title>Dbabo: Created page with &quot;'''*** Page under construction ***'''  In this page we present some suggestions to optimize email service functioning in IPBrick installations.  = Improvements = Improvements...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.ipbrick.com/index.php?title=IPBrick_-_Mail_Server_Configuration&amp;diff=614&amp;oldid=prev"/>
				<updated>2015-11-17T12:50:42Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;#039;&amp;#039;&amp;#039;*** Page under construction ***&amp;#039;&amp;#039;&amp;#039;  In this page we present some suggestions to optimize email service functioning in IPBrick installations.  = Improvements = Improvements...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;'''*** Page under construction ***'''&lt;br /&gt;
&lt;br /&gt;
In this page we present some suggestions to optimize email service functioning in IPBrick installations.&lt;br /&gt;
&lt;br /&gt;
= Improvements =&lt;br /&gt;
Improvements performed with these configurations:&lt;br /&gt;
* General settings – fine adjustment of advanced settings of the email service&lt;br /&gt;
* Mail submission – mail submission service for end users, SMTP service for users/clients in ports 587, 465 and 2525&lt;br /&gt;
* IMAP proxy – proxy service of IMAP connections, which improves performance of clients' connections and forwarding between several servers&lt;br /&gt;
* AutoConfig, AutoDiscover – auto-configuration support service of email clients&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Scenarios =&lt;br /&gt;
These are adjusted accordingly to the standard scenarios, namely:&lt;br /&gt;
* Scenario 1 – single server – stand-alone – a single IPBrick.IC server, which will serve the accesses through LAN and/or internet&lt;br /&gt;
* Scenario 2 – Multi-server – several servers scenario, considering an IPBrick.I, where the email boxes are lodged, and an IPBrick.C, which will work as a front-end mail-relay, anti-virus and anti-spam for the internet&lt;br /&gt;
&lt;br /&gt;
== Scenario 1 – Single Server ==&lt;br /&gt;
Network diagram with a single server:&lt;br /&gt;
&lt;br /&gt;
[[File:sg30rc1_esquema_rede_stand_alone.png]]&lt;br /&gt;
&lt;br /&gt;
Ahead, we assume that IP network settings are:&lt;br /&gt;
* LAN IP (eth0): 192.168.69.199 (/24)&lt;br /&gt;
* Internet IP  (eth1): 10.0.0.253 (/24)&lt;br /&gt;
* in the LAN, the DNS server is secured by this server (srv-ipbrick01)&lt;br /&gt;
&lt;br /&gt;
== Scenario 2 – Multi-server ==&lt;br /&gt;
&lt;br /&gt;
Network diagram with several servers; for this exercise we assume two machines:&lt;br /&gt;
&lt;br /&gt;
[[File:sg30rc1_esquema_multi_servidor.png]]&lt;br /&gt;
&lt;br /&gt;
Ahead, we assume that IP configuration data are:&lt;br /&gt;
* srv-ipbrick01.domain.com&lt;br /&gt;
** LAN IP (eth0): 192.168.69.1 (/24)&lt;br /&gt;
* srv-ipbrick02.domain.com&lt;br /&gt;
** LAN IP (eth0): 192.168.69.254 (/24)&lt;br /&gt;
** Internet IP  (eth1): 10.0.0.253 (/24)&lt;br /&gt;
* in the LAN, the DNS server is secured by server srv-ipbrick01&lt;br /&gt;
&lt;br /&gt;
NOTE: In this scenario, the communications server  srv-ipbrick02 is configured as IPBRICK.CLIENTE of MASTER srv-ipbrick01.&lt;br /&gt;
&lt;br /&gt;
= General Settings =&lt;br /&gt;
Overall review of mail settings – lets analyse/review each setting and redefine the values according to the scenario. Presentation as provided by IPBrick's menu.&lt;br /&gt;
&lt;br /&gt;
== IPBrick.C – Email – Configuration ==&lt;br /&gt;
* Locally delivered domains – here it's necessary to refer the mail domains served by the organization, in this case “domain.com”, e the server itself (FQDN of the server, srv-ipbrick01.domain.com, and srv-ipbrick02.domain.com)&lt;br /&gt;
* Authorized domains for relay – refer the same domains that were mentioned in the previous item (locally delivered)&lt;br /&gt;
* Authorized networks for relay – adjust to get only and solely the IPs (/32) of the own servers; the users will connect to the intranet server to send will authentication, for example:&lt;br /&gt;
** Scenario 1 – single server&lt;br /&gt;
***  192.168.69.199 / 32 – Authorized without authentication&lt;br /&gt;
*** Other networks – Authorized with TLS authentication&lt;br /&gt;
** Scenario 2 – Multi-server&lt;br /&gt;
*** srv-ipbrick01&lt;br /&gt;
**** 192.168.69.1 / 32 - Authorized without authentication&lt;br /&gt;
*** Other networks – Authorized with TLS authentication&lt;br /&gt;
*** srv-ipbrick02&lt;br /&gt;
**** 192.168.69.1 / 32 - Authorized without authentication&lt;br /&gt;
**** 192.168.69.254 / 32 - Authorized without authentication&lt;br /&gt;
**** Other networks – Unauthorized&lt;br /&gt;
* SMTP routes – usually IPBrick server is prepared to send emails directly to the internet without having to use a relay server; however, in certain configurations, it may be necessary – in these scenarios we assume that we can send directly to the internet, and the configuration recommended here is:&lt;br /&gt;
** Scenario 1 – without SMTP routes defined&lt;br /&gt;
** Scenario 2 -  srv-ipbrick02 (communications) has no defined routes, only  srv-ipbrick01 has one route, namely:&lt;br /&gt;
*** Domain: this field stays empty (it represents all domains)&lt;br /&gt;
*** Server: srv-ipbrick02.domain.com&lt;br /&gt;
&lt;br /&gt;
== IPBrick.C – Email – Configure: Definitions ==&lt;br /&gt;
* Maximum size of a message – by default, it is unlimited, but we will define an example of message limit of 30 MB for attachments&lt;br /&gt;
** converter to bytes and adjust to base64 encoding (add 30%): 30 [MB] * 1024 [KB]&lt;br /&gt;
* 1024 [bytes] * 1,3 = 40894464 bytes&lt;br /&gt;
* Maximum waiting time in a queue – by default, 7 days (604800s); lets define it for 14400s (4h)&lt;br /&gt;
&lt;br /&gt;
= Mail submission – Submission for clients =&lt;/div&gt;</summary>
		<author><name>Dbabo</name></author>	</entry>

	</feed>