Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

The sum of the Universe is zero.


computers / comp.mail.sendmail / Access DB and CNAMEs

SubjectAuthor
* Access DB and CNAMEsAristidis G. Fesarlis
+* Re: Access DB and CNAMEsClaus Aßmann
|`- Re: Access DB and CNAMEsAristidis G. Fesarlis
`* Re: Access DB and CNAMEsClaus Aßmann
 `* Re: Access DB and CNAMEsAristidis G. Fesarlis
  `* Re: Access DB and CNAMEsAristidis G. Fesarlis
   `- Re: Access DB and CNAMEsClaus Aßmann

1
Access DB and CNAMEs

<snnlq0$1i6e$1@gioia.aioe.org>

  copy mid

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

  copy link   Newsgroups: comp.mail.sendmail
Path: i2pn2.org!i2pn.org!aioe.org!UIfZEeRQfMGfUsjzHEJJkA.user.46.165.242.75.POSTED!not-for-mail
From: fesarlis@gmail.com (Aristidis G. Fesarlis)
Newsgroups: comp.mail.sendmail
Subject: Access DB and CNAMEs
Date: Thu, 25 Nov 2021 11:40:24 +0200
Organization: Aioe.org NNTP Server
Message-ID: <snnlq0$1i6e$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: gioia.aioe.org; logging-data="51406"; posting-host="UIfZEeRQfMGfUsjzHEJJkA.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:60.0) Gecko/20100101
Thunderbird/60.9.1
Content-Language: en-US
X-Notice: Filtered by postfilter v. 0.9.2
X-Mozilla-News-Host: snews://nntp.aioe.org:563
 by: Aristidis G. Fesarli - Thu, 25 Nov 2021 09:40 UTC

Hello,
I maintain an access DB and recently I've had issues with rejected
incoming messages. After examining the issue, I have pinpointed the
problem. It was caused by a hostname included in the database which is
actually a CNAME to another domain. In particular:

em9713.email.wetransfer.com is a CNAME to u922094.wl095.sengrid.net

In my case domain sendgrid.net is blacklisted. However the log does not
clarify this:

> Nov 25 09:27:30 srv02 sendmail[28382]: 1AP7RRup028382: ruleset=check_mail, arg1=<bounces+922094-f85e-user=domain.com@em9713.email.wetransfer.com>, relay=o1.email.wetransfer.com [192.254.117.71], reject=550 5.7.1 <bounces+922094-f85e-user=domain.com@em9713.email.wetransfer.com>... Access denied

Therefore my question is if there is a way to configure Sendmail to
actually follow the DNS and show the actual match. If someone maintains
a large blacklist like me it is quite difficult to find the problem quickly.

Thank you.

Re: Access DB and CNAMEs

<snnnce$8gt$1@news.misty.com>

  copy mid

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

  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_NO_CC_REMOVE_IF_YOU_DO_NOT_POST_ml+sendmail(-no-copies-please)@esmtp.org (Claus Aßmann)
Newsgroups: comp.mail.sendmail
Subject: Re: Access DB and CNAMEs
Date: Thu, 25 Nov 2021 05:09:18 -0500 (EST)
Organization: MGT Consulting
Sender: <ml+sendmail(-no-copies-please)@esmtp.org>
Message-ID: <snnnce$8gt$1@news.misty.com>
References: <snnlq0$1i6e$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 25 Nov 2021 10:09:18 -0000 (UTC)
Injection-Info: news.misty.com; posting-host="veps.esmtp.org:155.138.203.148";
logging-data="8733"; 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 - Thu, 25 Nov 2021 10:09 UTC

Aristidis G. Fesarlis wrote:

> Therefore my question is if there is a way to configure Sendmail to
> actually follow the DNS and show the actual match. If someone maintains

You would have to change the rules which do the matching to include
the key which triggered the match.

Maybe you can write a patch and make it available as an optional
feature?

--
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: Access DB and CNAMEs

<snod0s$its$1@gioia.aioe.org>

  copy mid

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

  copy link   Newsgroups: comp.mail.sendmail
Path: i2pn2.org!i2pn.org!aioe.org!UIfZEeRQfMGfUsjzHEJJkA.user.46.165.242.75.POSTED!not-for-mail
From: fesarlis@gmail.com (Aristidis G. Fesarlis)
Newsgroups: comp.mail.sendmail
Subject: Re: Access DB and CNAMEs
Date: Thu, 25 Nov 2021 18:16:35 +0200
Organization: Aioe.org NNTP Server
Message-ID: <snod0s$its$1@gioia.aioe.org>
References: <snnlq0$1i6e$1@gioia.aioe.org> <snnnce$8gt$1@news.misty.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: gioia.aioe.org; logging-data="19388"; posting-host="UIfZEeRQfMGfUsjzHEJJkA.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:60.0) Gecko/20100101
Thunderbird/60.9.1
X-Tagtoolbar-Keys: D20211125181635495
X-Notice: Filtered by postfilter v. 0.9.2
Content-Language: en-US
 by: Aristidis G. Fesarli - Thu, 25 Nov 2021 16:16 UTC

> Maybe you can write a patch and make it available as an optional
> feature?

I would be happy to but I am not that familiar with programming.

Re: Access DB and CNAMEs

<so1q2n$ic7$1@news.misty.com>

  copy mid

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

  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_NO_CC_REMOVE_IF_YOU_DO_NOT_POST_ml+sendmail(-no-copies-please)@esmtp.org (Claus Aßmann)
Newsgroups: comp.mail.sendmail
Subject: Re: Access DB and CNAMEs
Date: Mon, 29 Nov 2021 00:56:39 -0500 (EST)
Organization: MGT Consulting
Sender: <ml+sendmail(-no-copies-please)@esmtp.org>
Message-ID: <so1q2n$ic7$1@news.misty.com>
References: <snnlq0$1i6e$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 29 Nov 2021 05:56:39 -0000 (UTC)
Injection-Info: news.misty.com; posting-host="veps.esmtp.org:155.138.203.148";
logging-data="18823"; 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, 29 Nov 2021 05:56 UTC

Aristidis G. Fesarlis wrote:

> Therefore my question is if there is a way to configure Sendmail to
> actually follow the DNS and show the actual match. If someone maintains

Try using an explicit error message and include %0 in it.
Argument "%0" indicates the database key.

From:cyberspammer.com ERROR:"550 no mail %0"

Re: Access DB and CNAMEs

<so50ns$48h$1@gioia.aioe.org>

  copy mid

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

  copy link   Newsgroups: comp.mail.sendmail
Path: i2pn2.org!i2pn.org!aioe.org!UIfZEeRQfMGfUsjzHEJJkA.user.46.165.242.75.POSTED!not-for-mail
From: fesarlis@gmail.com (Aristidis G. Fesarlis)
Newsgroups: comp.mail.sendmail
Subject: Re: Access DB and CNAMEs
Date: Tue, 30 Nov 2021 13:06:41 +0200
Organization: Aioe.org NNTP Server
Message-ID: <so50ns$48h$1@gioia.aioe.org>
References: <snnlq0$1i6e$1@gioia.aioe.org> <so1q2n$ic7$1@news.misty.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: gioia.aioe.org; logging-data="4369"; posting-host="UIfZEeRQfMGfUsjzHEJJkA.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:60.0) Gecko/20100101
Thunderbird/60.9.1
X-Tagtoolbar-Keys: D20211130130641867
Content-Language: en-US
X-Notice: Filtered by postfilter v. 0.9.2
 by: Aristidis G. Fesarli - Tue, 30 Nov 2021 11:06 UTC

> Try using an explicit error message and include %0 in it.
> Argument "%0" indicates the database key.
>
> From:cyberspammer.com ERROR:"550 no mail %0"

Thank you.
Can I also substitute plain REJECT entries with this? I mean, entries
which block IPs/domains and not specific senders.

Re: Access DB and CNAMEs

<so50r7$48h$2@gioia.aioe.org>

  copy mid

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

  copy link   Newsgroups: comp.mail.sendmail
Path: i2pn2.org!i2pn.org!aioe.org!UIfZEeRQfMGfUsjzHEJJkA.user.46.165.242.75.POSTED!not-for-mail
From: fesarlis@gmail.com (Aristidis G. Fesarlis)
Newsgroups: comp.mail.sendmail
Subject: Re: Access DB and CNAMEs
Date: Tue, 30 Nov 2021 13:08:29 +0200
Organization: Aioe.org NNTP Server
Message-ID: <so50r7$48h$2@gioia.aioe.org>
References: <snnlq0$1i6e$1@gioia.aioe.org> <so1q2n$ic7$1@news.misty.com>
<so50ns$48h$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: gioia.aioe.org; logging-data="4369"; posting-host="UIfZEeRQfMGfUsjzHEJJkA.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:60.0) Gecko/20100101
Thunderbird/60.9.1
X-Notice: Filtered by postfilter v. 0.9.2
X-Tagtoolbar-Keys: D20211130130829528
Content-Language: en-US
 by: Aristidis G. Fesarli - Tue, 30 Nov 2021 11:08 UTC

> Can I also substitute plain REJECT entries with this? I mean, entries
> which block IPs/domains and not specific senders.

In case I am not being clear enough, I actually mean entries that do not
start with "From:" keyword.

Re: Access DB and CNAMEs

<so5j44$6vn$1@news.misty.com>

  copy mid

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

  copy link   Newsgroups: comp.mail.sendmail
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!.POSTED.155.138.203.148!not-for-mail
From: INVALID_NO_CC_REMOVE_IF_YOU_DO_NOT_POST_ml+sendmail(-no-copies-please)@esmtp.org (Claus Aßmann)
Newsgroups: comp.mail.sendmail
Subject: Re: Access DB and CNAMEs
Date: Tue, 30 Nov 2021 11:22:28 -0500 (EST)
Organization: MGT Consulting
Sender: <ml+sendmail(-no-copies-please)@esmtp.org>
Message-ID: <so5j44$6vn$1@news.misty.com>
References: <snnlq0$1i6e$1@gioia.aioe.org> <so1q2n$ic7$1@news.misty.com> <so50ns$48h$1@gioia.aioe.org> <so50r7$48h$2@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 30 Nov 2021 16:22:28 -0000 (UTC)
Injection-Info: news.misty.com; posting-host="155.138.203.148";
logging-data="7159"; 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 - Tue, 30 Nov 2021 16:22 UTC

Aristidis G. Fesarlis wrote:
> > Can I also substitute plain REJECT entries with this? I mean, entries
> > which block IPs/domains and not specific senders.

> In case I am not being clear enough, I actually mean entries that do not
> start with "From:" keyword.

Sure, see cf/README for other tags.

Let us know whether/how it works for you.

--
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.81
clearnet tor