Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

"It takes all sorts of in & out-door schooling to get adapted to my kind of fooling" -- R. Frost


computers / comp.mail.sendmail / How to log text of a rejection message?

SubjectAuthor
* How to log text of a rejection message?Gushi
`- Re: How to log text of a rejection message?Claus Aßmann

1
How to log text of a rejection message?

<de009b00-dfac-4c11-bc3c-937428561766n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.mail.sendmail
X-Received: by 2002:ac8:5c8c:: with SMTP id r12mr44894250qta.265.1626056333066;
Sun, 11 Jul 2021 19:18:53 -0700 (PDT)
X-Received: by 2002:a25:b4c:: with SMTP id 73mr61301208ybl.333.1626056332828;
Sun, 11 Jul 2021 19:18:52 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.mail.sendmail
Date: Sun, 11 Jul 2021 19:18:52 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=73.97.89.228; posting-account=qXl1yQkAAADmb5HrcoNRAXZSj83NFfK_
NNTP-Posting-Host: 73.97.89.228
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <de009b00-dfac-4c11-bc3c-937428561766n@googlegroups.com>
Subject: How to log text of a rejection message?
From: gushimailtest@gmail.com (Gushi)
Injection-Date: Mon, 12 Jul 2021 02:18:53 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: Gushi - Mon, 12 Jul 2021 02:18 UTC

Hey there.

(This isn't about mailing to outlook.com, I'm already working with them on their blocklist).

One of my users recently tried to send mail to an outlook.com domain and got a bounce back like:

Final-Recipient: RFC822; NNNNNN@hotmail.com
Action: failed
Status: 5.7.1
Diagnostic-Code: SMTP; 550 5.7.1 Unfortunately, messages from [123.45.67.89] weren't sent. Please contact your Internet service provider since part of their network is on our block list (S3150). You can also refer your provider to http://mail.live.com/mail/troubleshooting.aspx#errors. [VI1EUR06FT043..eop-eur06.prod.protection.outlook.com]
Last-Attempt-Date: Thu, 8 Jul 2021 15:21:10 GMT

And in my logs, I see:

/var/log/maillog.1.bz2:Jul 10 19:10:58 quark sm-mta[39534]: 16AJAsX9039531: to=<NNNNNN@hotmail.com>, delay=00:00:02, xdelay=00:00:01, mailer=esmtp, pri=32461, relay=hotmail-com.olc.protection.outlook.com. [104.47.56.161], dsn=5.0.0, stat=Service unavailable

/var/log/maillog.1.bz2:Jul 10 19:10:58 quark sm-mta[39534]: 16AJAsX9039531: 16AJAwX8039534: DSN: Service unavailable

So the question:

Is there any way I can get the rest of that text in my logfiles? By grepping logs alone i have no idea about the blocklist.

-Dan

Re: How to log text of a rejection message?

<scgl3b$9e2$1@news.misty.com>

  copy mid

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

  copy link   Newsgroups: comp.mail.sendmail
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.uzoreto.com!news-out.netnews.com!news.alt.net!fdc2.netnews.com!peer03.ams1!peer.ams1.xlned.com!news.xlned.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!news-vm.kithrup.com!news.misty.com!.POSTED!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: How to log text of a rejection message?
Date: Mon, 12 Jul 2021 05:48:27 +0000 (UTC)
Organization: MGT Consulting
Lines: 10
Sender: <ml+sendmail(-no-copies-please)@esmtp.org>
Message-ID: <scgl3b$9e2$1@news.misty.com>
References: <de009b00-dfac-4c11-bc3c-937428561766n@googlegroups.com>
NNTP-Posting-Host: kiel.esmtp.org
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: news.misty.com 1626068907 9666 195.244.235.220 (12 Jul 2021 05:48:27 GMT)
X-Complaints-To: abuse@misty.com
NNTP-Posting-Date: Mon, 12 Jul 2021 05:48:27 +0000 (UTC)
Mail-Copies-To: never
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: ca@x2.esmtp.org (Claus Assmann)
X-Received-Bytes: 1528
 by: Claus Aßmann - Mon, 12 Jul 2021 05:48 UTC

Upgrade.
8.16.1/8.16.1 2020/07/05
Log the actual reply of a server when an SMTP delivery problem
occurs in a "reply=" field if possible.

--
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