How to limit the size of bounced messages

Hi,
how can i limit the size of bounced messages?
In most cases, we have users which accounts are over quota, the mail bounces and is returned.
How can i limit the size of the returned message to a maximum size of 1MB?
We're using
iPlanet Messaging Server 5.2 HotFix 2.02 (built Oct 21 2004)
libimta.so 5.2 HotFix 2.02 (built 13:42:55, Oct 21 2004)
thx,
ghfg

Ah. found it. It is indeed in 5.2
http://docs.sun.com/source/816-6009-10/mta.htm#24585
look down the page, and find:
CONTENT_RETURN_BLOCK_LIMIT
this when put in the option.dat file will limit your response to the
CONTENT_RETURN_BLOCK_LIMIT=
number of 1k blocks.

Similar Messages

  • How to know the size of a message I wrote

    When I created a photojournal, with comments before each photo, I got a message "The size of the message you are trying to send exceeds the global size limit of the server."
    So it was not sent and I was told to reduce it and try again. I did that with the photos, deleted a few, as well, but still got the error message, and have not discovered how to find the size of the message.

    save it to drafts.
    in the drafts folder, click on the little table widget right on the right side of the column headings... select size
    Remember size increases about 30% for attachments.

  • How to limit the size of the connection method parameter

    I connected an FMS server like var nc = new NetConnection ();
                                                      nc.connect ("rtmfp :/ / localhost: 61018/zy/1", a);
    But how to restrict the size of the parameter a, assuming that this a set to a 10GB object, or a very large byte, I found that the server received. This allows the hacker attacks, Is there any way to limit the size of this a, I hope that does not exceed 100KB.

    RTMFP encodes low-level messages in a manner compatible with RTMP messages. RTMP messages are length-field limited to 16MB (24 bits), and there is an artificial software limit somewhat less than that (approximately 10MB if i recall correctly).
    it should not be possible to send a connect message to an RTMFP or RTMP server exceeding about 10MB.
    ByteArray is limited to 4GB, and can't be serialized to AMF beyond 512MB (29 bits).
    also keep in mind that for an RTMFP or RTMP server to receive such a large message, that many bytes must be sent to it from somewhere (you).

  • How to limit mail size of outgoing messages

    I would like to limit the sizr out outgoing messages in SUN JES. Is there any attribute I can modify so that each user have same limit size other than change it individually for each user?

    You can handle the limit of any mail at MTA-level with the blocklimit, noblocklimit, sourceblocklimit directives in the channel definitions (in imta.cnf)
    Give a look at the MTA configuration details at
    http://docs.sun.com/source/819-0106/mta_config.html
    I think that you may want to try something like sourceblocklimit directive.
    Marco

  • How to limit mail size of outgoing messages per domain/user

    Hello,
    i want to limit the size of a mail a user can send. For inbound mail there are attributes in the directory service: mailDomainMsgMaxBlocks and mailMsgMaxBlocks.
    But these limitations only enforce the size of incoming mail.
    I've read the messaging server admin guide but all i could find out is that i could limit the size of outgoing mail via a channel.
    For me this solution ist not granular enough. I want to set the outgoing mail size limit per user. Furthermore i don't know the impact of configuring 200+ channels for enforcing individual outgoing mail size limits per hosted domain.
    Does anybody know a solution for this problem? Maybe i've read over something. Or can anybody tell me the performance impact of 200+ channels at least?
    Thank you very much,
    af_inet
    JES 2005Q1, Solaris10, V440

    Hi jay_plesset,
    thanks a lot for your clarifications.
    Why would you need 200 channels? That sounds like a
    very strange setup. Setting outbound max size per
    user sounds like a very unusual demand, too.Let me explain: I got several departments who control their email settings in the messaging server via a webapp. So they can add, delete and modify users. They can manage mailing lists and so on. It's really a cool tool :-) I want this thing to be as granular as an own mailserver for the department would be. So it would be cool when the webapp writes an attribute like maxMsgBlocks in the DS and the thing is done.
    I don't understand why you guys could do the stuff for inbound but not for outbound. Is there a technical reason or is it just because it seems strange? :-)
    If you REALLY need something like that, 200 channels
    would need a POOL of at least 200 jobs in order to
    reliably run, and that's likely to need lots of
    system memory.I think that's not the way i want to go.
    Consider a custom channel, or something like that,
    that does an LDAP lookup for setting message size on
    sending. You'd need to enforce smtp authentication,
    so you know who your messages are coming from, first,
    and then you could proceed from there. This is not a
    trivial setup.Sounds interesting. Any documentation hints for custom channels?
    Thanks again for your reply,
    af_inet

  • How to limit the size of a log file.

    Hi,
    I am developing an application that creates a log file with all actions that take place. My problem is that this log file grows a lot because the application acts as a server that is up 24 hours a day. For that reason, I wanted to limit the size of the log file by deleting de older lines, how can implement is?
    Thanks.

    One way is to periodically (say every week) create a new file to store the actions and then, when the space taken up by all the files is too large, delete the oldest one.
    You can also have your application periodically (say the first time you write to the file on any calendar day) check the size of the file and, when it gets too big, copy all of the actions in the file after a given time (presumably there is an associated timestamp with each action) to a new file. Then delete the old file.

  • How to limit the size of large core file

    These days in my project I am facing big trouble of large core files .
    I want to limit the size of the core file .
    Please help for same .
    Regards ,
    Abhi

    Hi Abhishek,
    You can explain more.
    OS?
    DB?
    SAP Version?
    /usr/sap/SID/DVEBMGS00/work/
    SAP folder is full and creating issue.
    Regards,
    V Srinivasan

  • How to limit the size in a cell belonging to a JTable

    We are handeling a JTable control and we've just realized we aren't able to capture the focuslost event in this control. Hence, We want to know how we can advise the user when he has written more character than are allowed.

    here jr. Look at this...
    //Prior to J2SE 1.4, limiting the capacity of a text component involved overriding
    //the insertString() method of the component's model. Here's an example:
        JTextComponent textComp = new JTextField();
        textComp.setDocument(new FixedSizePlainDocument(10));
        class FixedSizePlainDocument extends PlainDocument {
            int maxSize;
            public FixedSizePlainDocument(int limit) {
                maxSize = limit;
            public void insertString(int offs, String str, AttributeSet a) throws BadLocationException {
                if ((getLength() + str.length()) <= maxSize) {
                    super.insertString(offs, str, a);
                } else {
                    throw new BadLocationException("Insertion exceeds max size of document", offs);
    //J2SE 1.4 allows the ability to filter all editing operations on a text component.
    //Here's an example that uses the new filtering capability to limit the capacity of the text component:
        JTextComponent textComponent = new JTextField();
        AbstractDocument doc = (AbstractDocument)textComponent.getDocument();
        doc.setDocumentFilter(new FixedSizeFilter(10));
        class FixedSizeFilter extends DocumentFilter {
            int maxSize;
            // limit is the maximum number of characters allowed.
            public FixedSizeFilter(int limit) {
                maxSize = limit;
            // This method is called when characters are inserted into the document
            public void insertString(DocumentFilter.FilterBypass fb, int offset, String str,
                    AttributeSet attr) throws BadLocationException {
                replace(fb, offset, 0, str, attr);
            // This method is called when characters in the document are replace with other characters
            public void replace(DocumentFilter.FilterBypass fb, int offset, int length,
                    String str, AttributeSet attrs) throws BadLocationException {
                int newLength = fb.getDocument().getLength()-length+str.length();
                if (newLength <= maxSize) {
                    fb.replace(offset, length, str, attrs);
                } else {
                    throw new BadLocationException("New characters exceeds max size of document", offset);
        }

  • How to limit the size of the main window width according to the line items?

    Hi,
           In my requirement,I created one page with main window....Suppose say main window can accomodate 40 line items.
          I am getting 5 pages data.And in my last page ( ie 5'th page ) I will have only 20 line items.But for the remaing 20 line items,
         it showing empty area .I created widow with borders and one vertical line between the columns.....I created two columns.
         Please I dont want any horizontal lines between the line items but I created one vertical line between the columns..
           Any right help would be appreciated.
    Thanks,
    Chinnu
    Moderator message - Welcome to SCN.
    But duplicate posting is not allowed. If you have information you want to add to your post, you can edit it or post a follow up - Thread locked
    Edited by: Rob Burbank on Feb 19, 2010 12:17 PM

    One way is to periodically (say every week) create a new file to store the actions and then, when the space taken up by all the files is too large, delete the oldest one.
    You can also have your application periodically (say the first time you write to the file on any calendar day) check the size of the file and, when it gets too big, copy all of the actions in the file after a given time (presumably there is an associated timestamp with each action) to a new file. Then delete the old file.

  • Page by page iterator, how to limit the size of returned results

    Hi all,
    I am designing a search result page using a page by page iterator pattern. Let's say my SQL query returns 100 results. I want to show the first 20 on the result page and provide links to the rest. I am thinking to write a SQL query that tells the total number of the results and only return the first 20 results with all the attributes I need so that I can limit the network usage. I also need to know where to proceed to the next 20 and so on. The query is a simple join of two tables. What would be the query look like?
    thanks,
    JS

    One way is to periodically (say every week) create a new file to store the actions and then, when the space taken up by all the files is too large, delete the oldest one.
    You can also have your application periodically (say the first time you write to the file on any calendar day) check the size of the file and, when it gets too big, copy all of the actions in the file after a given time (presumably there is an associated timestamp with each action) to a new file. Then delete the old file.

  • How to limit the size of the displayed drop down ?

    Hello,
    basically the subj.
    I'm generating the drop down item from SQL based LOV.
    one of the records is looooong.
    Is there a way to limit the length of the drop down so it doesn't occupy 1/2 of the page?
    // i tried substr in LOV - it didn't produce expected result.
    Thank you.
    Andrew

    Chris,
    it's interesting - I have a text area to the right of the "select list" item. When i use your code that area moves furher to the right.
    I observe - the actual size of drop down doesn't change. only the size of the td can be increased...
    I'm using FF
    Here is the html code . I chopped off the rest of the values in options:
    <td align="left" rowspan="1" colspan="1" style="display: block; width: 100px;">
    <input type="hidden" value="3657620048154732" name="p_arg_names"/>
    <select id="P1_SELECT_BA" onchange="get_APP(this,'P1_SELECT_APP'); get_SRV(this,'P1_SELECT_SERVER')" size="1" name="p_t01">
    <option value="NULL">- No BA Selected -</option>
    <option value="Accounting">Accounting</option>
    <option value="Audit">Audit</option>
    <option value="BSD">BSD</option>
    //chopped off here

  • How to limit the size of main window height according to the line items?

    Hi,
    In my requirement,I created one page with main window in smartforms....Suppose say main window can accomodate 40 line items.
    I am getting 5 pages data.And in my last page ( ie 5'th page ) I will have only 20 line items.But for the remaing 20 line items,
    it showing empty area .I dont want this empty area .I want that window size to be restricted dynamically to that 20 line items.I created widow with borders and one vertical line between the columns.....I created two columns.
    Please I dont want any horizontal lines between the line items but I created one vertical line between the columns..
    This is in Smartforms
    Any right help would be appreciated.
    Thanks,
    Chinnu

    Hi Abhijit,
                    This problem is solved but I have the below another new problem.Can you pls help me in this regard.
                My requirement is to calculate the subtotal of a particular page and to print that subtotal
                at the end of each page.And this subtotal has to be carry forwarded as the first item of the next page(say page2).
                And again  at the end of this page(page2) I have to print the subtotal and needs to carry forward this subtotal again on to
                the first item of the page3..
               My problem is I am doing it in a table.I am calculating the subtotal and displaying the subtotal at the footer of the table..
               In the footer again I am redefining table work area values with the text 'Subtotal' and subtotal Amount so that thinking
               that it would print as first line item on the next new page....
              But the problem is I am getting subtotal as 2'nd line item on each new page instead of first line item of each page.........
              Can anyone resolve this issue.........
              I dont want this subtotal to be printed on the last page since I am getting Total of all these subtotals.....
              Below is my required structure
    Page 1.
                    Desc                               Amount
                    x                                      100
                    y                                      200
                   Subtotal                            300
    Page2.(Required page2)
                 Desc                               Amount                                
                    a                                      100
                    b                                      200
                   Subtotal                            600
    Page2.(But getting as below,which I dont require )
                    Desc                               Amount
                     a                                     100
                   Subtotal                            300
                     b                                      200
                   Subtotal                            600
    Page3.(Required page3)( I dont require Subtotal here on the last page)
                 Desc                               Amount                                
                    a                                      100
                    b                                      200
                   Total                                 900
    Any suggestions pls
    This is in Smartform
    Thanks,
    Chinnu

  • How do I check/limit the size of a file

    I am logging data to a file periodically. Since the PC is at a remote site, and I download the data file via modem, I want to limit the size of the file by automatically starting a new file once the current file reaches a certain size (in kB) limit. This way I minimize download time as well as avoid downloading the same data over and over again if I keep the same filename.
    How can I do this? Thanks.

    There is a function on the File I/O>Advanced File Functions called File/Directory Info. The functions returns the file size in bytes.

  • TS3899 how do i control or limit the number of email messages in my inbox?

    how do i control or limit the number of email messages in my inbox? i used to be able to pick the number of emails on my phone 100, 500, 1000, or 1500 etc. now all my (new inbox) emails are  coming to me at once. how can i control it? i have went through my entire phone and i cant find way to filter??? HELP

    That function was removed in iOS 7.

  • The letter in composed message are to small - how to increase the size

    The letters in message composed are too small.
    How to increase the size of letters?

    if you hold control button on keyboard and scroll the mouse wheel, it zooms in and out on webpages.

Maybe you are looking for

  • Windows phone 8.1 install

    I migrated my store app from Silverlight to Windows phone 8.1. If the app is updated direct from the store without uninstalling the previous app, the app after installation launches direct to the page where it was when the installation took place and

  • Using an iPhone in India.

    Hi - I live in the US and have the Apple USB Power Adapter and a power outlet adapter from Radio Shack.  Will that work?  Do I need to worry about the 220-240v?  Do I really need to buy the $40 Apple World Travel Adapter Kit?  Thanks, RJ

  • Why can't i put books on my ipod touch 1g

    I've tried a few apps ibooks, stanza ex.... And still am not able to get pdf's onto my ipod. Any idea's?

  • HTML link to idisk/movie - movie doesnt open but downloads only

    i have set up a html button on my iweb site to link it directly to a movie i have uploaded to idisk/Movies. when i click the button it opens a blank page, asks for a password to access idisk.mac.com and then downloads the movie but doesnt open it - i

  • Phantom Phone Calls

    I have a BT Broadband package with free phone calls 24/7 via the hub. Went online to check when current contract expires, (my BT) noticed that I was to be charged for calls made via landline rather mystified as it is an answerphone pluged into landli