[ietf-smtp] SMTP Reply code 500

Geethapriya Liyanage <g.liyanage@gmail.com> Wed, 04 March 2020 03:00 UTC

Return-Path: <g.liyanage@gmail.com>
X-Original-To: ietf-smtp@ietfa.amsl.com
Delivered-To: ietf-smtp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 02D953A0C43 for <ietf-smtp@ietfa.amsl.com>; Tue, 3 Mar 2020 19:00:49 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.098
X-Spam-Level:
X-Spam-Status: No, score=-2.098 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GdPeenmx0OVs for <ietf-smtp@ietfa.amsl.com>; Tue, 3 Mar 2020 19:00:47 -0800 (PST)
Received: from mail-pf1-x42c.google.com (mail-pf1-x42c.google.com [IPv6:2607:f8b0:4864:20::42c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A16B63A0C4E for <ietf-smtp@ietf.org>; Tue, 3 Mar 2020 19:00:47 -0800 (PST)
Received: by mail-pf1-x42c.google.com with SMTP id l7so191382pff.6 for <ietf-smtp@ietf.org>; Tue, 03 Mar 2020 19:00:47 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:subject:from:to:date:mime-version; bh=mDN9seM6TriSsMGrvrvcOhcVD5XQs8UeJ6P+wEiWu2o=; b=VPBz5ULMP9j6ysGFb1P2kNL55g7zG4Aaz3C06uWBm1GhBVJRvduhgq/EWiLup11+f9 m9w2SAMmaUChROVN5oVg4BqiZ961v0/E7bHO9X66g17e4AAdaHdgvuc8jYFMBwbtCZOF 6x5KDag94H1Ar6g6Ub59uK7nM4G0FbqsWSaALO0ctHc94WKUPstWs0q/G106AkvY5zYp BcFWZCB6HeqqYzaJFiOdUNqV8wMKP434pqcuaVPe852ROd/FF5Zqm+WJdHgG2vlcAFkv 9HqZF6s+4TPaDBbgfpyVudGAV+Gi6AtzLWkWYhcYG1ncJPTIx2koQafSwn2jOU2pUAK0 iBFw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:date:mime-version; bh=mDN9seM6TriSsMGrvrvcOhcVD5XQs8UeJ6P+wEiWu2o=; b=L6FteJhHIxqehgPNqVH2rYlZmSAvdN354ZTlSvquwChRJMxFZivgayVl9JZbiA4+MT ZzaZ8AZwIRckBEDZFpNgOo5gc9K2I7hmNO7fXbSQJmnsVJN2bwPVWATufo9K0QR2APGp Y9Ui8tvm10T54n/Sfi6Emp0aL4eKMDrYPKNzCizM+OoTHvf+JM4hxl0+/ZNfcXG8CJzb SKb5irTQN0KzK6/FFzYnhQlDtNJ4ZB9yf3Z6aAlTg4iHzry1Bf+qxowIRKC/OOVae9hm uBFTygJPj/Uf3iaRRcJIj2AtmFbhPp9eqVXp0zKNNE002OwfOV0OiLGvq5ShrYhASOFP nDNA==
X-Gm-Message-State: ANhLgQ0heo/6DYwPwBVm9IHCbGr+chERJrP+hzcvKnDMRPwkPS2LaPGn Yhryvfj6GbYTAw+OW1keiU+tXdV4
X-Google-Smtp-Source: ADFU+vvAYLYWCrYqwEFgz6RrjFaSyNwZbIdK1hN03d+87Qmkezx2K6LxBkxawQq0AgvtRNuM1LG+bQ==
X-Received: by 2002:aa7:864e:: with SMTP id a14mr917314pfo.240.1583290844391; Tue, 03 Mar 2020 19:00:44 -0800 (PST)
Received: from [192.168.1.3] ([112.134.5.213]) by smtp.googlemail.com with ESMTPSA id p3sm26356754pfg.184.2020.03.03.19.00.42 for <ietf-smtp@ietf.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 03 Mar 2020 19:00:43 -0800 (PST)
Message-ID: <1583290845.3368.15.camel@gmail.com>
From: Geethapriya Liyanage <g.liyanage@gmail.com>
To: ietf-smtp <ietf-smtp@ietf.org>
Date: Wed, 04 Mar 2020 08:30:45 +0530
Content-Type: multipart/alternative; boundary="=-0jiG9l7e7LAz4ttp2stp"
X-Mailer: Evolution 3.18.5.2-0ubuntu3.2
Mime-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/ietf-smtp/GGFJyoYWQYB8waRRCe-Iqke5D5w>
Subject: [ietf-smtp] SMTP Reply code 500
X-BeenThere: ietf-smtp@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Discussion of issues related to Simple Mail Transfer Protocol \(SMTP\) \[RFC 821, RFC 2821, RFC 5321\]" <ietf-smtp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ietf-smtp>, <mailto:ietf-smtp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ietf-smtp/>
List-Post: <mailto:ietf-smtp@ietf.org>
List-Help: <mailto:ietf-smtp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ietf-smtp>, <mailto:ietf-smtp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 04 Mar 2020 03:00:49 -0000

Hello,

In SMTP communication, normally SMTP client sends commands and SMTP
server replies to that with reply codes.  As in RFC 5321 , section
4.2.4, if the command is not recognized, code 500 should be returned.
My doubt is, if the SMTP server sends unrecognized command or code to
SMTP client , will the client also replies the same 500 code.  if not,
how the SMTP client should handle it.

Thank you,
Geethapriya