Re: [gentoo-user] Local mail server

2020-08-01 Thread Grant Taylor
On 7/31/20 12:01 PM, james wrote: yep, at least (2) static IPs. You can actually get away with one static IP. It's ill advised. But it will function. You can also have external 3rd party secondary DNS servers that pull from your (private) primary DNS server. You might even be able to

Re: [gentoo-user] Local mail server

2020-08-01 Thread Grant Taylor
On 7/31/20 1:39 PM, james wrote: I'd like to start with a basic list/brief description of these, please? They basically come down to two broad categories: 1) Have the ""static IP bound to an additional network interface on the destination system and leverage routing to get from clients to

Re: [gentoo-user] Local mail server

2020-07-31 Thread james
On 7/31/20 12:38 PM, Grant Taylor wrote: On 7/30/20 3:05 AM, antlists wrote: From what little I understand, IPv6 *enforces* CIDR. Are you talking about the lack of defined classes of network; A, B, C, D, E?? Or are you talking about hierarchical routing? There is no concept of a class of

Re: [gentoo-user] Local mail server

2020-07-31 Thread james
On 7/31/20 12:30 PM, Grant Taylor wrote: On 7/29/20 5:23 PM, james wrote: Free static IPs? Sure. Sign up with Hurricane Electric for an IPv6 in IPv4 tunnel and request that they route a /56 to you.? It's free.? #hazFun Great to know. I'll see what happens. Note:: here in the US, it may

Re: [gentoo-user] Local mail server

2020-07-31 Thread Grant Taylor
On 7/30/20 3:05 AM, antlists wrote: From what little I understand, IPv6 *enforces* CIDR. Are you talking about the lack of defined classes of network; A, B, C, D, E? Or are you talking about hierarchical routing? There is no concept of a class of network in IPv6. Hierarchical routing is a

Re: [gentoo-user] Local mail server

2020-07-31 Thread Grant Taylor
On 7/29/20 5:23 PM, james wrote: Free static IPs? Sure. Sign up with Hurricane Electric for an IPv6 in IPv4 tunnel and request that they route a /56 to you. It's free. #hazFun Note:: here in the US, it may be easier and better, to just purchase an assignment, that renders them yours.

Re: [gentoo-user] Local mail server

2020-07-30 Thread Ralph Seichter
* antli...@youngman.org.uk: > An ISP will then be allocated the next 16 bits, giving them a 32-bit > address space to allocate to their customers - each ISP will have an > address space the size of IPv4?! ISPs can ask for several address spaces, each of which had a much, *much* larger address

Re: [gentoo-user] Local mail server

2020-07-30 Thread antlists
On 30/07/2020 14:28, Remco Rijnders wrote: On Thu, Jul 30, 2020 at 01:48:05PM +0100, antlists wrote in : I don't think an ISP is supposed to allocate less ... I think your original message was open for multiple interpretations, or at least I read it as you saying there are 32 bit addresses the

Re: [gentoo-user] Local mail server

2020-07-30 Thread Remco Rijnders
On Thu, Jul 30, 2020 at 01:48:05PM +0100, antlists wrote in : I don't think an ISP is supposed to allocate less ... I think your original message was open for multiple interpretations, or at least I read it as you saying there are 32 bit addresses the ISP allocates from. I now see the

Re: [gentoo-user] Local mail server

2020-07-30 Thread antlists
On 30/07/2020 12:13, Remco Rijnders wrote: An IPv6 address is 128 bits in length. Usually an ISP allocates 64 bits to a single customer, allowing the systems on/behind that connection to automatically assign themselves an address based on their MAC address for example. Note that also allocations

Re: [gentoo-user] Local mail server

2020-07-30 Thread Remco Rijnders
Point is though, with IPv6 addresses are no longer a scarce commodity. The cost to an ISP to give you one IPv6 address (/128) is just the same as given you enough room for your own IPv4 internet (/64). Oops, brain freeze. A /64 gives you enough room for an IPv4 internet of IPv4 networks as IPv4

Re: [gentoo-user] Local mail server

2020-07-30 Thread Remco Rijnders
On Thu, Jul 30, 2020 at 10:05:46AM +0100, antlists wrote in : From what little I understand, IPv6 *enforces* CIDR. So, of the 64 network bits, maybe the first 16 bits are allocated to each high level allocator eg RIPE, ARIN etc. An ISP will then be allocated the next 16 bits, giving them a

Re: [gentoo-user] Local mail server

