Rocksolid Light

Welcome to Rocksolid Light

mail  files  register  newsreader  groups  login

Message-ID:  

Is knowledge knowable? If not, how do we know that?


computers / comp.mail.sendmail / Re: Google "multiple destination domains" issue

SubjectAuthor
* Google "multiple destination domains" issueKelsey Cummings
+* Google "multiple destination domains" issuebje
|`- Google "multiple destination domains" issueKelsey Cummings
`* Google "multiple destination domains" issueClaus Aßmann
 `- Google "multiple destination domains" issueKelsey Cummings

1
Re: Google "multiple destination domains" issue

<aec1836a-555d-4082-a6be-af898e7b246an@googlegroups.com>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=1438&group=comp.mail.sendmail#1438

  copy link   Newsgroups: comp.mail.sendmail
X-Received: by 2002:a05:622a:15c7:b0:39b:2791:cd44 with SMTP id d7-20020a05622a15c700b0039b2791cd44mr17939141qty.676.1667359771592;
Tue, 01 Nov 2022 20:29:31 -0700 (PDT)
X-Received: by 2002:a81:710:0:b0:370:b2b:7fca with SMTP id 16-20020a810710000000b003700b2b7fcamr21231872ywh.417.1667359771351;
Tue, 01 Nov 2022 20:29:31 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer02.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: Tue, 1 Nov 2022 20:29:30 -0700 (PDT)
In-Reply-To: <s9tm9r$uvp$2@news.misty.com>
Injection-Info: google-groups.googlegroups.com; posting-host=73.92.62.176; posting-account=IgtvSwoAAAA-kbtFuHJKCYN9REZELBX5
NNTP-Posting-Host: 73.92.62.176
References: <d9a85b71-a273-4dce-bc11-124b7420904an@googlegroups.com>
<s9titu$trf$1@news.misty.com> <aa0935aa-406a-4f3a-bc8f-00570ab4e3dcn@googlegroups.com>
<s9tm9r$uvp$2@news.misty.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <aec1836a-555d-4082-a6be-af898e7b246an@googlegroups.com>
Subject: Re: Google "multiple destination domains" issue
From: kgc@corp.sonic.net (Kelsey Cummings)
Injection-Date: Wed, 02 Nov 2022 03:29:31 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2122
 by: Kelsey Cummings - Wed, 2 Nov 2022 03:29 UTC

On Thursday, June 10, 2021 at 11:45:01 AM UTC-7, Claus Aßmann wrote:
> Not yet - maybe you can write a patch? Unfortunately I don't have
> much time to loook into this, hopefully someone does!

Claus, pulling up an old thread here but would having a sponsor provide you the opportunity to implement a solution? This has finally reached my attention too and the ability to split envelopes by domain (something which Brandon Long thinks sendmail can do, but I can't figure out how) or perhaps being able to assign a queue group by wildcard matching on an MX record which would allow the cheesy fix of just setting a single recipient per transaction on a queue assigned to gmail's mx servers.

In any case, savvy users have started to notice and complain about delays into gmail hosted domains because of this.

Re: Google "multiple destination domains" issue

<tjtqn5$kov$1@remote6hme0.ripco.com>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=1439&group=comp.mail.sendmail#1439

  copy link   Newsgroups: comp.mail.sendmail
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!news.ripco.com!.POSTED.shell3.ripco.com!not-for-mail
From: bje@ripco.com
Newsgroups: comp.mail.sendmail
Subject: Re: Google "multiple destination domains" issue
Date: Wed, 2 Nov 2022 13:18:29 -0000 (UTC)
Organization: Ripco Communications Inc.
Message-ID: <tjtqn5$kov$1@remote6hme0.ripco.com>
References: <d9a85b71-a273-4dce-bc11-124b7420904an@googlegroups.com> <s9titu$trf$1@news.misty.com> <aa0935aa-406a-4f3a-bc8f-00570ab4e3dcn@googlegroups.com> <s9tm9r$uvp$2@news.misty.com> <aec1836a-555d-4082-a6be-af898e7b246an@googlegroups.com>
Injection-Date: Wed, 2 Nov 2022 13:18:29 -0000 (UTC)
Injection-Info: remote6hme0.ripco.com; posting-host="shell3.ripco.com:66.146.219.74";
logging-data="21279"; mail-complaints-to="usenet@remote6hme0.ripco.com"
User-Agent: tin/2.4.2-20171224 ("Lochhead") (UNIX) (SunOS/5.10 (i86pc))
 by: bje@ripco.com - Wed, 2 Nov 2022 13:18 UTC

Kelsey Cummings <kgc@corp.sonic.net> wrote:

> In any case, savvy users have started to notice and complain about delays
> into gmail hosted domains because of this.

I kind of lost the original thread but I think you are looking for this
solution.

In your sendmail.mc stick these in:

define(`SMTP_MAILER_MAXRCPTS', `1')dnl
define(`RELAY_MAILER_MAXRCPTS', `1')dnl

Those will make sendmail queue them out one at a time rather than bundle them
together and get that multi-domain isn't allowed error from gmail.

Been using that for a while and haven't seen a single rejection or error
dealing with them. Also works well for the idiots at protection.outlook.com
because they randomly set max nrcpts to 2.

-bruce
bje@ripco.com

Re: Google "multiple destination domains" issue

<28c6d0ee-16da-4eb5-9f25-d43518e1ce43n@googlegroups.com>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=1440&group=comp.mail.sendmail#1440

  copy link   Newsgroups: comp.mail.sendmail
X-Received: by 2002:a37:c44d:0:b0:6fa:271c:fd20 with SMTP id h13-20020a37c44d000000b006fa271cfd20mr13973267qkm.35.1667414202420;
Wed, 02 Nov 2022 11:36:42 -0700 (PDT)
X-Received: by 2002:a25:cf4f:0:b0:6cc:5c06:ab92 with SMTP id
f76-20020a25cf4f000000b006cc5c06ab92mr22722819ybg.295.1667414202130; Wed, 02
Nov 2022 11:36:42 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer03.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: Wed, 2 Nov 2022 11:36:41 -0700 (PDT)
In-Reply-To: <tjtqn5$kov$1@remote6hme0.ripco.com>
Injection-Info: google-groups.googlegroups.com; posting-host=73.92.62.176; posting-account=mj_-SAoAAABwwno0R3QIAqhE2nSZX82s
NNTP-Posting-Host: 73.92.62.176
References: <d9a85b71-a273-4dce-bc11-124b7420904an@googlegroups.com>
<s9titu$trf$1@news.misty.com> <aa0935aa-406a-4f3a-bc8f-00570ab4e3dcn@googlegroups.com>
<s9tm9r$uvp$2@news.misty.com> <aec1836a-555d-4082-a6be-af898e7b246an@googlegroups.com>
<tjtqn5$kov$1@remote6hme0.ripco.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <28c6d0ee-16da-4eb5-9f25-d43518e1ce43n@googlegroups.com>
Subject: Re: Google "multiple destination domains" issue
From: microshaft.org@gmail.com (Kelsey Cummings)
Injection-Date: Wed, 02 Nov 2022 18:36:42 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1760
 by: Kelsey Cummings - Wed, 2 Nov 2022 18:36 UTC

On Wednesday, November 2, 2022 at 6:18:32 AM UTC-7, b...@ripco.com wrote:
> In your sendmail.mc stick these in:
>
> define(`SMTP_MAILER_MAXRCPTS', `1')dnl
> define(`RELAY_MAILER_MAXRCPTS', `1')dnl

I'm reluctant to break a fundamental optimization in email delivery to
work around google's behavior. Although perhaps on today's
infrastructure it wouldn't really make all that much of difference.

-K

Re: Google "multiple destination domains" issue

<tjvp0m$7i2$1@news.misty.com>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=1441&group=comp.mail.sendmail#1441

  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: Google "multiple destination domains" issue
Date: Thu, 3 Nov 2022 03:01:42 -0400 (EDT)
Organization: MGT Consulting
Sender: <ml+sendmail(-no-copies-please)@esmtp.org>
Message-ID: <tjvp0m$7i2$1@news.misty.com>
References: <d9a85b71-a273-4dce-bc11-124b7420904an@googlegroups.com> <aa0935aa-406a-4f3a-bc8f-00570ab4e3dcn@googlegroups.com> <s9tm9r$uvp$2@news.misty.com> <aec1836a-555d-4082-a6be-af898e7b246an@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 3 Nov 2022 07:01:42 -0000 (UTC)
Injection-Info: news.misty.com; posting-host="veps.esmtp.org:155.138.203.148";
logging-data="7746"; 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, 3 Nov 2022 07:01 UTC

Kelsey Cummings wrote:

> attention too and the ability to split envelopes by domain (something which
> Brandon Long thinks sendmail can do, but I can't figure out how) or perhaps

Try the following:
Add this to your mc file in the proper places:

QUEUE_GROUP(`one', `Path=/var/spool/mqueue/one, r=1')
LOCAL_CONFIG
Kbestmx bestmx

LOCAL_RULESETS
Squeuegroup
R< $+ > $1
R $+ @ $+ $: $(bestmx $2 $)
R $+ $: $>SearchList <! qgrpmx> $| <D:$1> <>
R<?> $@
R<$+> $# $1

Add something like this to access_db:
qgrpmx:google.com. one

Rebuild the cf file and the map.
mkdir /var/spool/mqueue/one
with proper owner/group/permissions

Now domains which have a "best MX" pointing to google.com
should end up in queuegroup one which should have this
option:

recipients
The maximum number of recipients per envelope.

This might be a good start - but I haven't tested it!

It would be nice if someone gives it a try and actually
reports back (not like with the IPv4 patch where people
ask for it but don't give feedback...)

Note: an enhanced version to send all recipients with the
same domain to google instead of just 1 per transaction
probably requires some code changes -- which would take
much more time and effort.

--
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: Google "multiple destination domains" issue

<67096be8-434d-4fee-aed7-aa92485fde66n@googlegroups.com>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=1443&group=comp.mail.sendmail#1443

  copy link   Newsgroups: comp.mail.sendmail
X-Received: by 2002:a05:620a:9cb:b0:6fa:22bf:9fa with SMTP id y11-20020a05620a09cb00b006fa22bf09famr20863664qky.625.1667527557033;
Thu, 03 Nov 2022 19:05:57 -0700 (PDT)
X-Received: by 2002:a0d:c246:0:b0:370:2d8c:81d6 with SMTP id
e67-20020a0dc246000000b003702d8c81d6mr31816913ywd.112.1667527556761; Thu, 03
Nov 2022 19:05:56 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer02.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: Thu, 3 Nov 2022 19:05:56 -0700 (PDT)
In-Reply-To: <tjvp0m$7i2$1@news.misty.com>
Injection-Info: google-groups.googlegroups.com; posting-host=73.92.62.176; posting-account=mj_-SAoAAABwwno0R3QIAqhE2nSZX82s
NNTP-Posting-Host: 73.92.62.176
References: <d9a85b71-a273-4dce-bc11-124b7420904an@googlegroups.com>
<aa0935aa-406a-4f3a-bc8f-00570ab4e3dcn@googlegroups.com> <s9tm9r$uvp$2@news.misty.com>
<aec1836a-555d-4082-a6be-af898e7b246an@googlegroups.com> <tjvp0m$7i2$1@news.misty.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <67096be8-434d-4fee-aed7-aa92485fde66n@googlegroups.com>
Subject: Re: Google "multiple destination domains" issue
From: microshaft.org@gmail.com (Kelsey Cummings)
Injection-Date: Fri, 04 Nov 2022 02:05:57 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2145
 by: Kelsey Cummings - Fri, 4 Nov 2022 02:05 UTC

On Thursday, November 3, 2022 at 12:01:44 AM UTC-7, Claus Aßmann wrote:
> Try the following:
> Add this to your mc file in the proper places:
....

Claus, this seems to work as expected provided you don't get stuck thinking that existing FEATURE(`queuegroup') configs are still going to work as well. Perhaps it's possible to do both the bestmx lookup and then override the result with a non-empty qgrp lookup. But, that's not an issue for our use case and arguably the other groups we have defined would benefit from being MX based and not domain based in the first place. With two qgrpmx's defined, I was able to split envelopes across both of them and the default mqueue with them all respecting the queues' recipient limit. I'd call this a success!

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor