9front - general discussion about 9front
 help / color / mirror / Atom feed
From: ori@eigenstate.org
To: sirjofri+ml-9front@sirjofri.de, 9front@9front.org
Subject: Re: [9front] “empty” mail (possible unimportant bug)
Date: Fri, 02 Oct 2020 20:54:58 -0700	[thread overview]
Message-ID: <9048AE54735DB36DC9F19F44BDE6C36A@eigenstate.org> (raw)
In-Reply-To: <53db3d4d-6996-4bf7-8dc2-0e6208693489@sirjofri.de>

> Hey ori,
> 
> The quoted mail is from /mail/box/username/mbox/stuff.
> 
> The log line (/sys/log/smtpd) is this:
> 
> oat Oct  2 11:16:06 ++[gmail.com/104.148.61.185] blocked: mail refused: 
> illegal header chars: fd out of range or not open
> 
> Seems like the mail is indeed refused and thus empty, but it still 
> creates an empty mail in /mail/box.

Ok -- that's a bug, but it makes sense. That error comes from
smtpd.c:/^pipemsg(), which means we've already started feeding
it into the delivery pipeline. don't think we're losing messages,
just creating spurious empty ones.

I'm not sure when I'll get to it, but I think it'll be easy enough
to do -- maybe kill the process we're piping to on a garbled message,
or don't open the pipe until we've parsed the headers.



  reply	other threads:[~2020-10-03  3:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-02 10:16 sirjofri+ml-9front
2020-10-02 15:00 ` [9front] " ori
2020-10-02 15:25 ` sirjofri+ml-9front
2020-10-03  3:54   ` ori [this message]
2020-10-04  0:32 ` Lyndon Nerenberg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9048AE54735DB36DC9F19F44BDE6C36A@eigenstate.org \
    --to=ori@eigenstate.org \
    --cc=9front@9front.org \
    --cc=sirjofri+ml-9front@sirjofri.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).