Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

This login session: $13.76, but for you $11.88.


computers / comp.mail.sendmail / Queue delivery order

SubjectAuthor
* Queue delivery orderThorsten Glaser
`* Re: Queue delivery orderClaus Aßmann
 `* Re: Queue delivery orderThorsten Glaser
  `- Re: Queue delivery orderClaus Aßmann

1
Queue delivery order

<Pine.BSM.4.64L.2304160149510.28690@herc.mirbsd.org>

  copy mid

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

  copy link   Newsgroups: comp.mail.sendmail
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: tg...@mirbsd.de (Thorsten Glaser)
Newsgroups: comp.mail.sendmail
Subject: Queue delivery order
Date: Sun, 16 Apr 2023 01:53:34 +0000
Organization: A noiseless patient Spider
Lines: 35
Message-ID: <Pine.BSM.4.64L.2304160149510.28690@herc.mirbsd.org>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=utf-8
Content-Transfer-Encoding: QUOTED-PRINTABLE
Injection-Info: dont-email.me; posting-host="f4022cfa40e09b27a382e8d1e68201b1";
logging-data="2501708"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX190O5uDeogNVUlr5peZ9vZgYJyBf4osUg8="
Cancel-Lock: sha1:q/CbVge+MmQRBp72gjto4Z+1YIc=
Content-Language: de-DE-1901, en-GB
X-X-Sender: tg@herc.mirbsd.org
 by: Thorsten Glaser - Sun, 16 Apr 2023 01:53 UTC

Hi,

I’ve got a… problem? feature request? anyway, an issue with a
sendmail 8.14.9 installation that runs in “queue only + queue
runner” mode:

# /usr/sbin/sendmail -L sm-mta -bd -odq -q12m

When I send two mails and then trigger a queue run manually
(sudo sendmail -v -q) or the -q12m hits the second mail is
ALWAYS delivered before the first.

I need this to be changed so the oldest mails are tried first.

So far, so good. I found QueueSortOrder and when I use…

$ sudo mailq -O QueueSortOrder=time

… I get the correct order, but…

$ sudo sendmail -O QueueSortOrder=time -v -q

… still sends them in the reverse order. Same for =modification.

Is this possible at all? A bug in the old version, since fixed?
Any advice?

Thanks in advance,
//mirabilos (from IRC)
--
21:49⎜<allamoox:#sendmail> I have a question guys,
⎜ Can I use my PC as SMTP server, I use Windows 7 .
⎜ Already googled and Installed IIS
⎜ but Still I can't send E-mail

Re: Queue delivery order

<u1gbub$the$1@news.misty.com>

  copy mid

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

  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: Queue delivery order
Date: Sun, 16 Apr 2023 04:34:19 -0400 (EDT)
Organization: MGT Consulting
Sender: <ml+sendmail(-no-copies-please)@esmtp.org>
Message-ID: <u1gbub$the$1@news.misty.com>
References: <Pine.BSM.4.64L.2304160149510.28690@herc.mirbsd.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 16 Apr 2023 08:34:19 -0000 (UTC)
Injection-Info: news.misty.com; posting-host="veps.esmtp.org:155.138.203.148";
logging-data="30254"; 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 - Sun, 16 Apr 2023 08:34 UTC

Thorsten Glaser wrote:

> When I send two mails and then trigger a queue run manually
> (sudo sendmail -v -q) or the -q12m hits the second mail is
> ALWAYS delivered before the first.

What's the time difference between sending those two mails?
If it's not at least 1s then you basically get random ordering

Check the timestamps in the queue:
grep '^T' /var/spool/mq*/qf*
(use the right queue path for your setup)

--
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: Queue delivery order

<Pine.BSM.4.64L.2304162148380.7720@herc.mirbsd.org>

  copy mid

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

  copy link   Newsgroups: comp.mail.sendmail
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: tg...@mirbsd.de (Thorsten Glaser)
Newsgroups: comp.mail.sendmail
Subject: Re: Queue delivery order
Date: Sun, 16 Apr 2023 21:50:59 +0000
Organization: A noiseless patient Spider
Lines: 26
Message-ID: <Pine.BSM.4.64L.2304162148380.7720@herc.mirbsd.org>
References: <Pine.BSM.4.64L.2304160149510.28690@herc.mirbsd.org>
<u1gbub$the$1@news.misty.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=utf-8
Content-Transfer-Encoding: QUOTED-PRINTABLE
Injection-Info: dont-email.me; posting-host="f4022cfa40e09b27a382e8d1e68201b1";
logging-data="2846094"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+7eh3sQUhhI91u0oR3B0FZdp1088TP7yo="
Cancel-Lock: sha1:RLv4smzr2/Xx+s9Wzh8BcjM+ENM=
In-Reply-To: <u1gbub$the$1@news.misty.com>
Content-Language: de-DE-1901, en-GB
X-X-Sender: tg@herc.mirbsd.org
 by: Thorsten Glaser - Sun, 16 Apr 2023 21:50 UTC

Claus Aßmann dixit:

>What's the time difference between sending those two mails?
>If it's not at least 1s then you basically get random ordering

Oh. It seems I had two issues: no QueueSortOrder in the normal
case (where several seconds to minutes were between the mails)
and sending them to fast when manually trying whether adding
QueueSortOrder fixes things. Now…

$ sudo sendmail -O QueueSortOrder=time -v -q

… sends the mails in the submission order, when I send them
with some delay.

Thanks!

Now to figure out how to put that into the .mc instead of
just hacking up the .cf…

bye,
//mirabilos
--
(gnutls can also be used, but if you are compiling lynx for your own use,
there is no reason to consider using that package)
-- Thomas E. Dickey on the Lynx mailing list, about OpenSSL

Re: Queue delivery order

<u1ijb6$cfg$1@news.misty.com>

  copy mid

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

  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: Queue delivery order
Date: Mon, 17 Apr 2023 00:52:54 -0400 (EDT)
Organization: MGT Consulting
Sender: <ml+sendmail(-no-copies-please)@esmtp.org>
Message-ID: <u1ijb6$cfg$1@news.misty.com>
References: <Pine.BSM.4.64L.2304160149510.28690@herc.mirbsd.org> <u1gbub$the$1@news.misty.com> <Pine.BSM.4.64L.2304162148380.7720@herc.mirbsd.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 17 Apr 2023 04:52:54 -0000 (UTC)
Injection-Info: news.misty.com; posting-host="veps.esmtp.org:155.138.203.148";
logging-data="12784"; 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, 17 Apr 2023 04:52 UTC

Thorsten Glaser wrote:

> $ sudo sendmail -O QueueSortOrder=time -v -q

> Now to figure out how to put that into the .mc instead of
> just hacking up the .cf

See cf/README

confQUEUE_SORT_ORDER QueueSortOrder [Priority] Queue sort algorithm:
Priority, Host, Filename, Random,
Modification, or Time.

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