postfix 禁用 smtpd 错误通知

postfix 禁用 smtpd 错误通知

如何禁用 postfix smtpd 错误通知?以下是邮件标题:

From - Wed Oct 24 20:16:05 2012                                                                                
Return-Path: <[email protected]>
Received: from mnl-latvia.lv ([unix socket])
     by localhost (Cyrus v2.x.xxx-Debian-2.x.xx-xxxx) with LMTPA;
     Wed, 24 Oct 2012 18:45:44 +0300
X-Sieve: CMU Sieve 2.xxx
Received: by example.com (ESMTP daemon)
    id D9F5315F5A8; Wed, 24 Oct 2012 18:45:44 +0300 (EEST)
Date: Wed, 24 Oct 2012 18:45:44 +0300 (EEST)
From: [email protected] (Mail Delivery System)
To: [email protected] (Postmaster)
Subject: ESMTP daemon SMTP server: errors from 130-12.104-92.cust.bluewin.ch[92.104.12.130]
Message-Id: <[email protected]>

Transcript of session follows.

 Out: 220 mnl-latvia.lv ESMTP daemon ready
 In:  EHLO
 Out: 501 Syntax: EHLO hostname
 In:  HELO
 Out: 501 Syntax: HELO hostname
 In:  QUIT
 Out: 221 2.0.0 Bye

答案1

看起来我找到答案了这里:我protocolnotify_classes指令中删除

协议

Send the postmaster a transcript of the SMTP session in case of client or server protocol errors. The notification is sent to the address specified with the error_notice_recipient configuration parameter (default: postmaster).

相关内容