[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: traps: courieresmtp



(Reordered quotes.)

> Am Donnerstag, 24. September 2020 schrieb Philipp Ewald:
> > maybe i found a bug in courier.
> >
> > courier crash's when a E-Mail address contains "–" (EN DASH)
> >
> > traps: courieresmtp[36082] general protection
> >
> > mail.log:
> > courieresmtp: Crashed child process 41684, while delivering to
> > DO<96>MAIN.TLD
> >
> > When i try to send a mail to DO–MAIN.TLD via thunderbird (smtp server
> > is the same) or something else Server report: No such domain (replace
> > DO–MAIN.TLD with a real domain containing normal "-")
> >
> > is this a bug from courier? debian? maildrop?

(I assume TB is your client (MUA) and courier is your MTA that's being
required to forward it.) Not using that software, it might help to
clarify a few things.

It says "delivering", which raises the question of "to whom",
if the domain is unrecognisable as such.

It says 41684 "crashed": does that mean merely that it returned
non-success, which would be an odd way of indicating it.

OTOH, 36082 says "general protection": does that mean a
General Protection Fault, which would definitely be a bug if
it's caused by just a typo in an email address. Even more so
if the parent crashes just because its child did.

I don't know the significance of "traps:".

I would report it as a bug against courier, though because the
problem is reproducible, I'd try and increase the level of
logging if that's possible. (For example, I use exim, and
leave it configured to run with -d (debug).)

On Sun 27 Sep 2020 at 12:44:59 (+0200), Stefan Krusche wrote:
> > courier crash's when a E-Mail address contains "–" (EN DASH)
> This does not seem to be a dash                  ^^^
> 
> I think that could be a character which is not allowed for email 
> addresses. It looks like a long hyphen which I get on a german keyboard 
> layout with "AltGr + -".
> 
> > When i try to send a mail to DO–MAIN.TLD via thunderbird (smtp server
> > is the same) or something else Server report: No such domain (replace
> > DO–MAIN.TLD with a real domain containing normal "-")
> 
> This I understand as the server saying: "don't use '–' (long hyphen) 
> but '-' (dash) instead.

I would agree with that, but could you not further confuse matters by
using the opposite names for dash and hyphen from everybody else.

> > tested with:
> >
> > cat /some/mail/content | sendmail user@do(echo -e "\0\x96"| tr -d
                                             ↑
presumably left out a $ in the posting.

> > "\0")main.tld
> 
> Sorry, I don't understand where you get that "–" (long hyphen) from, 
> maybe some HTML-formatted emails?!

They inserted it, as above, to provoke the error message, though I'm
not quite sure why they didn't just type the en-dash:

$ cat /some/mail/content | sendmail user@do–main.tld

directly. It might be a locale thing to do with their terminal. Hex 96
means nothing to me in Unicode.

Cheers,
David.


Reply to: