From: Ion-Mihai Tetcu on

I've run into a little problem, easily solved, but I'd like to know
where the problem actually is.

I have a mail that is rejected by the destination server (an exim) with:
1964422C509A 4257 Thu Jan 28 13:51:40 segreteria(a)
(host[] said: 550 No verifiable sender address in message headers (in reply to end of DATA command))

The problem is the From: header, which you can see bellow, and the
destination server chokes on the unquoted ``:'' (while a few hundreds
other servers don't).

named_attribute: dsn_orig_rcpt=rfc822;Ana.Mirita(a)
original_recipient: Ana.Mirita(a)
recipient: Ana.Mirita(a)
*** MESSAGE CONTENTS deferred/1/1964422C509A ***
Received: from secre (unknown [])
(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
(No client certificate requested)
by (Postfix) with ESMTPSA id 1964422C509A
for <Ana.Mirita(a)>; Thu, 28 Jan 2010 13:51:40 +0200 (EET)
Date: Thu, 28 Jan 2010 13:58:54 +0200
From: CCIpR: Segreteria <segreteria(a)>
To: Ana Maria MIRITA <Ana.Mirita(a)>
Subject: Re: test
Message-Id: <20100128135854.34770ac1.segreteria(a)>
In-Reply-To: <4B615ADE.8060500(a)>
References: <4B615ADE.8060500(a)>
Organization: CCIpR
X-Mailer: Sylpheed 2.6.0 (GTK+ 2.10.14; i686-pc-mingw32)
Mime-Version: 1.0
Content-Type: text/ plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

- should ``:'' be quoted ?
- should the MUA be blamed for the lack of quoting?
- if the From: header, without quotes, is invalid, is there a way to
make postfix reject the mail at submission time?

It's a bit unclear for me from reading the RFCs.


IOnut - Un^d^dregistered ;) FreeBSD "user"
"Intellectual Property" is nowhere near as valuable as "Intellect"
FreeBSD committer -> itetcu(a), PGP Key ID 057E9F8B493A297B
From: Wietse Venema on
Ion-Mihai Tetcu:
> From: CCIpR: Segreteria <segreteria(a)>

That is incorrect syntax. The form

label: address, address...;

is a named group in RFC5322 syntax.

To fix: quote the "CCIpR: Segreteria" portion (or add a ";" at
the end, but this could confuse some poorly-written software).