Custormizing Over Quota Delivery failed Message
807574Nov 23 2004 — edited Feb 20 2020I am running messaging server 5.2 with directory server 5.1 on Solaris 9.
I have enabled iMS quota enforcement so all mail originators get "Delivery has failed" notifications when their recipients are in over quota state.
My problem comes with this "Delivery failed" Message. Eventhough it gives vital info, most of my mail clients are not happy with the format of the mail since it has mail header info which is not relevent to them. (Pls see below sample)
********************************************************
----- Original Message -----
From: "Internet Mail Delivery" <postmaster@vmail.examplenet.lk>
To: <user1@vmailtest.example.lk>
Sent: Saturday, November 13, 2004 9:30 PM
Subject: Delivery Notification: Delivery has failed
This report relates to a message you sent with the following header fields:
Return-path: <user1@vmailtest.example.lk>
Return-path: <user1@vmailtest.example.lk>
Received: from ims-ms-daemon.vmail.examplenet.lk by vmail.examplenet.lk (iPlanet Messaging Server 5.2 Patch 1 (built Aug 19 2004))
id <0I7400901J3G28@vmail.examplenet.lk>
(original mail from user1@vmailtest.example.lk); Sat,
13 Nov 2004 21:30:54 +0600 (GMT)
Received: from examplenet13.lk (localhost [127.0.0.1])
by vmail.examplenet.lk (iPlanet Messaging Server 5.2 Patch 1
(built Aug 19 2004))
with ESMTP id <0I7200815E0C7T@vmail.examplenet.lk> for
user2%vmailtest.example.lk@ims-ms-daemon (ORCPT
user2@vmailtest.example.lk); Fri,
12 Nov 2004 17:45:52 +0600 (GMT)
Received: from [203.94.65.69] by vmail.examplenet.lk (mshttpd); Fri,
12 Nov 2004 17:45:48 +0600
Date: Fri, 12 Nov 2004 17:45:48 +0600
From: user1@vmailtest.example.lk
Subject: Att-3
To: user2@vmailtest.example.lk
Message-id: <7dd9775d.775d7dd9@examplenet13.lk>
MIME-version: 1.0
X-Mailer: iPlanet Messenger Express 5.2 Patch 1 (built Aug 19 2004)
Content-type: multipart/mixed; boundary=--2ae4ac13a1a45ec
Content-language: en
X-Accept-Language: en
Priority: normal
Your message cannot be delivered to the following recipients:
Recipient address: user2%vmailtest.example.lk@ims-ms-daemon
Original address: user2@vmailtest.example.lk
Reason: Over quota
****************************************************
How can I hide this header lines and only give a small text wordings saying "this is not delevered due to your recipient "username@domainname" is in over quota........" (or only last 4-5 lines of the message)?
Can I do something with iMS config files to customize this "delivery failed" message?