1748181 Members
3762 Online
108759 Solutions
New Discussion юеВ

Re: Regarding sendmail

 
sarram
Occasional Advisor

Regarding sendmail

Hi all,

I want to send a big log file along with mail.
When i am trying to send 11.8MB logfile using
/bin/mail, mail is not sent, but i am seeing the below error in /var/mail/root

">>> MAIL From: SIZE=12374933
<<< 552 5.2.3 Message size exceeds fixed maximum message size (10240000)
554 Service unavailable"

I am using HP-UX B.11.11 9000/800 platform.
sendmail version on the system is
" version.c 8.9.3.1 (Berkeley) 10/10/2003 (PHNE_29774)"

Now my requirement is, i have send the big log file. How to increase message size.

Do i need to apply any specific patch?
or
Do i need to upgrade sendmail version? If so to which version, please let me know.

This is an urgent requirement.

Immediate response is appreciated.

Advance Thanks



6 REPLIES 6
Fabio Ettore
Honored Contributor

Re: Regarding sendmail

Hi,

I don't think it's a problem of patch here.
You have to consider that big attachments in mail could be the reason of slow network performance, so consider that not a problem. Rather you can tar and gzip the log file, it might get a more little size. But it is just a thought because all depends on the size of the attachment.

HTH.

Best regards,
Fabio
WISH? IMPROVEMENT!
Peter Godron
Honored Contributor

Re: Regarding sendmail

Hi,
this could be not a problem with the sending, but the receiving platform!
I would suggest using split or gzip to reduce the message size!
Mustafa Gulercan
Respected Contributor

Re: Regarding sendmail

hi;

there is an option in /etc/mail/sendmail.cf to increase mail size,

# Maximum message size (option MaxMessageSize): #
# #
# This option restricts the maximum message (in bytes) that sendmail will #
# accept from a remote system. If a message larger that this limit is #
# originated form the local system, the message will be truncated to the #
# limit. #
# #
# To enable this feature uncomment the line: #
# #
# O MaxMessageSize=100000 #
# #
sarram
Occasional Advisor

Re: Regarding sendmail

This is not problem with receiving side, because same logfile, i could send from solaris machine.

Even i changed in the sendmail.cf.
But still it is treating max message size as
10240000 only.

I cannot tar or zip because same thing is working on other platforms like solaris,linux etc.

Waiting for the response which will solve my issue

Thanks
Fabio Ettore
Honored Contributor

Re: Regarding sendmail

Some replies do me disbelieving....
I don't see any problems/issue. And I thank to HP-UX developers that did HP-UX behaviour on sending mail different than Solaris and Linux (if any differencies exist on this argument like you wrote). An attachment of 11.8MB?! Do you imagine the network traffic if all people could send those attachments around the network??Again, compress it and re-try to send mail...

Good luck...

Best regards,
Fabio
WISH? IMPROVEMENT!
Michael Steele_2
Honored Contributor

Re: Regarding sendmail

Refer to confMAX_MESSAGE_SIZE in the following WORD attach. which describes all the 'tweaking' allowed in the sendmail configuration , /etc/mail/sendmail.cf.

killsm (stop)
update /etc/mail/sendmail.cf
sendmail -bd -q30m (startup)
Support Fatherhood - Stop Family Law