Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

An algorithm must be seen to be believed. -- D. E. Knuth


computers / comp.mail.sendmail / Re: Accepting emails without name resolution of incoming host.

SubjectAuthor
* Accepting emails without name resolution of incoming host.markr...@gmail.com
`* Re: Accepting emails without name resolution of incoming host.Claus Aßmann
 `* Re: Accepting emails without name resolution of incoming host.markr...@gmail.com
  `- Re: Accepting emails without name resolution of incoming host.markr...@gmail.com

1
Accepting emails without name resolution of incoming host.

<959130d2-b039-4d0b-b698-8058ea48135dn@googlegroups.com>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=738&group=comp.mail.sendmail#738

 copy link   Newsgroups: comp.mail.sendmail
X-Received: by 2002:ac8:4e88:0:b0:3f9:b63d:1bd8 with SMTP id 8-20020ac84e88000000b003f9b63d1bd8mr3229193qtp.13.1686582431066;
Mon, 12 Jun 2023 08:07:11 -0700 (PDT)
X-Received: by 2002:a05:6214:1933:b0:62d:f295:7cf3 with SMTP id
es19-20020a056214193300b0062df2957cf3mr94414qvb.13.1686582430748; Mon, 12 Jun
2023 08:07:10 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.mail.sendmail
Date: Mon, 12 Jun 2023 08:07:10 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=209.6.28.22; posting-account=W1NlGgoAAABT7cu0nJ0MQR1GnY0NxRye
NNTP-Posting-Host: 209.6.28.22
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <959130d2-b039-4d0b-b698-8058ea48135dn@googlegroups.com>
Subject: Accepting emails without name resolution of incoming host.
From: markrlon...@gmail.com (markr...@gmail.com)
Injection-Date: Mon, 12 Jun 2023 15:07:11 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1828
 by: markr...@gmail.com - Mon, 12 Jun 2023 15:07 UTC

Hi - I'm setting up a brand new sendmail server.

I thought that FEATURE(`accept_unresolvable_domains') would accept any email. Not so.

Some emails were still getting stuck. For example, emails from mail.easyspirit.com, which doesn't resolve. Error message in my log shows:

Jun 10 08:54:08 psfcmail2 sm-mta[59026]: 35ACrYZS059024: to=<XX@PSFC.MIT.EDU> ... relay=localhost, dsn=4.4.2, stat=Deferred: Name server: localhost: host name lookup failure

