Gentoo Archives: gentoo-user

From: james <garftd@×××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Local mail server
Date: Mon, 27 Jul 2020 21:11:12
Message-Id: 53f78d87-cc1c-5665-196c-d53456aef7e5@verizon.net
In Reply to: Re: [gentoo-user] Local mail server by Peter Humphrey
1 On 7/25/20 8:09 AM, Peter Humphrey wrote:
2 > On Sunday, 19 July 2020 15:18:32 BST I wrote:
3 >
4 > <snipped>
5 >
6 > I think I'm nearly there, but still one config problem eludes me.
7 >
8 > The setup is fetchmail > postfix > dovecot.
9 >
10 > Postfix is trying to deliver some mail (not all) to me@this-workstation instead
11 > of to its own machine, and I can't see why. I've tried a couple of relay-host
12 > settings, but then I just get "warning: relayhost configuration problem" in the
13 > log, so relay-host is now back to its default value.
14 >
15 > Here's an excerpt from main.cf:
16 >
17 > myhostname = serv.<my.local.domain>
18 > mydomain = <my.local.domain>
19 > mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
20 >
21 > I've tried omitting $mydomain from that last line, but it didn't help.
22 >
23 > Can anyone see what I'm missing? (More of main.cf if needed.)
24
25 Hello Peter,
26
27 I just ran across this document. I hope you find it relevant to your
28 mail issues.
29
30
31 https://bridge.grumpy-troll.org/2020/07/small-mailserver-bcp/
32
33 Small Mailserver Best Current Practices
34
35
36 James

Replies

Subject Author
Re: [gentoo-user] Local mail server Peter Humphrey <peter@××××××××××××.uk>