🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #90231

Re: Improving deliverability of moderated group submissions

#90231
From: Richard Kettlewell
Date: Fri, 31 Mar 2023 21:31
42 lines
2891 bytes
Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> writes:
> We recently had a discussion in the inn-workers mailing list about
> mails sent to moderators.  The common command line used to send such
> mails is:
>
>   /usr/lib/sendmail -oi -oem %s
>
> where %s is replaced by the address of the moderator.
>
> Could it be improved to notably receive errors, and how?
> As a few mail experts lurk in this newsgroup, I believe we'll manage to find the right options to use :-)

-oem is already about as good as it gets for ensuring errors are
reported as email rather than hidden in a logfile.

[..]
> I've seen that we have an exception with the news2mail gatewaying program, which uses additional flags:
>
>   <mta without %s> -ee -odq -fxxx -pNNTP:pathhost addresses
>
> I don't know what "-ee" means.  Does someone know?  Is it still a useful flag?

-eX is a historical synonym for -oeX, and -oee means that if an error in
is encountered when sending the message then it should be reported by an
email, with the exit status always being 0. Contrast -oem where you get
errors by mail but (presumably) also a nonzero exit status.

(Assuming the administrator actually wants to see errors) it should
probably be -oee or -oem depending on what the calling process expects
from the MTA’s exit status.

> -odq queues mails.  It means that "sendmail -q" should be periodically
> run to actually send the mails.  I wonder whether that's really
> useful.  Maybe a flag should be added to news2mail to configure that
> behaviour (for backwards compatibility: if -q is given to news2mail,
> then it does not queue messages).

I guess the intent was to arrange that the actual sending happened in a
batch.

-- 
https://www.greenend.org.uk/rjk/
Technical Details
Message-ID: <wwvfs9k7gm3.fsf@LkoBDZeT.terraraq.uk>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
References: <u07fbu$ick7$1@news.trigofacile.com>

Show Full Headers
Complete Article Headers
Message-ID: <wwvfs9k7gm3.fsf@LkoBDZeT.terraraq.uk>
Subject: Re: Improving deliverability of moderated group submissions
Date: Fri, 31 Mar 2023 22:31:16 +0100
From: Richard Kettlewell <invalid@invalid.invalid>
References: <u07fbu$ick7$1@news.trigofacile.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
Newsgroups: news.software.nntp
Organization: terraraq NNTP server
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Info: innmantic.terraraq.uk; posting-host="tunnel.sfere.anjou.terraraq.org.uk:172.17.207.6"; logging-data="56150"; mail-complaints-to="usenet@innmantic.terraraq.uk"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Cancel-Lock: sha1:MHk2we4JlaY+AtDFnYK7pWw1dbs=
X-Face: h[Hh-7npe<<b4/eW[]sat,I3O`t8A`(ej.H!F4\8|;ih)`7{@:A~/j1}gTt4e7-n*F?.Rl^ F<\{jehn7.KrO{!7=:(@J~]<.[{>v9!1<qZY,{EJxg6?Er4Y7Ng2\Ft>Z&W?r\c.!4DXH5PWpga"ha +r0NzP?vnz:e/knOY)PI-
X-Boydie: NO