From: Drew DeVault <sir@cmpwn.com>
To: "brian m. carlson" <sandals@crustytoothpaste.net>
Cc: git@vger.kernel.org, contact@emersion.fr
Subject: Re: send-email: change the default value of sendmail.validate
Date: Sun, 1 Jul 2018 20:17:53 -0400 [thread overview]
Message-ID: <20180702001753.GA30086@homura.localdomain> (raw)
In-Reply-To: <20180701181546.GD7965@genre.crustytoothpaste.net>
On 2018-07-01 6:15 PM, brian m. carlson wrote:
> Can you say a bit more about the exact error message you're seeing?
"patch contains a line longer than 998 characters"
A recent occasion when this came up was when someone attempted to send
me a patch which included a base64-encoded data URI, which cannot be
wrapped.
> Are you suggesting that we not limit lines to 998 octets? I've seen
> lots of mail servers that do reject mail over 998 octets. I've
> configured Postfix to do so because being strict on mail standards is a
> great way to stop spam.
Yes, that's what I'm suggesting. We should error out later when the SMTP
server rejects the mail.
Also, Extended SMTP is a standard. RFC 1869.
> If that's the issue you're seeing, it might be better to either
> automatically encode those patches as binary patches or teach git
> send-email and git am how to automatically handle quoted-printable.
I'm really not fond of quoted-printable. Extended SMTP has been
standardized for over 20 years. Assuming people don't blithly disable it
on their servers, we can expect it to be present on almost all mail
servers.
I don't think I've ever seen a spam email that would have been stopped
because it contained 998 lines. Approaches like SpamAssassin,
greylisting, DNSBLs, SPF/DKIM, these are much more effective.
next prev parent reply other threads:[~2018-07-02 0:17 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-29 19:07 send-email: change the default value of sendmail.validate Drew DeVault
2018-07-01 18:15 ` brian m. carlson
2018-07-02 0:17 ` Drew DeVault [this message]
2018-07-02 1:52 ` brian m. carlson
2018-07-02 2:05 ` Drew DeVault
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
List information: http://vger.kernel.org/majordomo-info.html
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180702001753.GA30086@homura.localdomain \
--to=sir@cmpwn.com \
--cc=contact@emersion.fr \
--cc=git@vger.kernel.org \
--cc=sandals@crustytoothpaste.net \
/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.
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
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 read-only IMAP folder(s) and NNTP newsgroup(s).