Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756811AbeAHMBj (ORCPT + 1 other); Mon, 8 Jan 2018 07:01:39 -0500 Received: from mail-pg0-f52.google.com ([74.125.83.52]:39104 "EHLO mail-pg0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756163AbeAHMBh (ORCPT ); Mon, 8 Jan 2018 07:01:37 -0500 X-Google-Smtp-Source: ACJfBoupp7ACjGvgjQNV+HBmqOJD5xh+muUBDVGakW1NGHiJEb7N02BYt/CT7Y9qWOvsGhdBEnVfZ8Cj2VRfx7fGUHA= MIME-Version: 1.0 In-Reply-To: <20180104235004.GO23371@thunk.org> References: <20180104092327.GA26245@kroah.com> <20180104235004.GO23371@thunk.org> From: Dmitry Vyukov Date: Mon, 8 Jan 2018 13:01:16 +0100 Message-ID: Subject: Re: LKML admins (syzbot emails are not delivered) To: "Theodore Ts'o" , Dmitry Vyukov , Greg Kroah-Hartman , LKML , Andrew Morton , Linus Torvalds , syzkaller , David Miller Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: On Fri, Jan 5, 2018 at 12:50 AM, Theodore Ts'o wrote: > On Thu, Jan 04, 2018 at 12:04:34PM +0100, Dmitry Vyukov wrote: >> >> The problem is that it's not _me_, it's a computer program which uses >> some mail delivery system which I don't have full visibility into. I >> don't know if it even gets bounce emails (as far as I understand it's >> not LKML that generates them, LKML SMTP server just returns some error >> code and then it's a responsibility of somebody else to represent it >> by a reply email). If the only way to probe the behavior is to send >> actual emails to LKML (which have high chances to be actually >> delivered to all subscribers), it makes testing somewhat problematic. > > It looks like you're using the App Engine Mail API. You can configure > it to get bounce e-mails[1]. From what I can tell looking at the mail > headers, the mail gets sent via an intermediate SMTP host, such as > mail-it0-f69.google.com before it is delievered to vger. So if vger's > mailer bounces it via an SMTP error, it would be > mail-it0-f69.google.com's responsibility to generate a bounce message, > which you then should be able to catch. > > [1] https://cloud.google.com/appengine/docs/standard/go/mail/bounce > > You should be able to test this by having your app-engine send a > message to "invalid-address@vger.kernel.org". I've verified that this > will cause an immediate SMTP error: > > 554 5.0.0 Hi [74.207.234.97], unresolvable address: ; nosuchuser; invalid-address@vger.kernel.org > > If it doesn't, you should file an internal bug report since that's > clearly a bug in the App Engine's mail infrastructure. If you can't > get satisfaction that way, my recommendation would be to set up an > Linode server (you can't use GCE because GCE blocks outgoing SMTP > connections) to be your mail gateway, and send the notifications from > a domain such as syzkaller.org, where you have full control of your > mail infrastructure, and you don't have to deal with nonsense such as > DMARC. Thanks, Ted! This is helpful. I've added handler for bounce emails: https://github.com/google/syzkaller/commit/19c05fffcb1860b2dcf17989b40ca16ed259fdea And I do see them after sending to invalid-address@vger.kernel.org. So now hopefully it will sched some light when we get another bounce.