How-to: Change the replied email for spam and attach?

Questions and answers about how to do stuff
Post Reply
Gate Array
Posts: 23
Joined: 30 Aug 2017 09:36

How-to: Change the replied email for spam and attach?

Post by Gate Array »

Ciao,

I'm going to get mad... I don't find the way to modify the text of the email sent to the sender after:

Notify Senders Of Blocked Filenames Or Filetypes
Notify Senders Of Blocked Size Attachments
Notify Senders Of Other Blocked Content


The sent email has:

Received: from mailmta.domain.local ([xx.62.xx.234])
by cmgw-3.mail.tiscali.it with
id FPWt1w00953HYPx01PWtNY; Fri, 29 Sep 2017 11:30:53 +0000

x-cnfs-analysis: v=2.2 cv=Gpkywg9C c=1 sm=2 tr=0
a=U/gmIit/kIp/vxzxy3RWLA==:117 a=U/gmIit/kIp/vxzxy3RWLA==:17
a=x7bEGLp0ZPQA:10 a=2JCJgTwv5E4A:10 a=LOL9gz5BAAAA:8 a=PlHTpuCTXjR7z3ryVDYA:9
a=EVp6bCTUx9OaEsGsQFyY:22

X-Spam-Status: No
X-domain-MailScanner-EFA-Watermark: 1507289438.92896@MpOiwXW3p4gibEqoknJong
X-domain-MailScanner-EFA-From:
X-domain-MailScanner-EFA: Found to be clean
X-domain-MailScanner-EFA-ID: E11D25600BC.AB30D
X-domain-MailScanner-EFA-Information: Please contact david@domain.com for more information

Received: by mailmta.domain.local (Postfix, from userid 89)
id E11D25600BC; Fri, 29 Sep 2017 13:30:38 +0200 (CEST)

From: "MailScanner" <postmaster@domain.local>
To: name@tiscali.it
Subject: Warning: E-mail viruses detected
X-domain-MailScanner: generated
Message-Id: <20170929113038.E11D25600BC@mailmta.domain.local>
Date: Fri, 29 Sep 2017 13:30:38 +0200 (CEST)

Our e-mail content detector has just been triggered by a message you sent:
To: adm-srv@domain.it
Subject: document B.EXE.P7M
Date: Fri Sep 29 13:30:38 2017

One or more of the attachments (document B.EXE.P7M) are on
the list of unacceptable attachments for this site and will not have
been delivered.

Consider renaming the files to avoid this constraint.

The virus detector said this about the message:
Report: Report: MailScanner: Attempt to hide real filename extension (document B.EXE.P7M)


--
domain
http://www.efa-project.org





What I need is the way to change the text AND change the FQDN

Received: from mailmta.domain.local ([93.62.73.234])


.
Any simple way?
Post Reply