Thanks for the hint Todd.
I've replaced it with:
smtp_dns_support_level = disabled
and it's still working as expected.
---
Adam
On 15/07/2024 18:49, Todd Zullinger wrote:
It's probably worth noting that `disable_dns_lookups` has
been deprecated for a long time. The postconf(5) man page
sa
My intention was to send emails to a single domain with any other email
traffic being disabled.
In order to achieve this I considered smart host, dnsmasq and even bind9.
The 3-liner solution that I've found seems the simplest, least intrusive
and appears to be working fine.
On 16/07/2024 01
On 15/07/2024 20:00, Adam Weremczuk wrote:
- ability to fetch a single MX record for a single domain
I assume that you are not trying to achieve "smart host" configuration
for sending mail.
Perhaps you can run a dedicated dnsmasq instance with no upstream DNS
servers. Option that might help
Hi,
On Mon, Jul 15, 2024 at 09:55:06PM +0800, Jeff Pang wrote:
>
> >
> > I get:
> >
> > 0A032940922 657 Mon Jul 15 14:40:01 user1@mymachine
> > (Host or domain name not found. Name service error for name=example.com
> > type=MX: Host not found, try again)
>
> Any SMTP client which does no
Adam Weremczuk wrote:
> I'm using Postfix and this all that was needed:
>
> /etc/hosts
> 1.2.3.4 example.com
>
> /etc/postfix/main.cf
> disable_dns_lookups = yes
> smtp_host_lookup = native
It's probably worth noting that `disable_dns_lookups` has
been deprecated for a long time. The post
I'm using Postfix and this all that was needed:
/etc/hosts
1.2.3.4 example.com
/etc/postfix/main.cf
disable_dns_lookups = yes
smtp_host_lookup = native
On Mon, Jul 15, 2024 at 14:49:21 +0100, Adam Weremczuk wrote:
> I want to achieve the first objective and the values are static.
> I just hoped there is a one liner hack (like A records in /etc/hosts) to
> achieve this vs reconfiguring my MTA.
Routing Internet email in the absence of functioning D
I get:
0A032940922 657 Mon Jul 15 14:40:01 user1@mymachine
(Host or domain name not found. Name service error for name=example.com
type=MX: Host not found, try again)
Any SMTP client which does not fall back to the A record when no MX
records exists is fundamentally broken.
--
Je
I didn’t test it but no MX was found then local MTA should try A record
for delivery.
As a proof that safe-mail.net has no mx but A record only.
Regards
On 2024-07-15 21:45, Adam Weremczuk wrote:
It doesn't work.
mail.example.com record doesn't exist to start with.
Even if I add:
1.2.3.4
I want to achieve the first objective and the values are static.
I just hoped there is a one liner hack (like A records in /etc/hosts) to
achieve this vs reconfiguring my MTA.
On 15/07/2024 14:33, Greg Wooledge wrote:
On Mon, Jul 15, 2024 at 14:00:03 +0100, Adam Weremczuk wrote:
What I need
It doesn't work.
mail.example.com record doesn't exist to start with.
Even if I add:
1.2.3.4 example.com
5.6.7.8 mail.example.com
to /etc/hosts
I get:
0A032940922 657 Mon Jul 15 14:40:01 user1@mymachine
(Host or domain name not found. Name service error for name=example.com
type=MX: Ho
On Mon, Jul 15, 2024 at 14:00:03 +0100, Adam Weremczuk wrote:
> What I need to configure for my Debian 12 VM:
> - no public or LAN DNS whatsoever
> - ability to fetch a single MX record for a single domain
>
> I don't think I can add MX to /etc/hosts which only works for A records.
>
> I'm after
Given you want to send mail to foo.com whose mx record is mail.foo.com
whose IP is 1.2.3.4
Then write this entry in hosts file:
1.2.3.4 foo.com
Which should work for sending mail.
Regards
On 2024-07-15 21:00, Adam Weremczuk wrote:
What I need to configure for my Debian 12 VM:
- no public
What I need to configure for my Debian 12 VM:
- no public or LAN DNS whatsoever
- ability to fetch a single MX record for a single domain
I don't think I can add MX to /etc/hosts which only works for A records.
I'm after a similarly simple, "one liner" solution.
---
Adam
14 matches
Mail list logo