Operating System - HP-UX
1833701 Members
3358 Online
110062 Solutions
New Discussion

Re: sendmail problem, 552 message size of 5021875 bytes exceeds site limit of 4194304 bytes

 
bent_1
Occasional Contributor

sendmail problem, 552 message size of 5021875 bytes exceeds site limit of 4194304 bytes

hi..
i got a problem with sendmail..

i keep got this message when using sendmail with message n attachment greater then 4MB..

can anyone help..? the attachment already compressed but it still greater than 4MB..

>>> MAIL From: SIZE=5021875
552 message size of 5021875 bytes exceeds site limit of 4194304 bytes
Service unavailable
/dead.letter... Saved message in /dead.letter

sendmail version
# what /usr/sbin/sendmail | grep version
version.c 8.9.3.1 (Berkeley) 10/10/2003 (PHNE_29774)

i already used MaxMessageSize parameter at sendmail.cf

# minimum number of free blocks on filesystem
O MinFreeBlocks=100

# maximum message size
O MaxMessageSize=8388608

thanks
7 REPLIES 7
spex
Honored Contributor

Re: sendmail problem, 552 message size of 5021875 bytes exceeds site limit of 4194304 bytes

Did you try restarting the sendmail daemon after modifying sendmail.cf?

# /sbin/init.d/sendmail stop
# /sbin/init.d/sendmail start

PCS
Steven E. Protter
Exalted Contributor

Re: sendmail problem, 552 message size of 5021875 bytes exceeds site limit of 4194304 bytes

Shalom bent,

The message needs to be re-sent from its source after sendmail is restarted(see prior post).

You have found the right parametr, but there is no getting this big message out of dead letter.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
spex
Honored Contributor

Re: sendmail problem, 552 message size of 5021875 bytes exceeds site limit of 4194304 bytes

'mailq' will show messages stuck in your mail queue. By default, these messages will be in 'var/spool/mqueue/', and should be deleted to free up space.

PCS
bent_1
Occasional Contributor

Re: sendmail problem, 552 message size of 5021875 bytes exceeds site limit of 4194304 bytes

hi all...

i already restart the sendmail service with..

# /sbin/init.d/sendmail stop
# /sbin/init.d/sendmail start

and try to re-send the email..
but i still got the same problem..

# /email/bent>sendmail -v -t < email-ujb.txt
xxxxxx@xxx.xxxxxx.com... Connecting to xxxxxx.com via relay...
220 server.xxxxxx.net ESMTP Server (Microsoft Exchange Internet Mail Service 5.5.2653.13) ready
>>> EHLO xxx.xxxxxx.com
250-server.xxxxxx.net Hello [100.100.100.215]
250-XEXCH50
250-HELP
250-ETRN
250-DSN
250-SIZE 4194304
250-AUTH LOGIN
250 AUTH=LOGIN
>>> MAIL From: SIZE=4846476
552 message size of 4846476 bytes exceeds site limit of 4194304 bytes
Service unavailable
/dead.letter... Saved message in /dead.letter
Closing connection to xxxxxx.com
>>> QUIT
221 closing connection

# /email/bent>mailq
Mail queue is empty

i have attach my sendmail configuration that i got from 'mailq -v -d'

thanks for the response..
bent
Michael D. Zorn
Regular Advisor

Re: sendmail problem, 552 message size of 5021875 bytes exceeds site limit of 4194304 bytes

Wouldn't it be better to send the file with ftp?
spex
Honored Contributor

Re: sendmail problem, 552 message size of 5021875 bytes exceeds site limit of 4194304 bytes

bent,

Is this a limitation of your mail relay? What is the maximum message size set to in Exchange?

PCS
bent_1
Occasional Contributor

Re: sendmail problem, 552 message size of 5021875 bytes exceeds site limit of 4194304 bytes

at last problem is solve.
after i ask our net admin..
there is limitation with our exchange server to 4 MB Maximum Message Size.

after increase the limitation, email can send succesfully.

thanks to all.. :)