2020-07-30 Thread antlists
On 30/07/2020 00:23, james wrote: Very, Very interested in this thread. Another quesiton. If you have (2) blocks of IP6 address, can you use BGP4 (RFC 1771, 4271, 4632, 5678,5936 6198 etc ) and other RFC based standards  to manage routing and such multipath needs? Who enforces what carriers

Re: [gentoo-user] Local mail server

2020-07-29 Thread james
On 7/29/20 5:20 AM, Wols Lists wrote: On 29/07/20 00:11, james wrote: On 7/28/20 12:10 PM, Wols Lists wrote: On 28/07/20 16:01, james wrote: (2) DNS resolvers, (?) mail-servers for a robust mail system that "I" admin, and (1) internet facing web server and (1) internal only facing or limited

Re: [gentoo-user] Local mail server

2020-07-29 Thread Wols Lists
On 29/07/20 00:11, james wrote: > On 7/28/20 12:10 PM, Wols Lists wrote: >> On 28/07/20 16:01, james wrote: >>> (2) DNS resolvers, (?) mail-servers for a robust mail system that "I" >>> admin, and (1) internet facing web server and (1) internal only facing >>> or limited outward facing Web server

Re: [gentoo-user] Local mail server

2020-07-29 Thread Wols Lists
On 29/07/20 00:18, james wrote: > It's the bandwidth provider's policy. Static IPs (4 or 6) requires a > monthly fee. If you know a way around this, with full privileges one > gets with static IP addresses, I'm all ears.? ? I can understand a fee for a static IP4 - they've run out, after

Re: [gentoo-user] Local mail server

2020-07-28 Thread Grant Taylor
On 7/28/20 5:18 PM, james wrote: If you know a way around this, with full privileges one gets with static IP addresses, I'm all ears.? A hack that I see used is to pick up a small VPS for a nominal monthly fee and establish a VPN to it. Have it's IP (and ports) directed through the VPN

Re: [gentoo-user] Local mail server

2020-07-28 Thread james
On 7/28/20 12:05 PM, Wols Lists wrote: On 28/07/20 16:01, james wrote: (2) DNS resolvers, (?) mail-servers for a robust mail system that "I" admin, and (1) internet facing web server and (1) internal only facing or limited outward facing Web server for development and security based testing.

Re: [gentoo-user] Local mail server

2020-07-28 Thread james
On 7/28/20 12:10 PM, Wols Lists wrote: On 28/07/20 16:01, james wrote: (2) DNS resolvers, (?) mail-servers for a robust mail system that "I" admin, and (1) internet facing web server and (1) internal only facing or limited outward facing Web server for development and security based testing.

Re: [gentoo-user] Local mail server

2020-07-28 Thread Wols Lists
On 28/07/20 16:01, james wrote: > (2) DNS resolvers, (?) mail-servers for a robust mail system that "I" > admin, and (1) internet facing web server and (1) internal only facing > or limited outward facing Web server for development and security based > testing. Static IP are basically $5/month

Re: [gentoo-user] Local mail server

2020-07-28 Thread james
On 7/28/20 4:23 AM, Peter Humphrey wrote: On Monday, 27 July 2020 22:10:59 BST james wrote: I just ran across this document. I hope you find it relevant to your mail issues. https://bridge.grumpy-troll.org/2020/07/small-mailserver-bcp/ Small Mailserver Best Current Practices Thank you

Re: [gentoo-user] Local mail server

2020-07-28 Thread Peter Humphrey
On Monday, 27 July 2020 22:10:59 BST james wrote: > I just ran across this document. I hope you find it relevant to your > mail issues. > > https://bridge.grumpy-troll.org/2020/07/small-mailserver-bcp/ > > Small Mailserver Best Current Practices Thank you James. I seem to have fixed my

Re: [gentoo-user] Local mail server

2020-07-27 Thread james
On 7/25/20 8:09 AM, Peter Humphrey wrote: On Sunday, 19 July 2020 15:18:32 BST I wrote: I think I'm nearly there, but still one config problem eludes me. The setup is fetchmail > postfix > dovecot. Postfix is trying to deliver some mail (not all) to me@this-workstation instead of to its own

Re: [gentoo-user] Local mail server

2020-07-25 Thread Peter Humphrey
On Sunday, 19 July 2020 15:18:32 BST I wrote: I think I'm nearly there, but still one config problem eludes me. The setup is fetchmail > postfix > dovecot. Postfix is trying to deliver some mail (not all) to me@this-workstation instead of to its own machine, and I can't see why. I've tried a

Re: [gentoo-user] Local mail server