I found online that FEATURE(`nocanonify') could help. I'm not clear on what this does, but it helped. Why???

Because it broke a special virtualtable configuration that I use. I can't explain that, because I don't understand that either. But I'll include that in another message, if necessary. Thanks.

Thanks for any help. - Mark

Re: Accepting emails without name resolution of incoming host.

<u67nre$edn$1@news.misty.com>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=739&group=comp.mail.sendmail#739

 copy link   Newsgroups: comp.mail.sendmail
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!.POSTED.veps.esmtp.org!not-for-mail
From: INVALID_...@esmtp.org (Claus Aßmann)
Newsgroups: comp.mail.sendmail
Subject: Re: Accepting emails without name resolution of incoming host.
Date: Mon, 12 Jun 2023 14:23:42 -0400 (EDT)
Organization: MGT Consulting
Sender: <ml+sendmail(-no-copies-please)@esmtp.org>
Message-ID: <u67nre$edn$1@news.misty.com>
References: <959130d2-b039-4d0b-b698-8058ea48135dn@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 12 Jun 2023 18:23:42 -0000 (UTC)
Injection-Info: news.misty.com; posting-host="veps.esmtp.org:155.138.203.148";
logging-data="14775"; mail-complaints-to="abuse@misty.com"
Mail-Copies-To: never
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: ca@x2.esmtp.org (Claus Assmann)
 by: Claus Aßmann - Mon, 12 Jun 2023 18:23 UTC

markr...@gmail.com wrote:

> I thought that FEATURE(`accept_unresolvable_domains') would accept any
> email. Not so.

It does what the fine documentation claims...
Normally, MAIL FROM: commands in the SMTP session will be
refused if the host part of the argument to MAIL FROM:
cannot be located in the host name service (e.g., an A or
MX record in DNS).

> Some emails were still getting stuck. For example, emails from
> mail.easyspirit.com, which doesn't resolve. Error message in my log
> shows:

> Jun 10 08:54:08 psfcmail2 sm-mta[59026]: 35ACrYZS059024:
> to=<XX@PSFC.MIT.EDU> ... relay=localhost, dsn=4.4.2, stat=Deferred:
> Name server: localhost: host name lookup failure
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

That does not say anything about mail.easyspirit.com

The error message clearly states what is wrong:
your system is broken - it can't even look up "localhost".
If you don't have a way to fix this in DNS or /etc/hosts
(or you have some of those $#%^Q@^ systemd options...)
then use [127.0.0.1] instead of localhost.

BTW: are you sure your routing of <XX@PSFC.MIT.EDU> is correct?

--
Note: please read the netiquette before posting. I will almost never
reply to top-postings which include a full copy of the previous
article(s) at the end because it's annoying, shows that the poster
is too lazy to trim his article, and it's wasting the time of all readers.

Re: Accepting emails without name resolution of incoming host.

<5edb5c0c-c843-4bcc-bc5a-c3a791ebede4n@googlegroups.com>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=742&group=comp.mail.sendmail#742

 copy link   Newsgroups: comp.mail.sendmail
X-Received: by 2002:ac8:59ce:0:b0:3f3:9062:4a72 with SMTP id f14-20020ac859ce000000b003f390624a72mr3371226qtf.4.1686600034651;
Mon, 12 Jun 2023 13:00:34 -0700 (PDT)
X-Received: by 2002:a37:74a:0:b0:74e:2de8:c802 with SMTP id
71-20020a37074a000000b0074e2de8c802mr1507520qkh.9.1686600034415; Mon, 12 Jun
2023 13:00:34 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!1.us.feeder.erje.net!3.us.feeder.erje.net!feeder.erje.net!border-1.nntp.ord.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.mail.sendmail
Date: Mon, 12 Jun 2023 13:00:34 -0700 (PDT)
In-Reply-To: <u67nre$edn$1@news.misty.com>
Injection-Info: google-groups.googlegroups.com; posting-host=209.6.28.22; posting-account=W1NlGgoAAABT7cu0nJ0MQR1GnY0NxRye
NNTP-Posting-Host: 209.6.28.22
References: <959130d2-b039-4d0b-b698-8058ea48135dn@googlegroups.com> <u67nre$edn$1@news.misty.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <5edb5c0c-c843-4bcc-bc5a-c3a791ebede4n@googlegroups.com>
Subject: Re: Accepting emails without name resolution of incoming host.
From: markrlon...@gmail.com (markr...@gmail.com)
Injection-Date: Mon, 12 Jun 2023 20:00:34 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 73
 by: markr...@gmail.com - Mon, 12 Jun 2023 20:00 UTC

I did some more searching. accept_unresolvable_domains only applies to the MAIL FROM address in SMTP, Not the From: address in the actual email address. A subtle difference that has tripped people up:

https://forums.freebsd.org/threads/sendmail-throwing-aaa-bbb-deferred-name-server-xxx-host-name-lookup-failure.70549/ So they recommend the nocanonify feature.

But I don't know why when I turn that on, it breaks my virtualtable rule. It's some sort of hack that I don't understand, for mailman 3 to talk to sendmail using LMTP., which is above my pay level.

I get error messages >>> RCPT To <foo@list.psfc.mit.edu.private> <<< 550 Requested action not taken: mailbox unavailable 550 5.1.1 <foo@list.psfc.mit..edu>... User unknown I need to look at this more.

virtualtable:

@lists.psfc.mit.edu %1%3@list.psfc.mit.edu.private

mailertable:
list.psfc.mit.edu.private mm3lmtp:[localhost]

Then in sendmail.mc, I need this rule, for Mailman 3 to talk to sendmail.

MAILER_DEFINITIONS
Mmm3lmtp, P=[IPC], F=PSXmnz9, S=EnvFromSMTP/HdrFromSMTP,
R=EnvToMM3, E=\r\n, L=1024,
A=TCP $h 8024

LOCAL_RULESETS
SEnvToMM3
R$+ $: $>EnvToSMTP $1
R$+ < @ list . psfc . mit . edu . private > $* $: $1 < @ list . psfc . mit .. edu . > $2

On Monday, June 12, 2023 at 2:23:45 PM UTC-4, Claus Aßmann wrote:
> markr...@gmail.com wrote:
>
> > I thought that FEATURE(`accept_unresolvable_domains') would accept any
> > email. Not so.
> It does what the fine documentation claims...
> Normally, MAIL FROM: commands in the SMTP session will be
> refused if the host part of the argument to MAIL FROM:
> cannot be located in the host name service (e.g., an A or
> MX record in DNS).
> > Some emails were still getting stuck. For example, emails from
> > mail.easyspirit.com, which doesn't resolve. Error message in my log
> > shows:
>
> > Jun 10 08:54:08 psfcmail2 sm-mta[59026]: 35ACrYZS059024:
> > to=<X...@PSFC.MIT.EDU> ... relay=localhost, dsn=4.4.2, stat=Deferred:
> > Name server: localhost: host name lookup failure
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
> That does not say anything about mail.easyspirit.com
>
> The error message clearly states what is wrong:
> your system is broken - it can't even look up "localhost".
> If you don't have a way to fix this in DNS or /etc/hosts
> (or you have some of those $#%^Q@^ systemd options...)
> then use [127.0.0.1] instead of localhost.
>
> BTW: are you sure your routing of <X...@PSFC.MIT.EDU> is correct?
>
> --
> Note: please read the netiquette before posting. I will almost never
> reply to top-postings which include a full copy of the previous
> article(s) at the end because it's annoying, shows that the poster
> is too lazy to trim his article, and it's wasting the time of all readers..

Re: Accepting emails without name resolution of incoming host.

<c0c4dddb-9f37-4a70-b697-9baf80719602n@googlegroups.com>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=746&group=comp.mail.sendmail#746

 copy link   Newsgroups: comp.mail.sendmail
X-Received: by 2002:a37:4607:0:b0:760:8f5a:e927 with SMTP id t7-20020a374607000000b007608f5ae927mr706520qka.6.1686635675031;
Mon, 12 Jun 2023 22:54:35 -0700 (PDT)
X-Received: by 2002:ac8:5ac9:0:b0:3f8:6bf6:7407 with SMTP id
d9-20020ac85ac9000000b003f86bf67407mr3783861qtd.11.1686635674779; Mon, 12 Jun
2023 22:54:34 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.mail.sendmail
Date: Mon, 12 Jun 2023 22:54:34 -0700 (PDT)
In-Reply-To: <5edb5c0c-c843-4bcc-bc5a-c3a791ebede4n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=209.6.28.22; posting-account=W1NlGgoAAABT7cu0nJ0MQR1GnY0NxRye
NNTP-Posting-Host: 209.6.28.22
References: <959130d2-b039-4d0b-b698-8058ea48135dn@googlegroups.com>
<u67nre$edn$1@news.misty.com> <5edb5c0c-c843-4bcc-bc5a-c3a791ebede4n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <c0c4dddb-9f37-4a70-b697-9baf80719602n@googlegroups.com>
Subject: Re: Accepting emails without name resolution of incoming host.
From: markrlon...@gmail.com (markr...@gmail.com)
Injection-Date: Tue, 13 Jun 2023 05:54:35 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 4730
 by: markr...@gmail.com - Tue, 13 Jun 2023 05:54 UTC

I found my solution. I had to use this command to add my virtualtable hosts. to be domains I wanted canonified,.

Why is everything so hard~

CANONIFY_DOMAIN(`list of domains')

On Monday, June 12, 2023 at 4:00:35 PM UTC-4, markr...@gmail.com wrote:
> I did some more searching. accept_unresolvable_domains only applies to the MAIL FROM address in SMTP, Not the From: address in the actual email address. A subtle difference that has tripped people up:
>
> https://forums.freebsd.org/threads/sendmail-throwing-aaa-bbb-deferred-name-server-xxx-host-name-lookup-failure.70549/ So they recommend the nocanonify feature.
>
> But I don't know why when I turn that on, it breaks my virtualtable rule. It's some sort of hack that I don't understand, for mailman 3 to talk to sendmail using LMTP., which is above my pay level.
>
> I get error messages >>> RCPT To <f...@list.psfc.mit.edu.private> <<< 550 Requested action not taken: mailbox unavailable 550 5.1.1 <f...@list.psfc.mit.edu>... User unknown I need to look at this more.
>
> virtualtable:
>
> @lists.psfc.mit.edu %1%3...@list.psfc.mit.edu.private
>
> mailertable:
> list.psfc.mit.edu.private mm3lmtp:[localhost]
>
> Then in sendmail.mc, I need this rule, for Mailman 3 to talk to sendmail.
>
> MAILER_DEFINITIONS
> Mmm3lmtp, P=[IPC], F=PSXmnz9, S=EnvFromSMTP/HdrFromSMTP,
> R=EnvToMM3, E=\r\n, L=1024,
> A=TCP $h 8024
>
> LOCAL_RULESETS
> SEnvToMM3
> R$+ $: $>EnvToSMTP $1
> R$+ < @ list . psfc . mit . edu . private > $* $: $1 < @ list . psfc . mit . edu . > $2
> On Monday, June 12, 2023 at 2:23:45 PM UTC-4, Claus Aßmann wrote:
> > markr...@gmail.com wrote:
> >
> > > I thought that FEATURE(`accept_unresolvable_domains') would accept any
> > > email. Not so.
> > It does what the fine documentation claims...
> > Normally, MAIL FROM: commands in the SMTP session will be
> > refused if the host part of the argument to MAIL FROM:
> > cannot be located in the host name service (e.g., an A or
> > MX record in DNS).
> > > Some emails were still getting stuck. For example, emails from
> > > mail.easyspirit.com, which doesn't resolve. Error message in my log
> > > shows:
> >
> > > Jun 10 08:54:08 psfcmail2 sm-mta[59026]: 35ACrYZS059024:
> > > to=<X...@PSFC.MIT.EDU> ... relay=localhost, dsn=4.4.2, stat=Deferred:
> > > Name server: localhost: host name lookup failure
> > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> >
> > That does not say anything about mail.easyspirit.com
> >
> > The error message clearly states what is wrong:
> > your system is broken - it can't even look up "localhost".
> > If you don't have a way to fix this in DNS or /etc/hosts
> > (or you have some of those $#%^Q@^ systemd options...)
> > then use [127.0.0.1] instead of localhost.
> >
> > BTW: are you sure your routing of <X...@PSFC.MIT.EDU> is correct?
> >
> > --
> > Note: please read the netiquette before posting. I will almost never
> > reply to top-postings which include a full copy of the previous
> > article(s) at the end because it's annoying, shows that the poster
> > is too lazy to trim his article, and it's wasting the time of all readers.

1
server_pubkey.txt

rocksolid light 0.9.7
clearnet tor