Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

RE:size for attached file in sun one messaging

Status
Not open for further replies.

TryAnythingOnce

Technical User
Feb 2, 2002
7
0
0
This is in response to thread thread11-1065487.

Amalou,
I'm not complete sure what you are asking but if you want to limit the size a user (or the smtp service will accept) Look in the Admin's Guide, under Configuring SMTP services. Here is what I think you are looking for:

Limiting Message Size (SIZE)
If both client and server support the SIZE command, clients can declare the size of a particular message to the server, and the server can accept or reject the message based on its size. Any attempts to send a message larger than the specified size will automatically fail and the server will return an error message indicating that the message size exceeds the maximum allowed. The SIZE command is defined in RFC 1870.

The server can also reject a message temporarily if it is running low on disk space. For more information, see Reserving Free Disk Space for the Message Queue.

1. From Netscape Console, open the Messaging Server you want to configure.

2. Click the Configuration tab and open the Services folder in the left pane.

3. Select SMTP.

4. Click the Accept tab in the right pane.

To limit the size of messages your server accepts:

5. Check the "Allow SMTP command SIZE" box to enable the SMTP SIZE command.

6. Indicate the maximum size message the server will accept by typing a number in the field beside the checkbox; from the associated drop-down list, select MBytes or KBytes.

7. Click Save.


Command Line
You can also set these values at the command line as follows:

configutil -o service.smtp.smtp-accept.allowsize -v [ yes | no ]
configutil -o service.smtp.smtp-accept.maxmessagesize -v value
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top