I've got a problem with laposte.net free french email provider : since several weeks now, their smtp servers don't accept empty MAIL FROM
anymore. Here is a sample telnet session :
$ telnet smtpz4.laposte.net 25
Trying 194.117.213.1...
Connected to smtpz4.laposte.net.
Escape character is '^]'.
220 lpn-prd-vrin016 ESMTP Postfix (Ubuntu)
HELO XX.XXXXX.XXX
250 lpn-prd-vrin016
MAIL FROM:<>
501 5.0.1 Emetteur invalide. Invalid Sender. LPN007_403
421 4.7.0 lpn-prd-vrin016 Error: too many errors
Connection closed by foreign host.
I know that it is mandatory to accept these emails, and I've contacted them several times, without any luck.
The problem for me is for mailman mailing lists : as the messages are sent with an empty MAIL FROM
, they are all rejected for laposte.net
adresses (other domains work fine).
Do you know a workaround, either as a Mailman configuration option or maybe with a Postfix specific rewrite rule, to change the empty MAIL FROM
for mails sent to this domain ?
EDIT : Here is the complete headers of a mail sent by Mailman (version 2.1.15 on my system) :
From - Wed Oct 15 17:08:30 2014
X-Mozilla-Status: 0001
X-Mozilla-Status2: 00000000
X-Mozilla-Keys:
Return-Path: <MAILER-DAEMON>
Delivered-To: [email protected]
Received: from localhost (localhost.localdomain [127.0.0.1])
by ww.xxxxx.org (Postfix) with SMTP id 85104248A2
for <[email protected]>; Sun, 12 Oct 2014 12:02:34 +0200 (CEST)
Received: from ns279475.ip-91-121-90.eu (localhost.localdomain [127.0.0.1])
by ww.xxxxx.org (Postfix) with ESMTP id D5E342082D;
Sun, 12 Oct 2014 12:02:33 +0200 (CEST)
X-Original-To: [email protected]
Delivered-To: [email protected]
Received: from [IPv6:2a01:e34:ec12:8fe0:cd70:60bd:95b3:1f48] (unknown
[IPv6:2a01:e34:ec12:8fe0:cd70:60bd:95b3:1f48])
(Authenticated sender: xxxxxx)
by ww.xxxxx.org (Postfix) with ESMTPSA id 024CC2082D
for <[email protected]>; Sun, 12 Oct 2014 12:02:04 +0200 (CEST)
Message-ID: <[email protected]>
Date: Sun, 12 Oct 2014 12:02:03 +0200
From: =?UTF-8?B?V2VibWFzdGVyIMOJY29sZSBkZSBsYSBSaXpl?=
<[email protected]>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.1.2
MIME-Version: 1.0
To: [email protected]
Content-Type: multipart/mixed; boundary="------------080100040705040508010509"
X-Mailman-Approved-At: Sun, 12 Oct 2014 12:02:32 +0200
Subject: [xxxx xxxxx] xxxxxxxxxxx
X-BeenThere: [email protected]
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <rize.infos.xxxxx.org>
List-Unsubscribe: <http://xxxxx.org/cgi-bin/mailman/options/rize.infos>;,
<mailto:[email protected]?subject=unsubscribe>
List-Post: <mailto:[email protected]>
List-Help: <mailto:[email protected]?subject=help>
List-Subscribe: <http://xxxxx.org/cgi-bin/mailman/listinfo/rize.infos>;,
<mailto:[email protected]?subject=subscribe>
Errors-To: [email protected]
mail.log
file mailman seems to send mails withMAIL FROM:<>
, like this :postfix/qmgr[6225]: BAFA124577: from=<>, size=15428, nrcpt=1 (queue active)