and you can fine-tune it to ridiculous levels, which in today's world are just not practical.
Yes, it have features for the past. Have you seen how big are the sources? Much more unpractical is to install bloat that do much less.
and you can fine-tune it to ridiculous levels, which in today's world are just not practical.
DNS: good experience withhttps://www.ovh.com
well ... the website of OVH. Its the largest hosting provider in Europe and owns the worlds largest datacenter surface area. I primarily did some testing with their infrastructure because they appeal to me and my idealism - they hosted wikileaks and are sponsoring letsencrypt. I was very satisfied with their performance, support and price ... and they have had a nice API before having an API was more or less standard.Whats that? The only information I get on that page is that they want my money, and lots of it. They don't even bother to make up a reason why.
Yes, ssmtp was what I meant when I wrote smtpd. It is a perfect drop-in replacement for Sendmail, not on par with Postfix though.Actually, the two statistics look remarkably similar. In the last 10 years, on average less than 1 vulnerability per year. I don't think I care what happened in the early 2000s, because I don't run a version from the early 2000s.
And actually, editing the sendmail.cf file is perfectly doable. I personally think that the M4 files are less readable, and you're better of using the m4 framework as a starting point, and then reading, understanding, and editing the .cf files instead. But clearly, sendmail is very hard to configure, because if relies heavily on the .cf language as an actual execution mechanism, not just a configuration mechanism. And that is what makes the .cf files so overwhelming, and complex looking: you're de-facto looking at the source code of sendmail here, and you can fine-tune it to ridiculous levels, which in today's world are just not practical. I mean, who would want to use the configuration for encapsulating uucp addresses over bitnet? While the .cf files are capable of doing that (BTDT), it is just not needed today.
Which leads me to my personal conclusion: I use neither postfix nor sendmail. I use a very simple MTA on my home server, namely ssmtp, which is minimally configured to send all mail to a real commercial mail host outside, done.
well ... the website of OVH.
Its the largest hosting provider in Europe
you can have a free account and use their DNS for free
Your ISP can do that for you.Thanks for the explanation.
I am actually quite bored about all those webpages that only tell you what kind of payment they want.
Never heard of. But that's maybe because I have no use for hosting, neither would I have money to pay for such.
I happen to have my own DNS, and wouldn't like to have someone else run it, free or not free.
The only thing I would be interested to obtain is reverse-resolving static IPs. And that's a more difficult thing, and seems only available in package with hosting.
Your ISP can do that for you.
How do manage you DNS entries?
Ok. Thanks. The closest I have got is setup a primary nameserver with NSD for a domain name outside GoDaddy's jurisdiction and a domain name seller wanting me to buy the Premium DNS manager like GoDaddy.Yes, they can, and that might actually work. But then at least they require a business account to do so, and probably a registered domain, so that should cost about 250€ extra per year.
Getting a very small hosting entity that does not much else than run a vpn server to move that IP to a place where I can use it, might be in a similar cost range.
So that is a bit of money, and what I do not have is spare money. Also the issue is not imminent, as currently I happen to have a static IP, but v4 only, and it appears not to be a very good one, i.e. routing my default traffic via that and then doing web shopping can lead to my credit card being blocked.
Currently not at all. Currently that DNS serves my intranet configurations and goes to the responsible servers for anything else. It is configured to do split-horizon, but currently there is no need to do so, and I use that only for some ad-blocking.
That cost seems excessive.Yes, they can, and that might actually work. But then at least they require a business account to do so, and probably a registered domain, so that should cost about 250€ extra per year.
I think this implementation is limited to a few services (in-house web hosting, VPN, maybe email and enter&tame&me(-nt) services all bound to one static IP address).That cost seems excessive.
My ISP connects my Internet router to a private enclave (10.x.x.x) and from there NATs my traffic to the Internet. I don't really have a choice, as my Internet connection options are somewhat limited (GPRS or Satellite).
I get a new IP address in the private enclave every time I have to re-dial the connection, and have no permanent presence on the Internet, but I can still get:
All I need for a permanent IPV4 presence on the Internet is to nail up a reverse ssh tunnel from my firewall to the VPS for each port I care to open (and open a port on the separate firewall provided with the VPS).
- a domain name and DNS services from namesilo for ~US$10/annum; and
- a cheap VPS with static IPv4 for ~US$30/annum (located in Sydney, which is the same city as the routers used by my ISP to connect to the Internet).
I have used Namesilo for domain and DNS services some years, and have zero complaints.
The VPS has only to carry network traffic, and can be sized accordingly.
I get all that for US$40 per annum.
I just found this -https://prefet.ch/blog/2020/email-server/.This is a million dollar question.
Given that you're just getting started, Sendmail might be a good start. Postfix is quite advanced. You can also take a look at OpenSMTPD.
That cost seems excessive.
I understand. But the cardinal question is: to what does that IP resolve in reverse, i.e.
host nn.nn.nn.nn
?Sure the VPS has one static IPV4 address, and as many services as you wish to attach to that address.I think this implementation is limited to a few services (in-house web hosting, VPN, maybe email and enter&tame&me(-nt) services all bound to one static IP address).
Additional IPV4 addresses are US$1.2/month each. You pay the money, you get the address. "Business" is not relevant. [There is a limit of 8 IPV4s per VPS.]If you need more than one IP, you will be paying $5 or so per each. An ISP would give you a block of 5 usable IPs for $10. And it doesn't ALWAYS have to be a business account to be qualified for it.
I expect that he reverse lookup zone file would need to be with the VPS provider (which has free DNS services).I understand. But the cardinal question is: to what does that IP resolve in reverse, i.e.host nn.nn.nn.nn
?
I expect that he reverse lookup zone file would need to be with the VPS provider (which has free DNS services).
So I am obliged to modify my claim and observe that "most of the DNS infrastructure can exist independently of everything else".
He would a dynamic dns service like noip2.That actually doesn't answer my question, and I am agreeing that DNS should be considered an independent service, where TCP/IP is in no way dependent on (while other services may be dependent on both).
But my question simply was: can you configure that reverse lookup to reflect Your actual domain?
The registered owner of the IP address block has control (delegation) of the reverse lookups for that "block", in the same way as the registered owner of a domain has control (delegation) of forward lookups for that domain.That actually doesn't answer my question, and I am agreeing that DNS should be considered an independent service, where TCP/IP is in no way dependent on (while other services may be dependent on both).
But my question simply was: can you configure that reverse lookup to reflect Your actual domain?
Maybe - but that's quite certainly not what I want.He would a dynamic dns service like noip2.
$ host forums.freebsd.org
forums.freebsd.org has address 204.109.59.195
$ host 204.109.59.195
Host 195.59.109.204.in-addr.arpa not found: 3(NXDOMAIN)
$ host mx1.freebsd.org
mx1.freebsd.org has address 96.47.72.80
host 96.47.72.80
80.72.47.96.in-addr.arpa domain name pointer mx1.freebsd.org.
Well, then you're just not one of the cool kids.Which leads me to my personal conclusion: I use neither postfix nor sendmail. I use a very simple MTA on my home server, namely ssmtp, which is minimally configured to send all mail to a real commercial mail host outside, done.
While it is true that the SMTP sender's static IP should have valid A, PTR and in addition TXT-DKIM entries, it is not at all necessary that this all belongs to the DNS zone for which you provide your mail service. Huge parts of today's mail traffic goes via mail relays, and not directly from end to end. And this won't work under the requirement that the A and the PTR should belong to the DNS zone of the originating sender.
Completely agreed (except for I have no idea whether it can be done with sendmail in a sane way, having abandoned sendmail a *long* time ago).Before queue means, the mail message was not yet dropped into my camp of responsibility, and I may block it and are done. After queue means, the message has landed, and it is my responsibility to do the right thing about it, i.e. either of forwarding it to the destined receivers or return it to its origin. Therefore, after-queue mail filtering would quickly become a PITA, since I want to do it correctly. Blocking a mail after queue without anything further is only acceptable if the server's admin is the only valid receiver of the system. Already in SOHO installations after-queue filtering would be subject of privacy regulations, while before-queue filtering would usually not come near to this one of the most ugliest of Pandora's Boxes.
While it is true that the SMTP sender's static IP should have valid A, PTR and in addition TXT-DKIM entries, it is not at all necessary that this all belongs to the DNS zone for which you provide your mail service. Huge parts of today's mail traffic goes via mail relays, and not directly from end to end. And this won't work under the requirement that the A and the PTR should belong to the DNS zone of the originating sender.
I don't see a need for an SPF record to *receive* mail. An MX pointing to a dynamic IP address will probably work quite well, but there are (minor) risks:For receiving mails, all this is not needed. You need valid MX and TXT-SPF records in your DNS zone and the MX might even point to the dynamic IPv4 or IPv6 address of the SMTPd in your home.
An MTA that is milter-capable instead notifies filters to which it is connected about each phase of the delivery of a message, from initial client connection through completion of transmission. At each phase of the SMTP session, the filter is given data about the arriving message and then has an opportunity to terminate acceptance of the message early when appropriate. For very large messages, this can have an enormous impact when a decision to reject can be made as early as possible.
Postfix implements support for the Sendmail version 8 Milter (mail filter) protocol. This protocol is used by applications that run outside the MTA to inspect SMTP events (CONNECT, DISCONNECT), SMTP commands (HELO, MAIL FROM, etc.) as well as mail content (headers and body). All this happens before mail is queued.