Gentoo Archives: gentoo-user

From: "J. Roeleveld" <joost@××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Alternate Incoming Mail Server
Date: Mon, 06 Apr 2020 15:24:15
Message-Id: AA0C2213-15E7-40DC-A71E-7B0697CA4B26@antarean.org
In Reply to: [gentoo-user] Alternate Incoming Mail Server by Ashley Dixon
1 On 6 April 2020 14:35:04 CEST, Ashley Dixon <ash@××××××××××.uk> wrote:
2 >Hello,
3 >
4 >After many hours of confusing mixtures of pain and pleasure, I have a
5 >secure and
6 >well-behaved e-mail server which encompasses all the features I
7 >originally
8 >desired. However, in the event that I need to reboot the server
9 >(perhaps a
10 >kernel update was added to Portage), I would like to have a miniature
11 >mail
12 >server which catches incoming mail if, and only if, my primary server
13 >is down.
14 >
15 >I have Gentoo installation on an old Raspberry Pi (model B+), and was
16 >curious if
17 >such a set-up was possible ? I also want the solution to be as minimal
18 >as
19 >possible. I see the problem as three parts:
20 >
21 >(a) Convincing the D.N.S.\ and my router to redirect mail to the
22 >alternate
23 > server, should the default one not be reachable;
24 >
25 >(b) Creating the alternate mail server to be as lightweight as
26 >possible. I'm
27 >not even sure if I need an S.M.T.P.\ server (postfix). Would
28 >courier-imap do
29 > the trick on its own (with courier-authlib and mysql) ?
30 >
31 >(c) Moving mail from the alternate server to the main server once the
32 >latter
33 >has regained conciousness. I realise this is a slightly different
34 >problem, and
35 >is not even necessarily _required_ for operation, although it's
36 >certainly a
37 > nice-to-have.
38 >
39 >What do you think; is this at all possible ? Has anyone here done
40 >anything like
41 >this before ?
42 >
43 >Thanks in advance.
44
45 You'd need to install a SMTP server on the backup system and configure it to relay emails to your primary mailserver.
46
47 In the DNS you can configure priorities in the MX entries.
48
49 --
50 Joost
51 --
52 Sent from my Android device with K-9 Mail. Please excuse my brevity.

Replies

Subject Author
Re: [gentoo-user] Alternate Incoming Mail Server Ashley Dixon <ash@××××××××××.uk>