Package: postfix
Version: 2.9.6-2
Severity: normal

Dear Maintainer,

When a client sends erroneous command on a session, Postfix replies with a 4xx 
error message, as expected.
But when too many errors occur, Postfix replies with a second error line:
    "421 4.7.0 xxxxx Error: too many errors".
This second message does not respect 4.2 section of RFC 5321, which indicates:
    "Every command MUST generate exactly one reply"
    (http://tools.ietf.org/html/rfc5321#section-4.2)

For example (we defined smtpd_hard_error_limit=2 in our configuration):
RCPT TO:<x...@xxxxxx-chambon.fr>
450 4.2.0 <x...@xxxxxx-chambon.fr>: Recipient address rejected: Greylisted, see 
http://postgrey.schweikert.ch/help/komori-chambon.fr.html
RCPT TO:<y...@xxxxxx-chambon.fr>
450 4.2.0 <y...@xxxxxx-chambon.fr>: Recipient address rejected: Greylisted, see 
http://postgrey.schweikert.ch/help/komori-chambon.fr.html
421 4.7.0 servsmtp Error: too many errors
(Connection closed)

The expected behavior would simply be to add the "Too many errors" at the end 
of the first line.
Not to create a second one, which lead to analysis error of the mail protocol.

Yours faithfully,
    Jeremie LEGRAND


-- System Information:
Debian Release: 7.6
  APT prefers stable-updates
  APT policy: (900, 'stable-updates'), (900, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages postfix depends on:
ii  adduser                3.113+nmu3
ii  cpio                   2.11+dfsg-0.1
ii  debconf [debconf-2.0]  1.5.49
ii  dpkg                   1.16.15
ii  libc6                  2.13-38+deb7u3
ii  libdb5.1               5.1.29-5
ii  libsasl2-2             2.1.25.dfsg1-6+deb7u1
ii  libsqlite3-0           3.7.13-1+deb7u1
ii  libssl1.0.0            1.0.1e-2+deb7u12
ii  lsb-base               4.1+Debian8+deb7u1
ii  netbase                5.0
ii  ssl-cert               1.0.32

Versions of packages postfix recommends:
ii  python  2.7.3-4+deb7u1

Versions of packages postfix suggests:
pn  dovecot-common                <none>
ii  heirloom-mailx [mail-reader]  12.5-2
ii  libsasl2-modules              2.1.25.dfsg1-6+deb7u1
pn  postfix-cdb                   <none>
ii  postfix-doc                   2.9.6-2
pn  postfix-ldap                  <none>
pn  postfix-mysql                 <none>
pn  postfix-pcre                  <none>
pn  postfix-pgsql                 <none>
pn  procmail                      <none>
pn  resolvconf                    <none>
pn  sasl2-bin                     <none>
pn  ufw                           <none>

-- debconf information:
  postfix/mailname: xxxxxxxx.xxxxxx-chambon.fr
  postfix/tlsmgr_upgrade_warning:
  postfix/recipient_delim: +
  postfix/main_mailer_type: Internet Site
  postfix/retry_upgrade_warning:
  postfix/kernel_version_warning:
  postfix/relayhost:
  postfix/procmail: false
  postfix/bad_recipient_delimiter:
  postfix/chattr: false
  postfix/root_address:
  postfix/rfc1035_violation: false
  postfix/mydomain_warning:
  postfix/mynetworks: 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
  postfix/destinations: xxxxxxxx.xxxxxx-chambon.fr, 
localhost.xxxxxx-chambon.fr, , localhost
  postfix/not_configured:
  postfix/sqlite_warning:
  postfix/mailbox_limit: 0
  postfix/protocols: all


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to