Skip to Main Content

Application Development Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Custormizing Over Quota Delivery failed Message

807574Nov 23 2004 — edited Feb 20 2020
I 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?

Comments

amishra

Make sure that your align/ align id values for popup behavior have right values, if they are set. Also, are you using dialog or panel window inside your popup, as these components by default cause popup to ope in the middle of the browser window?

Jack Issac

Unfortunately, it didn't work. I tried all align values and no align values. Also default, popup can't show in front of region, same problem. is it can be about region?

amishra

It should not be the region issue. Could you share your jspx code, could be something with your page structure ?

Jack Issac

This is my jspx page code,

<?xml version='1.0' encoding='UTF-8'?>

<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"

          xmlns:f="http://java.sun.com/jsf/core"

          xmlns:h="http://java.sun.com/jsf/html"

          xmlns:af="http://xmlns.oracle.com/adf/faces/rich">

  <jsp:directive.page contentType="text/html;charset=UTF-8"/>

  <f:view>

    <af:document id="d1">

      <af:messages id="m1"/>

      <af:pageTemplate viewId="/indexTemp.jspx" id="pt1">

        <f:facet name="bottom">

          <af:group id="g1">

            <af:form id="f2">

              <af:panelGroupLayout id="pgl1" layout="scroll">

                <af:region value="#{bindings.personelTaskFlow1.regionModel}"

                           id="r1"/>

                <div class="bottomInfoDiv">

                  <img src="image/index/companyLogo.png" alt="CompanyLogo"/>

                  <p style="float:left;margin-right:10px;font-weight:bold;margin-top:20px;font-size:14px;">

                    - Company

                  </p>

                  <p style="float:right;margin-right:10px;font-weight:bold;margin-top:15px;font-size:14px;">

                    All Rights Reserved 2014

                  </p>

                </div>

              </af:panelGroupLayout>

            </af:form>

          </af:group>

        </f:facet>

      </af:pageTemplate>

    </af:document>

  </f:view>

</jsp:root>

amishra

Hi Jack,

I do not see any popup and the button that opens up popup in this page. Is it on another page ?

report error:
Oops, something went wrong!  We've notified our team to take a look. Please try again later. (Reference 300000.25.195.61859).
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Dec 21 2004
Added on Nov 23 2004
1 comment
166 views