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 Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

552 Requested mail action aborted: exceeded storage allocation

Status
Not open for further replies.

BIS

Technical User
Jun 1, 2001
1,893
NL
Hallo,

I posted thi sin the sendmail forum as well, so apologies for the double post.

I receive the above error from a RH7.3 box with sendmail as MTA. It seems as if the size limit is set to something around 4MB, which I woul dlike to increase. Are there anybody here who know how, and where this setting is kept?
 

Are you looking for this:

#O MaxMessageSize=1000000

It's normally set to 1000000 (1mb). Please remember that SMTP is not meant for file transfers.

Cheers Henrik Morsing
Certified AIX 4.3 Systems Administration
& p690 Technical Support
 
Morsing,

Funny how it is always you that answer - much appreciated.

In my sendmail.mc I have the following line:

define (`UUCP_MAILER_MAX', `2000000')dnl

is that the same?

If so, thank you very much !
 
This is not the same - and what is confusing is that the message states Exceeded storage allocation which is probably coming from the mail server NOT the MTA (sendmail).

Do you have limits on the mailbox sizes set on your mailserver?? Also, Morsing is quite correct - you will need to set the #O MaxMessageSize=1000000 field in sendmail.cf to transfer the mail.

sendmail.mc is used to configure sendmail but must be 'rebuilt' using m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf


Morsing deserves a big thanks for all the help he gives users in this forum!! Clever guy...

ChrisCW


 
Hmm,
There is no #O MaxMessageSize=1000000 in my sendmail.mc...

The above line is all I have that refers to any max message size that I can see.

How would I check if I have limits on the mailbox sizes? Are you referring to quota? This one is a RedHat7.3 box, how can I check (and change). Sorry that I keep asking what might be considered silly questions.
 

Thanks guys... :)

But it's not really funny. It's because I have a boring job and nothing better to do, so I'm reading your questions all day long.

Thanks again
Cheers Henrik Morsing
Certified AIX 4.3 Systems Administration
& p690 Technical Support
 
We all start somewhere!!

#O MaxMessageSize=1000000 is in the sendmail.cf file which is build from sendmail.mc (m4 macro language file). You can simply edit the sendmail.cf file and then restart sendmail (type service sendmail restart). Really you should forget about sendmail.mc now because it is too complicated...

Checking allocation on mailbox sizes will depend on your mail server. Sendmail is an MTA which transports mail to a mail server such as exchange or a Linux/unix system; is it being delivered to the server that sendmail is on (ie. delivered locally) on your redhat box with a default installation??

ChrisCW
 
Well yes...

This thing only does mail, no other boxes involved. Our users just connect to it (pop3) and get their mail.

I see the light though, was confusing mc and cf files. Thanks for pointing this out, its turning out to be a good day as I am learning something :)

In the cf file I do indeed have the
O MaxMessageSize=1000000 line.

...which would indicate that the max is 1 MB. I just send a mail that was 1.6MB and that one got through fine - so I am beginning to think that this has absolutely nothing to do with sendmail.

How would I check mailbox settings. Basically all users just get their mail from /home/username .
 

That's odd. Usually Sendmail is pretty strict about that limit. Are you sure it's not reading another sendmail.cf file??

Cheers Henrik Morsing
Certified AIX 4.3 Systems Administration
& p690 Technical Support
 
Sorry for sounding dumb - but how do I check?
 
The mailbox size would be controlled by quotas - try typing quota username to see if a quota is set up.

Also, in your sendmail.cf file, see if the MaxMessageSize line starts with a # which means it will have no effect...

ChrisCW
 
Disk quotas for user xxxx (uid 503) : none

It does not seem that quotas are in use. Can I see if quotas are in use by any other means? I guess I could just remove the rpm?

It does indeed start with a # so it has no effect. I wonder what is stopping it then... Would a
O MaxMessageSize=1000000 line overwite any other settings.
 
Try the following;

Remove the # and set the limit to 1000000 (remember this is the limit on the mail size NOT the attachment size.

Check the /etc/rc.d/init.d/sendmail script to see how sendmail is started (check it is not started with the -C option to specify an alternative sendmail.cf file).

Restart sendmail (service sendmail restart).

In your console window type tail -f /var/log/maillog and monitor.

Send a mail larger than 1000000bytes (maybe 2-3MB) and ensure it goes via that system (by watching the output of the tail command). It will definately be blocked if all of the above is followed - sendmail will not pass the mail.

Regards,

ChrisCW
 
Guys stop thinking!

Turns out (yet again) to be a firewall issue.

Sorry for wasting your time, and many many thanks for your help.
 

Just to add: The default size is 1000000, so if it's #'ed out, it would be 1Mb.

Chris, in my experience it block the message including the attachement. I still find it odd??

Cheers Henrik Morsing
Certified AIX 4.3 Systems Administration
& p690 Technical Support
 
Sorry - probably did not make clear. I meant the 1000000 size limit would be the sum of the headers, body, attachments etc. so on, not just the attachments.

But if the limit line was #'d out then you are quite correct it should have got blocked (thats why I thought he should check the output of tail -f)!!

ChrisCW
 
Ok, keep this thread alive a little longer, it will also give Morsing something to do....

I just read the whole thing again, and just to clarify: In the sendmail.cf file this is what I have:
#O MaxMessageSize=1000000
and not
O MaxMessageSize=1000000 as stated above. Sorry for this confusion.

This would mean that that line has no effect right? Thus there was no limit per se for sendmail, rather the firewall (Watchguard Firebox) was not allowing anything bigger than 3MB through on port 25. Boy I feel silly now. My apologies for wasting your valuable time.
 
No effect whatsoever with a #!!!!

Also, I used to use Watchguard fireboxes and came across EXACTLY the same problem - dont lose any sleep!!

Regs,

ChrisCW
 

Thanks BIS, was just about to panic thinking I was running out of problems ;-)

The default limit is 1000000, so it will never allow very big files to be sent unless you specify otherwise.

Try Chris' suggestion looking at the maillog file.

Cheers Henrik Morsing
Certified AIX 4.3 Systems Administration
& p690 Technical Support
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top