2020-07-21 Thread Peter Humphrey
On Monday, 20 July 2020 18:25:28 BST Michael Orlitzky wrote: > On 2020-07-20 12:39, antlists wrote: > > On 20/07/2020 15:55, Peter Humphrey wrote: > >> fatal: in parameter smtpd_relay_restrictions or > >> smtpd_recipient_restrictions, specify at least one working instance of: > >>

Re: [gentoo-user] Local mail server

2020-07-20 Thread William Kenworthy
I have used "https://wiki.gentoo.org/wiki/Mailfiltering_Gateway/en; or variations of for many years - currently on an lxc instance on a low power arm server.  Handles 1-200 emails (including spam) a day with potentially up to quite a few thousand.  I am using the configuration without mysql etc. 

Re: [gentoo-user] Local mail server

2020-07-20 Thread Michael Orlitzky
On 2020-07-20 12:39, antlists wrote: > On 20/07/2020 15:55, Peter Humphrey wrote: >> fatal: in parameter smtpd_relay_restrictions or smtpd_recipient_restrictions, >> specify at least one working instance of: reject_unauth_destination, >> defer_unauth_destination, reject, defer, defer_if_permit or

Re: [gentoo-user] Local mail server

2020-07-20 Thread antlists
On 20/07/2020 15:55, Peter Humphrey wrote: fatal: in parameter smtpd_relay_restrictions or smtpd_recipient_restrictions, specify at least one working instance of: reject_unauth_destination, defer_unauth_destination, reject, defer, defer_if_permit or check_relay_domains Which of those

Re: [gentoo-user] Local mail server

2020-07-20 Thread Peter Humphrey
On Monday, 20 July 2020 12:33:50 BST Neil Bothwick wrote: > I use Postfix for SMTP, Dovecot for IMAP and getmail to fetch mail from a > POP3 account (other mail is delivered directory to Postfix). That's what I want to use, except for fetchmail instead of getmail. I'm taking the suggestions in

Re: [gentoo-user] Local mail server

2020-07-20 Thread Neil Bothwick
On Sun, 19 Jul 2020 15:18:32 +0100, Peter Humphrey wrote: > I used to have a working system on a box that's now deceased [1], but > in replicating it I'm having difficulty threading my way through the > mutually inconsistent Gentoo mail server docs, omitting the bits I > don't need and

Re: [gentoo-user] Local mail server

2020-07-19 Thread Grant Taylor
On 7/19/20 8:18 AM, Peter Humphrey wrote: Afternoon all, Hi, I'd like to set up a little box to be a local mail server. It would receive mails from other machines on the LAN, and it would fetch POP3 mail from my ISP and IMAP mail from google mail. KMail on my workstation would then read

Re: [gentoo-user] Local mail server

2020-07-19 Thread Petric Frank
Am Sonntag, 19. Juli 2020, 16:18:32 CEST schrieb Peter Humphrey: > Afternoon all, > > I'd like to set up a little box to be a local mail server. It would receive > mails from other machines on the LAN, and it would fetch POP3 mail from my > ISP and IMAP mail from google mail. For me this was a

Re: [gentoo-user] Local mail server

2020-07-19 Thread Steven Lembark
Dovecot works well enough, catch is that it has some security issues. My fix is to have it run on localhost and ssh tunnel local ports into 143 & 25 on the in-house server. At that point postfix + dovecot work fine for me. -- Steven Lembark Workhorse Computing lemb...@wrkhors.com +1 888 359

Re: [gentoo-user] Local mail server

2020-07-19 Thread Michael
On Sunday, 19 July 2020 16:48:29 BST antlists wrote: > On 19/07/2020 15:18, Peter Humphrey wrote: > > So I'm asking what systems other people use. I can't be unusual in what I > > want, so there must be lots of solutions out there somewhere. Would anyone > > like to offer me some advice? > >

Re: [gentoo-user] Local mail server

2020-07-19 Thread antlists
On 19/07/2020 15:18, Peter Humphrey wrote: So I'm asking what systems other people use. I can't be unusual in what I want, so there must be lots of solutions out there somewhere. Would anyone like to offer me some advice? Doing my best to remember my setup ... Running postfix as my mail

[gentoo-user] Local mail server

2020-07-19 Thread Peter Humphrey
Afternoon all, I'd like to set up a little box to be a local mail server. It would receive mails from other machines on the LAN, and it would fetch POP3 mail from my ISP and IMAP mail from google mail. KMail on my workstation would then read the mails via IMAP. That's all. I might want to add